mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-26 18:10:08 +01:00
Update Fedora system-settings plugin to support latest API and use GFileMonitor rather than home-rolled inotify code. * system-settings/plugins/ifcfg-fedora/Makefile.am system-settings/plugins/ifcfg-fedora/common.h system-settings/plugins/ifcfg-fedora/plugin.c - Update to latest system settings plugin API; use GIO instead of custom inotify code; use NMIfcfgConnection objects instead of ConnectionData structures tacked onto NMConnection objects * system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.h - Implement an NMExportedConnection subclass mapping ifcfg files to connections * system-settings/plugins/ifcfg-fedora/reader.c system-settings/plugins/ifcfg-fedora/reader.h - Move ifcfg parsing bits here from parser.c * system-settings/plugins/ifcfg-fedora/parser.c system-settings/plugins/ifcfg-fedora/parser.h - Remove; most code moved to reader.c git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3656 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
37 lines
1.1 KiB
C
37 lines
1.1 KiB
C
/* -*- Mode: C; tab-width: 4; indent-tabs-mode: t; c-basic-offset: 4 -*- */
|
|
/* NetworkManager system settings service
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License as published by
|
|
* the Free Software Foundation; either version 2 of the License, or
|
|
* (at your option) any later version.
|
|
*
|
|
* This program is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
* GNU General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU General Public License
|
|
* along with this program; if not, write to the Free Software
|
|
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|
*
|
|
* (C) Copyright 2008 Red Hat, Inc.
|
|
*/
|
|
|
|
#ifndef __COMMON_H__
|
|
#define __COMMON_H__
|
|
|
|
#define IFCFG_TAG "ifcfg-"
|
|
#define KEYS_TAG "keys-"
|
|
#define BAK_TAG ".bak"
|
|
#define TILDE_TAG "~"
|
|
#define ORIG_TAG ".orig"
|
|
#define REJ_TAG ".rej"
|
|
|
|
#include <glib.h>
|
|
|
|
GQuark ifcfg_plugin_error_quark (void);
|
|
|
|
|
|
#endif /* __COMMON_H__ */
|
|
|