## Gdict Utilities Gdict Utilities |

## Synopsis

    #define             GDICT_DEFAULT_DATABASE
    #define             GDICT_DEFAULT_STRATEGY
    #define             GDICT_DEFAULT_FONT_NAME
    enum                GdictContextProp;
    enum                GdictStatusCode;
    void                gdict_debug_init                    (gint *argc,
                                                             gchar ***argv);
    GOptionGroup *      gdict_get_option_group              (void);

## Description

## Details

### GDICT_DEFAULT_DATABASE

    #define GDICT_DEFAULT_DATABASE "*"

### GDICT_DEFAULT_STRATEGY

    #define GDICT_DEFAULT_STRATEGY "."

### GDICT_DEFAULT_FONT_NAME

    #define GDICT_DEFAULT_FONT_NAME "Sans 10"

### enum GdictContextProp

    typedef enum {
      GDICT_CONTEXT_PROP_FIRST      = 0x1000,
      GDICT_CONTEXT_PROP_LOCAL_ONLY = GDICT_CONTEXT_PROP_FIRST,
      GDICT_CONTEXT_PROP_LAST
    } GdictContextProp;

`GDICT_CONTEXT_PROP_FIRST` |
`GDICT_CONTEXT_PROP_LOCAL_ONLY` |
`GDICT_CONTEXT_PROP_LAST` |

### enum GdictStatusCode

    typedef enum {
      GDICT_STATUS_INVALID                   = 0,

      GDICT_STATUS_N_DATABASES_PRESENT       = 110,
      GDICT_STATUS_N_STRATEGIES_PRESENT      = 111,
      GDICT_STATUS_DATABASE_INFO             = 112,
      GDICT_STATUS_HELP_TEXT                 = 113,
      GDICT_STATUS_SERVER_INFO               = 114,
      GDICT_STATUS_CHALLENGE                 = 130,
      GDICT_STATUS_N_DEFINITIONS_RETRIEVED   = 150,
      GDICT_STATUS_WORD_DB_NAME              = 151,
      GDICT_STATUS_N_MATCHES_FOUND           = 152,
      GDICT_STATUS_CONNECT                   = 220,
      GDICT_STATUS_QUIT                      = 221,
      GDICT_STATUS_AUTH_OK                   = 230,
      GDICT_STATUS_OK                        = 250,
      GDICT_STATUS_SEND_RESPONSE             = 330,
      /* Connect response codes */
      GDICT_STATUS_SERVER_DOWN               = 420,
      GDICT_STATUS_SHUTDOWN                  = 421,
      /* Error codes */
      GDICT_STATUS_BAD_COMMAND               = 500,
      GDICT_STATUS_BAD_PARAMETERS            = 501,
      GDICT_STATUS_COMMAND_NOT_IMPLEMENTED   = 502,
      GDICT_STATUS_PARAMETER_NOT_IMPLEMENTED = 503,
      GDICT_STATUS_NO_ACCESS                 = 530,
      GDICT_STATUS_USE_SHOW_INFO             = 531,
      GDICT_STATUS_UNKNOWN_MECHANISM         = 532,
      GDICT_STATUS_BAD_DATABASE              = 550,
      GDICT_STATUS_BAD_STRATEGY              = 551,
      GDICT_STATUS_NO_MATCH                  = 552,
      GDICT_STATUS_NO_DATABASES_PRESENT      = 554,
      GDICT_STATUS_NO_STRATEGIES_PRESENT     = 555
    } GdictStatusCode;

`GDICT_STATUS_INVALID` |
`GDICT_STATUS_N_DATABASES_PRESENT` |
`GDICT_STATUS_N_STRATEGIES_PRESENT` |
`GDICT_STATUS_DATABASE_INFO` |
`GDICT_STATUS_HELP_TEXT` |
`GDICT_STATUS_SERVER_INFO` |
`GDICT_STATUS_CHALLENGE` |
`GDICT_STATUS_N_DEFINITIONS_RETRIEVED` |
`GDICT_STATUS_WORD_DB_NAME` |
`GDICT_STATUS_N_MATCHES_FOUND` |
`GDICT_STATUS_CONNECT` |
`GDICT_STATUS_QUIT` |
`GDICT_STATUS_AUTH_OK` |
`GDICT_STATUS_OK` |
`GDICT_STATUS_SEND_RESPONSE` |
`GDICT_STATUS_SERVER_DOWN` |
`GDICT_STATUS_SHUTDOWN` |
`GDICT_STATUS_BAD_COMMAND` |
`GDICT_STATUS_BAD_PARAMETERS` |
`GDICT_STATUS_COMMAND_NOT_IMPLEMENTED` |
`GDICT_STATUS_PARAMETER_NOT_IMPLEMENTED` |
`GDICT_STATUS_NO_ACCESS` |
`GDICT_STATUS_USE_SHOW_INFO` |
`GDICT_STATUS_UNKNOWN_MECHANISM` |
`GDICT_STATUS_BAD_DATABASE` |
`GDICT_STATUS_BAD_STRATEGY` |
`GDICT_STATUS_NO_MATCH` |
`GDICT_STATUS_NO_DATABASES_PRESENT` |
`GDICT_STATUS_NO_STRATEGIES_PRESENT` |

### gdict_debug_init ()

    void                gdict_debug_init                    (gint *argc,
                                                             gchar ***argv);

FIXME

`argc` : | FIXME
`argv` : | FIXME

Since 0.12

### gdict_get_option_group ()

    GOptionGroup *      gdict_get_option_group              (void);

FIXME

Returns : | FIXME

Since 0.12