diff options
Diffstat (limited to 'src/stardict-private.h')
-rw-r--r-- | src/stardict-private.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/stardict-private.h b/src/stardict-private.h index dc7c3b1..4a97eea 100644 --- a/src/stardict-private.h +++ b/src/stardict-private.h @@ -62,4 +62,20 @@ struct stardict_synonym_entry guint32 original_word; //!< The original word's index }; +struct stardict_ifo_key +{ + const gchar *name; //!< Name of the key + enum { + IFO_STRING, //!< A @code gchar * @endcode value + IFO_NUMBER //!< A @code gulong @endcode value + } type; //!< Type of the value + size_t offset; //!< Offset within StardictInfo +}; + +/** Lists all the entries in StardictInfo. */ +extern const struct stardict_ifo_key _stardict_ifo_keys[]; + +/** Denotes the length of _stardict_ifo_keys. */ +extern gsize _stardict_ifo_keys_length; + #endif /* ! STARDICTPRIVATE_H */ |