summaryrefslogtreecommitdiff
path: root/libnm-util/nm-utils-private.h
diff options
context:
space:
mode:
authorDan Williams <dcbw@redhat.com>2008-11-20 20:17:01 +0000
committerDan Williams <dcbw@redhat.com>2008-11-20 20:17:01 +0000
commit3bc8b0ca576c3dfe45a853be94862b3da65a74bb (patch)
treef67f9fddb5705e056696697b4310afa8cf6bcf8c /libnm-util/nm-utils-private.h
parent9e07f22295a95538125899b3aab21d934aceb87c (diff)
downloadNetworkManager-3bc8b0ca576c3dfe45a853be94862b3da65a74bb.tar.gz
2008-11-20 Dan Williams <dcbw@redhat.com>
* libnm-util/Makefile.am libnm-util/nm-utils-private.h - New header for internal utils private functions * libnm-util/libnm-util.ver libnm-util/nm-utils.c libnm-util/nm-utils.h - Document some functions - (nm_utils_string_in_list, nm_utils_string_list_contains, nm_utils_string_slist_validate): un-export, only used within libnm-util or of limited use in general, and very easy to re-implement by apps if needed * libnm-util/nm-setting-8021x.c libnm-util/nm-setting-wired.c libnm-util/nm-setting-wireless-security.c libnm-util/nm-setting-wireless.c - Update for private nm_utils_string_* functions git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@4319 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
Diffstat (limited to 'libnm-util/nm-utils-private.h')
-rw-r--r--libnm-util/nm-utils-private.h35
1 files changed, 35 insertions, 0 deletions
diff --git a/libnm-util/nm-utils-private.h b/libnm-util/nm-utils-private.h
new file mode 100644
index 0000000000..aa01d74fe3
--- /dev/null
+++ b/libnm-util/nm-utils-private.h
@@ -0,0 +1,35 @@
+/* -*- Mode: C; tab-width: 4; indent-tabs-mode: t; c-basic-offset: 4 -*- */
+/* NetworkManager -- Network link manager
+ *
+ * Ray Strode <rstrode@redhat.com>
+ * Dan Williams <dcbw@redhat.com>
+ * Tambet Ingo <tambet@gmail.com>
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2 of the License, or (at your option) any later version.
+ *
+ * This library 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
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the
+ * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
+ * Boston, MA 02110-1301 USA.
+ *
+ * (C) Copyright 2005 - 2008 Red Hat, Inc.
+ */
+
+#ifndef __NM_UTILS_PRIVATE_H__
+#define __NM_UTILS_PRIVATE_H__
+
+gboolean _nm_utils_string_in_list (const char *str,
+ const char **valid_strings);
+
+gboolean _nm_utils_string_slist_validate (GSList *list,
+ const char **valid_values);
+
+#endif