summaryrefslogtreecommitdiff
path: root/libnm-util/nm-setting.h
diff options
context:
space:
mode:
authorDan Williams <dcbw@redhat.com>2007-10-02 01:50:59 +0000
committerDan Williams <dcbw@redhat.com>2007-10-02 01:50:59 +0000
commitb7e5539b8c11dfc05106a7e18b89a665bfae3442 (patch)
tree1af87625628fcc197579495af92527fe255af603 /libnm-util/nm-setting.h
parentee3f96cfd92536fcb704fd7fb96ff5338a49bf9a (diff)
downloadNetworkManager-b7e5539b8c11dfc05106a7e18b89a665bfae3442.tar.gz
2007-10-01 Dan Williams <dcbw@redhat.com>
* libnm-util/nm-setting.h - Add a 'timestamp' option to NMSettingConnection - Add a UINT64 type * libnm-util/nm-setting.c - (uint64_to_gvalue): new function - (nm_setting_populate_from_hash, nm_setting_hash, default_setting_clear_secrets): handle UINT64 type - con_table: add 'timestamp' member git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2923 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
Diffstat (limited to 'libnm-util/nm-setting.h')
-rw-r--r--libnm-util/nm-setting.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libnm-util/nm-setting.h b/libnm-util/nm-setting.h
index 8c4369c836..3964157ce1 100644
--- a/libnm-util/nm-setting.h
+++ b/libnm-util/nm-setting.h
@@ -37,6 +37,7 @@ typedef void (*NMSettingValueIterFn) (NMSetting *setting,
#define NM_S_TYPE_BYTE_ARRAY 4
#define NM_S_TYPE_STRING_ARRAY 5
#define NM_S_TYPE_GVALUE_HASH 6
+#define NM_S_TYPE_UINT64 7
typedef struct SettingMember {
const char *key;
@@ -80,6 +81,7 @@ typedef struct {
char *name;
char *type;
gboolean autoconnect;
+ guint64 timestamp;
} NMSettingConnection;
NMSetting *nm_setting_connection_new (void);