diff options
Diffstat (limited to 'src/analysis/db/collection.h')
-rw-r--r-- | src/analysis/db/collection.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/analysis/db/collection.h b/src/analysis/db/collection.h index 79787e3..1eb297c 100644 --- a/src/analysis/db/collection.h +++ b/src/analysis/db/collection.h @@ -33,6 +33,7 @@ #include "item.h" #include "protocol.h" +#include "../../common/packed.h" @@ -70,13 +71,13 @@ uint32_t g_db_collection_get_feature(const GDbCollection *); /* Réceptionne et traite une requête réseau pour collection. */ -bool g_db_collection_recv(GDbCollection *, int, sqlite3 *); +bool g_db_collection_unpack(GDbCollection *, packed_buffer *, sqlite3 *); /* Envoie pour traitement une requête réseau pour collection. */ -bool g_db_collection_send(GDbCollection *, int, DBAction, GDbItem *); +bool g_db_collection_pack(GDbCollection *, packed_buffer *, DBAction, GDbItem *); /* Envoie pour mise à jour tous les éléments courants. */ -bool g_db_collection_send_all_updates(GDbCollection *, int); +bool g_db_collection_pack_all_updates(GDbCollection *, packed_buffer *); @@ -154,7 +155,7 @@ void lock_unlock_collections(GList *, bool, bool); #define runlock_collections(lst) lock_unlock_collections(lst, false, false); /* Met à jour les statuts d'activité des éléments. */ -bool update_activity_in_collections(GList *, int, sqlite3 *); +bool update_activity_in_collections(GList *, packed_buffer *, sqlite3 *); |