diff options
Diffstat (limited to 'src/format/strsym.h')
-rw-r--r-- | src/format/strsym.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/format/strsym.h b/src/format/strsym.h index 4a1404b..a4c7d58 100644 --- a/src/format/strsym.h +++ b/src/format/strsym.h @@ -39,6 +39,8 @@ /* Types de chaînes */ typedef enum _StringEncodingType { + SET_NONE, /* Valeur d'initialisation */ + SET_ASCII, /* Format brut */ SET_UTF_8, /* Format UTF-8 */ SET_MUTF_8, /* Format UTF-8 modifié */ @@ -72,6 +74,12 @@ GBinSymbol *g_string_symbol_new_read_only(GBinFormat *, const mrange_t *, String /* Crée un nouveau symbole pour chaîne de caractères. */ GBinSymbol *g_string_symbol_new_dynamic(const char *, const vmpa2t *, StringEncodingType); +/* Définit si une chaîne de caractères est liée au format. */ +void g_string_symbol_set_structural(GStrSymbol *, bool); + +/* Indique si une chaîne de caractères est liée au format. */ +bool g_string_symbol_is_structural(const GStrSymbol *); + /* Fournit l'encodage d'une chaîne de caractères. */ StringEncodingType g_string_symbol_get_encoding(const GStrSymbol *); |