diff options
Diffstat (limited to 'src/format/symbol-int.h')
-rw-r--r-- | src/format/symbol-int.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/format/symbol-int.h b/src/format/symbol-int.h index 7f5807c..7f8bb7f 100644 --- a/src/format/symbol-int.h +++ b/src/format/symbol-int.h @@ -26,6 +26,7 @@ #include "symbol.h" +#include "../analysis/storage/serialize-int.h" #include "../glibext/objhole.h" @@ -33,6 +34,12 @@ /* Fournit une étiquette pour viser un symbole. */ typedef char * (* get_symbol_label_fc) (const GBinSymbol *); +/* Charge un contenu depuis une mémoire tampon. */ +typedef bool (* load_symbol_fc) (GBinSymbol *, GObjectStorage *, packed_buffer_t *); + +/* Sauvegarde un contenu dans une mémoire tampon. */ +typedef bool (* store_symbol_fc) (GBinSymbol *, GObjectStorage *, packed_buffer_t *); + /* Informations glissées dans la structure GObject de GBinSymbol */ typedef struct _sym_extra_data_t @@ -86,6 +93,9 @@ struct _GBinSymbolClass get_symbol_label_fc get_label; /* Obtention d'une étiquette */ + load_symbol_fc load; /* Chargement depuis un tampon */ + store_symbol_fc store; /* Conservation dans un tampon */ + }; |