
Rewrite the suse system settings plugin. * system-settings/plugins/ifcfg-suse/plugin.c: Rewrite. * system-settings/plugins/ifcfg-suse/parser.c: Rewrite. * system-settings/plugins/ifcfg-suse/nm-suse-connection.[ch]: Implement. * system-settings/plugins/ifcfg-suse/Makefile.am: Add new files to build. * system-settings/src/dbus-settings.c: Fix connection reference counting. * system-settings/src/main.c (load_plugins): Improve error reporting. * system-settings/src/sha1.[ch] Add. * system-settings/src/Makefile.am: Add sha1[ch] to build. git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3644 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
38 lines
1.2 KiB
C
38 lines
1.2 KiB
C
/* NetworkManager system settings service
|
|
*
|
|
* Søren Sandmann <sandmann@daimi.au.dk>
|
|
*
|
|
* 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 2007 Red Hat, Inc.
|
|
*/
|
|
|
|
#ifndef _PARSER_H_
|
|
#define _PARSER_H_
|
|
|
|
#include <glib.h>
|
|
#include <NetworkManager.h>
|
|
#include <nm-connection.h>
|
|
|
|
#define IFCFG_TAG "ifcfg-"
|
|
#define BAK_TAG ".bak"
|
|
|
|
NMConnection *parse_ifcfg (const char *iface, NMDeviceType type);
|
|
gboolean parser_ignore_device (const char *iface);
|
|
|
|
guint32 parser_parse_routes (const char *filename);
|
|
|
|
#endif /* _PARSER_H_ */
|