;; From /gnome/head/cvs/gconf/gconf/gconf-client.h

(define-enum-extended ConfClientPreloadType
  (in-module "G")
  (c-name "GConfClientPreloadType")
  (values
    '("none" "GCONF_CLIENT_PRELOAD_NONE" "0")
    '("onelevel" "GCONF_CLIENT_PRELOAD_ONELEVEL" "1")
    '("recursive" "GCONF_CLIENT_PRELOAD_RECURSIVE" "2")
  )
)

(define-enum-extended ConfClientErrorHandlingMode
  (in-module "G")
  (c-name "GConfClientErrorHandlingMode")
  (values
    '("none" "GCONF_CLIENT_HANDLE_NONE" "0")
    '("unreturned" "GCONF_CLIENT_HANDLE_UNRETURNED" "1")
    '("all" "GCONF_CLIENT_HANDLE_ALL" "2")
  )
)

;; From /gnome/head/cvs/gconf/gconf/gconf-error.h

(define-enum-extended ConfError
  (in-module "G")
  (c-name "GConfError")
  (values
    '("success" "GCONF_ERROR_SUCCESS" "0")
    '("no-server" "GCONF_ERROR_NO_SERVER" "2")
    '("no-permission" "GCONF_ERROR_NO_PERMISSION" "3")
    '("bad-address" "GCONF_ERROR_BAD_ADDRESS" "4")
    '("parse-error" "GCONF_ERROR_PARSE_ERROR" "6")
    '("corrupt" "GCONF_ERROR_CORRUPT" "7")
    '("type-mismatch" "GCONF_ERROR_TYPE_MISMATCH" "8")
    '("is-dir" "GCONF_ERROR_IS_DIR" "9")
    '("is-key" "GCONF_ERROR_IS_KEY" "10")
    '("overridden" "GCONF_ERROR_OVERRIDDEN" "11")
    '("oaf-error" "GCONF_ERROR_OAF_ERROR" "12")
    '("local-engine" "GCONF_ERROR_LOCAL_ENGINE" "13")
    '("lock-failed" "GCONF_ERROR_LOCK_FAILED" "14")
    '("no-writable-database" "GCONF_ERROR_NO_WRITABLE_DATABASE" "15")
    '("in-shutdown" "GCONF_ERROR_IN_SHUTDOWN" "16")
  )
)

;; From /gnome/head/cvs/gconf/gconf/gconf-internals.h

(define-enum-extended ConfLogPriority
  (in-module "G")
  (c-name "GConfLogPriority")
  (values
    '("emerg" "GCL_EMERG" "0")
    '("alert" "GCL_ALERT" "1")
    '("crit" "GCL_CRIT" "2")
    '("err" "GCL_ERR" "3")
    '("warning" "GCL_WARNING" "4")
    '("notice" "GCL_NOTICE" "5")
    '("info" "GCL_INFO" "6")
    '("debug" "GCL_DEBUG" "7")
  )
)

;; From /gnome/head/cvs/gconf/gconf/gconf-sources.h

(define-enum-extended ConfUnsetFlags
  (in-module "G")
  (c-name "GConfUnsetFlags")
  (values
    '("s" "GCONF_UNSET_INCLUDING_SCHEMA_NAMES" "0")
  )
)

(define-flags-extended ConfSourceFlags
  (in-module "G")
  (c-name "GConfSourceFlags")
  (values
    '("all-writeable" "GCONF_SOURCE_ALL_WRITEABLE" "1 << 0")
    '("all-readable" "GCONF_SOURCE_ALL_READABLE" "1 << 1")
    '("never-writeable" "GCONF_SOURCE_NEVER_WRITEABLE" "1 << 2")
  )
)

;; From /gnome/head/cvs/gconf/gconf/gconf-value.h

(define-enum-extended ConfValueType
  (in-module "G")
  (c-name "GConfValueType")
  (values
    '("invalid" "GCONF_VALUE_INVALID" "0")
    '("string" "GCONF_VALUE_STRING" "1")
    '("int" "GCONF_VALUE_INT" "2")
    '("float" "GCONF_VALUE_FLOAT" "3")
    '("bool" "GCONF_VALUE_BOOL" "4")
    '("schema" "GCONF_VALUE_SCHEMA" "5")
    '("list" "GCONF_VALUE_LIST" "6")
    '("pair" "GCONF_VALUE_PAIR" "7")
  )
)

