mateconf-internals

mateconf-internals

Synopsis

gchar *             mateconf_key_directory              (const gchar *key);
const gchar *       mateconf_key_key                    (const gchar *key);
MateConfValue *     mateconf_value_from_corba_value     (const ConfigValue *value);
MateConfSchema *    mateconf_schema_from_corba_schema   (const ConfigSchema *cs);
const gchar *       mateconf_value_type_to_string       (MateConfValueType type);
MateConfValueType   mateconf_value_type_from_string     (const gchar *str);
GSList *            mateconf_load_source_path           (const gchar *filename,
                                                         GError **err);
void                mateconf_shutdown_daemon            (GError **err);
gboolean            mateconf_ping_daemon                (void);
gboolean            mateconf_spawn_daemon               (GError **err);
gulong              mateconf_string_to_gulong           (const gchar *str);
const gchar *       mateconf_current_locale             (void);
enum                MateConfLogPriority;
void                mateconf_log                        (MateConfLogPriority pri,
                                                         const gchar *format,
                                                         ...);
gboolean            mateconf_key_check                  (const gchar *key,
                                                         GError **err);
MateConfValue *     mateconf_value_new_list_from_string (MateConfValueType list_type,
                                                         const gchar *str,
                                                         GError **err);
MateConfValue *     mateconf_value_new_pair_from_string (MateConfValueType car_type,
                                                         MateConfValueType cdr_type,
                                                         const gchar *str,
                                                         GError **err);
gchar *             mateconf_quote_string               (const gchar *str);
gchar *             mateconf_unquote_string             (const gchar *str,
                                                         const gchar **end,
                                                         GError **err);
void                mateconf_unquote_string_inplace     (gchar *str,
                                                         gchar **end,
                                                         GError **err);
MateConfValue *     mateconf_value_decode               (const gchar *encoded);
gchar *             mateconf_value_encode               (MateConfValue *val);
MateConfValue *     mateconf_value_list_from_primitive_list
                                                        (MateConfValueType list_type,
                                                         GSList *list,
                                                         GError **err);
MateConfValue *     mateconf_value_pair_from_primitive_pair
                                                        (MateConfValueType car_type,
                                                         MateConfValueType cdr_type,
                                                         gconstpointer address_of_car,
                                                         gconstpointer address_of_cdr,
                                                         GError **err);
GSList *            mateconf_value_list_to_primitive_list_destructive
                                                        (MateConfValue *val,
                                                         MateConfValueType list_type,
                                                         GError **err);
gboolean            mateconf_value_pair_to_primitive_pair_destructive
                                                        (MateConfValue *val,
                                                         MateConfValueType car_type,
                                                         MateConfValueType cdr_type,
                                                         gpointer car_retloc,
                                                         gpointer cdr_retloc,
                                                         GError **err);
void                mateconf_set_daemon_mode            (gboolean setting);
gboolean            mateconf_handle_oaf_exception       (CORBA_Environment *ev,
                                                         GError **err);

Description

Details

mateconf_key_directory ()

gchar *             mateconf_key_directory              (const gchar *key);


mateconf_key_key ()

const gchar *       mateconf_key_key                    (const gchar *key);


mateconf_value_from_corba_value ()

MateConfValue *     mateconf_value_from_corba_value     (const ConfigValue *value);


mateconf_schema_from_corba_schema ()

MateConfSchema *    mateconf_schema_from_corba_schema   (const ConfigSchema *cs);


mateconf_value_type_to_string ()

const gchar *       mateconf_value_type_to_string       (MateConfValueType type);


mateconf_value_type_from_string ()

MateConfValueType   mateconf_value_type_from_string     (const gchar *str);


mateconf_load_source_path ()

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


mateconf_shutdown_daemon ()

void                mateconf_shutdown_daemon            (GError **err);


mateconf_ping_daemon ()

gboolean            mateconf_ping_daemon                (void);


mateconf_spawn_daemon ()

gboolean            mateconf_spawn_daemon               (GError **err);


mateconf_string_to_gulong ()

gulong              mateconf_string_to_gulong           (const gchar *str);


mateconf_current_locale ()

const gchar *       mateconf_current_locale             (void);


enum MateConfLogPriority

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


mateconf_log ()

void                mateconf_log                        (MateConfLogPriority pri,
                                                         const gchar *format,
                                                         ...);


mateconf_key_check ()

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


mateconf_value_new_list_from_string ()

MateConfValue *     mateconf_value_new_list_from_string (MateConfValueType list_type,
                                                         const gchar *str,
                                                         GError **err);

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


mateconf_value_new_pair_from_string ()

MateConfValue *     mateconf_value_new_pair_from_string (MateConfValueType car_type,
                                                         MateConfValueType cdr_type,
                                                         const gchar *str,
                                                         GError **err);

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


mateconf_quote_string ()

gchar *             mateconf_quote_string               (const gchar *str);


mateconf_unquote_string ()

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


mateconf_unquote_string_inplace ()

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


mateconf_value_decode ()

MateConfValue *     mateconf_value_decode               (const gchar *encoded);


mateconf_value_encode ()

gchar *             mateconf_value_encode               (MateConfValue *val);


mateconf_value_list_from_primitive_list ()

MateConfValue *     mateconf_value_list_from_primitive_list
                                                        (MateConfValueType list_type,
                                                         GSList *list,
                                                         GError **err);


mateconf_value_pair_from_primitive_pair ()

MateConfValue *     mateconf_value_pair_from_primitive_pair
                                                        (MateConfValueType car_type,
                                                         MateConfValueType cdr_type,
                                                         gconstpointer address_of_car,
                                                         gconstpointer address_of_cdr,
                                                         GError **err);


mateconf_value_list_to_primitive_list_destructive ()

GSList *            mateconf_value_list_to_primitive_list_destructive
                                                        (MateConfValue *val,
                                                         MateConfValueType list_type,
                                                         GError **err);


mateconf_value_pair_to_primitive_pair_destructive ()

gboolean            mateconf_value_pair_to_primitive_pair_destructive
                                                        (MateConfValue *val,
                                                         MateConfValueType car_type,
                                                         MateConfValueType cdr_type,
                                                         gpointer car_retloc,
                                                         gpointer cdr_retloc,
                                                         GError **err);


mateconf_set_daemon_mode ()

void                mateconf_set_daemon_mode            (gboolean setting);


mateconf_handle_oaf_exception ()

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