diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2017-02-28 18:58:57 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2017-02-28 18:58:57 (GMT) |
commit | 027305c2447b05de2c576e3f5ee32ced400f439f (patch) | |
tree | 96f35ddcd87129f3c4ccec69e8fa0216654215c9 /src/analysis/db/item-int.h | |
parent | 7d153f7d3a32a66d3eaf5199d396debbe3b675f5 (diff) |
Defined abstract packed buffers to transfert data.
Diffstat (limited to 'src/analysis/db/item-int.h')
-rw-r--r-- | src/analysis/db/item-int.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/analysis/db/item-int.h b/src/analysis/db/item-int.h index a116ac2..38ad444 100644 --- a/src/analysis/db/item-int.h +++ b/src/analysis/db/item-int.h @@ -40,10 +40,10 @@ typedef gint (* cmp_db_item_fc) (GDbItem *, GDbItem *, bool); /* Importe la définition d'une base d'éléments pour collection. */ -typedef bool (* recv_db_item_fc) (GDbItem *, int, int); +typedef bool (* unpack_db_item_fc) (GDbItem *, packed_buffer *); /* Exporte la définition d'une base d'éléments pour collection. */ -typedef bool (* send_db_item_fc) (const GDbItem *, int, int); +typedef bool (* pack_db_item_fc) (const GDbItem *, packed_buffer *); /* Construit la description humaine d'un signet sur un tampon. */ typedef void (* build_item_label_fc) (GDbItem *); @@ -84,8 +84,8 @@ struct _GDbItemClass cmp_db_item_fc cmp; /* Comparaison entre éléments */ - recv_db_item_fc recv; /* Réception depuis le réseau */ - send_db_item_fc send; /* Emission depuis le réseau */ + unpack_db_item_fc unpack; /* Réception depuis le réseau */ + pack_db_item_fc pack; /* Emission depuis le réseau */ build_item_label_fc build_label; /* Construction de description */ run_item_fc apply; /* Application de l'élément */ |