summaryrefslogtreecommitdiff
path: root/src/analysis/db/protocol.h
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2019-09-25 22:20:25 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2019-09-25 22:20:25 (GMT)
commit6ed1e4110eb19b78f76154aa095a74414531f04c (patch)
treed1c3562cb6e180baff3c388a3bb3574b0a02213b /src/analysis/db/protocol.h
parent3dc843b3f7991dcd738a30821ff56c7fe13f1094 (diff)
Prepared history for database items.
Diffstat (limited to 'src/analysis/db/protocol.h')
-rw-r--r--src/analysis/db/protocol.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/analysis/db/protocol.h b/src/analysis/db/protocol.h
index 5c3eed6..d429530 100644
--- a/src/analysis/db/protocol.h
+++ b/src/analysis/db/protocol.h
@@ -95,7 +95,6 @@ typedef enum _DBAction
{
DBA_ADD_ITEM, /* Ajout d'un élément */
DBA_REM_ITEM, /* Suppression d'un élément */
-
DBA_CHANGE_STATE, /* Changement d'activité */
DBA_COUNT
@@ -186,16 +185,16 @@ typedef enum _DBCommand
* avec une série de paquets de la forme :
*
* [ Traitement de collection : DBC_COLLECTION ]
- * [ Action : DBC_SET_LAST_ACTIVE ]
+ * [ Action : DBA_CHANGE_STATE ]
* [ <élément dont le statut a évolué> ]
*
* Les traitements se réalisent dans :
- * - g_db_collection_set_last_active() pour la partie serveur.
- * - g_db_client_set_last_active() pour la partie client.
+ * - g_db_collection_disable_at() pour la partie serveur.
+ * - g_db_collection_update_item_state() pour la partie client.
*
*/
- DBC_SET_LAST_ACTIVE, /* Définition du dernier actif */
+ DBC_SET_LAST_ACTIVE, /* Définition du dernier actif */ // REMME
DBC_COUNT