## gconf-internals

gconf-internals

## Synopsis

    gchar *             gconf_key_directory                 (const gchar *key);
    const gchar *       gconf_key_key                       (const gchar *key);
    GConfValue *        gconf_value_from_corba_value        (const ConfigValue *value);
    GConfSchema *       gconf_schema_from_corba_schema      (const ConfigSchema *cs);
    const gchar *       gconf_value_type_to_string          (GConfValueType type);
    GConfValueType      gconf_value_type_from_string        (const gchar *str);
    GSList *            gconf_load_source_path              (const gchar *filename,
                                                             GError **err);
    void                gconf_shutdown_daemon               (GError **err);
    gboolean            gconf_ping_daemon                   (void);
    gboolean            gconf_spawn_daemon                  (GError **err);
    gulong              gconf_string_to_gulong              (const gchar *str);
    const gchar *       gconf_current_locale                (void);
    enum                GConfLogPriority;
    void                gconf_log                           (GConfLogPriority pri,
                                                             const gchar *format,
                                                             ...);
    gboolean            gconf_key_check                     (const gchar *key,
                                                             GError **err);
    GConfValue *        gconf_value_new_list_from_string    (GConfValueType list_type,
                                                             const gchar *str,
                                                             GError **err);
    GConfValue *        gconf_value_new_pair_from_string    (GConfValueType car_type,
                                                             GConfValueType cdr_type,
                                                             const gchar *str,
                                                             GError **err);
    gchar *             gconf_quote_string                  (const gchar *str);
    gchar *             gconf_unquote_string                (const gchar *str,
                                                             const gchar **end,
                                                             GError **err);
    void                gconf_unquote_string_inplace        (gchar *str,
                                                             gchar **end,
                                                             GError **err);
    GConfValue *        gconf_value_decode                  (const gchar *encoded);
    gchar *             gconf_value_encode                  (GConfValue *val);
    GConfValue *        gconf_value_list_from_primitive_list
                                                            (GConfValueType list_type,
                                                             GSList *list,
                                                             GError **err);
    GConfValue *        gconf_value_pair_from_primitive_pair
                                                            (GConfValueType car_type,
                                                             GConfValueType cdr_type,
                                                             gconstpointer address_of_car,
                                                             gconstpointer address_of_cdr,
                                                             GError **err);
    GSList *            gconf_value_list_to_primitive_list_destructive
                                                            (GConfValue *val,
                                                             GConfValueType list_type,
                                                             GError **err);
    gboolean            gconf_value_pair_to_primitive_pair_destructive
                                                            (GConfValue *val,
                                                             GConfValueType car_type,
                                                             GConfValueType cdr_type,
                                                             gpointer car_retloc,
                                                             gpointer cdr_retloc,
                                                             GError **err);
    void                gconf_set_daemon_mode               (gboolean setting);
    gboolean            gconf_handle_oaf_exception          (CORBA_Environment *ev,
                                                             GError **err);

## Description

## Details

### gconf_key_directory ()

    gchar *             gconf_key_directory                 (const gchar *key);

### gconf_key_key ()

    const gchar *       gconf_key_key                       (const gchar *key);

### gconf_value_from_corba_value ()

    GConfValue *        gconf_value_from_corba_value        (const ConfigValue *value);

### gconf_schema_from_corba_schema ()

    GConfSchema *       gconf_schema_from_corba_schema      (const ConfigSchema *cs);

### gconf_value_type_to_string ()

    const gchar *       gconf_value_type_to_string          (GConfValueType type);

### gconf_value_type_from_string ()

    GConfValueType      gconf_value_type_from_string        (const gchar *str);

### gconf_load_source_path ()

    GSList *            gconf_load_source_path              (const gchar *filename,
                                                             GError **err);

### gconf_shutdown_daemon ()

    void                gconf_shutdown_daemon               (GError **err);

### gconf_ping_daemon ()

    gboolean            gconf_ping_daemon                   (void);

### gconf_spawn_daemon ()

    gboolean            gconf_spawn_daemon                  (GError **err);

### gconf_string_to_gulong ()

    gulong              gconf_string_to_gulong              (const gchar *str);

### gconf_current_locale ()

    const gchar *       gconf_current_locale                (void);

### enum GConfLogPriority

    typedef enum {
      GCL_EMERG,
      GCL_ALERT,
      GCL_CRIT,
      GCL_ERR,
      GCL_WARNING,
      GCL_NOTICE,
      GCL_INFO,
      GCL_DEBUG
    } GConfLogPriority;

`GCL_EMERG` |
`GCL_ALERT` |
`GCL_CRIT` |
`GCL_ERR` |
`GCL_WARNING` |
`GCL_NOTICE` |
`GCL_INFO` |
`GCL_DEBUG` |

### gconf_log ()

    void                gconf_log                           (GConfLogPriority pri,
                                                             const gchar *format,
                                                             ...);

### gconf_key_check ()

    gboolean            gconf_key_check                     (const gchar *key,
                                                             GError **err);

### gconf_value_new_list_from_string ()

    GConfValue *        gconf_value_new_list_from_string    (GConfValueType list_type,
                                                             const gchar *str,
                                                             GError **err);

This function does not work. Don't use it.

### gconf_value_new_pair_from_string ()

    GConfValue *        gconf_value_new_pair_from_string    (GConfValueType car_type,
                                                             GConfValueType cdr_type,
                                                             const gchar *str,
                                                             GError **err);

This function does not work. Don't use it.

### gconf_quote_string ()

    gchar *             gconf_quote_string                  (const gchar *str);

### gconf_unquote_string ()

    gchar *             gconf_unquote_string                (const gchar *str,
                                                             const gchar **end,
                                                             GError **err);

### gconf_unquote_string_inplace ()

    void                gconf_unquote_string_inplace        (gchar *str,
                                                             gchar **end,
                                                             GError **err);

### gconf_value_decode ()

    GConfValue *        gconf_value_decode                  (const gchar *encoded);

### gconf_value_encode ()

    gchar *             gconf_value_encode                  (GConfValue *val);

### gconf_value_list_from_primitive_list ()

    GConfValue *        gconf_value_list_from_primitive_list
                                                            (GConfValueType list_type,
                                                             GSList *list,
                                                             GError **err);

### gconf_value_pair_from_primitive_pair ()

    GConfValue *        gconf_value_pair_from_primitive_pair
                                                            (GConfValueType car_type,
                                                             GConfValueType cdr_type,
                                                             gconstpointer address_of_car,
                                                             gconstpointer address_of_cdr,
                                                             GError **err);

### gconf_value_list_to_primitive_list_destructive ()

    GSList *            gconf_value_list_to_primitive_list_destructive
                                                            (GConfValue *val,
                                                             GConfValueType list_type,
                                                             GError **err);

### gconf_value_pair_to_primitive_pair_destructive ()

    gboolean            gconf_value_pair_to_primitive_pair_destructive
                                                            (GConfValue *val,
                                                             GConfValueType car_type,
                                                             GConfValueType cdr_type,
                                                             gpointer car_retloc,
                                                             gpointer cdr_retloc,
                                                             GError **err);

### gconf_set_daemon_mode ()

    void                gconf_set_daemon_mode               (gboolean setting);

### gconf_handle_oaf_exception ()

    gboolean            gconf_handle_oaf_exception          (CORBA_Environment *ev,
                                                             GError **err);