~dylanmccall/ubuntu/oneiric/network-manager-applet/lp852961-disable-autostart-for-gnome-shell

« back to all changes in this revision

Viewing changes to src/gconf-helpers/gconf-helpers.h

  • Committer: Bazaar Package Importer
  • Author(s): Mathieu Trudel-Lapierre
  • Date: 2011-05-30 13:25:18 UTC
  • mto: This revision was merged to the branch mainline in revision 68.
  • Revision ID: james.westby@ubuntu.com-20110530132518-ya5i5mcrl8szsmoj
Tags: upstream-0.8.9997+git.20110529t170033.9ec4c5d
ImportĀ upstreamĀ versionĀ 0.8.9997+git.20110529t170033.9ec4c5d

Show diffs side-by-side

added added

removed removed

Lines of Context:
27
27
#include <glib.h>
28
28
#include <nm-connection.h>
29
29
 
30
 
#include "nma-gconf-connection.h"
31
 
 
32
30
#define GCONF_PATH_CONNECTIONS "/system/networking/connections"
33
31
 
34
 
/* The stamp is a mechanism for determining which applet version last
35
 
 * updated GConf for various GConf update tasks in newer applet versions.
36
 
 */
37
 
#define APPLET_CURRENT_STAMP 1
38
 
#define APPLET_PREFS_STAMP "/apps/nm-applet/stamp"
39
 
 
40
 
#define IGNORE_CA_CERT_TAG "ignore-ca-cert"
41
 
#define IGNORE_PHASE2_CA_CERT_TAG "ignore-phase2-ca-cert"
42
 
 
43
32
#define KEYRING_UUID_TAG "connection-uuid"
44
33
#define KEYRING_SN_TAG "setting-name"
45
34
#define KEYRING_SK_TAG "setting-key"
253
242
                     const char *key,
254
243
                     const char *setting);
255
244
 
256
 
GSList *
257
 
nm_gconf_get_all_connections (GConfClient *client);
258
 
 
259
245
NMConnection *
260
246
nm_gconf_read_connection (GConfClient *client,
261
247
                          const char *dir);
273
259
                           const char *setting_key,
274
260
                           const char *secret);
275
261
 
276
 
typedef void (*PreKeyringCallback) (gpointer user_data);
277
 
void nm_gconf_set_pre_keyring_callback (PreKeyringCallback func, gpointer user_data);
278
 
void pre_keyring_callback (void);
279
 
 
280
 
gboolean nm_gconf_get_ignore_ca_cert (const char *uuid, gboolean phase2);
281
 
void nm_gconf_set_ignore_ca_cert (const char *uuid, gboolean phase2, gboolean ignore);
282
 
 
283
 
gboolean nm_gconf_get_8021x_password_always_ask (const char *uuid);
284
 
void nm_gconf_set_8021x_password_always_ask (const char *uuid, gboolean always_ask);
 
262
typedef void (*AddToSettingsFunc) (NMConnection *connection, gpointer user_data);
 
263
 
 
264
void nm_gconf_move_connections_to_system (AddToSettingsFunc add_func,
 
265
                                          gpointer user_data);
285
266
 
286
267
#endif  /* GCONF_HELPERS_H */
287
268