summaryrefslogtreecommitdiff
path: root/src/analysis/db/protocol.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/analysis/db/protocol.h')
-rw-r--r--src/analysis/db/protocol.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/analysis/db/protocol.h b/src/analysis/db/protocol.h
index 85d44cb..04bbd33 100644
--- a/src/analysis/db/protocol.h
+++ b/src/analysis/db/protocol.h
@@ -29,7 +29,7 @@
/**
* Version de la définition courante du protocole.
*/
-#define CDB_PROTOCOL_VERSION 0xc0de0001
+#define CDB_PROTOCOL_VERSION 0xc0de0002
@@ -84,7 +84,7 @@ typedef enum _DBFeatures
{
DBF_BOOKMARKS, /* Signets dans le code */
DBF_COMMENTS, /* Commentaires ajoutés */
- DBF_SEGMENTS_DISPLAY, /* Choix d'affichage */
+ DBF_DISPLAY_SWITCHERS, /* Choix d'affichage */
DBF_COUNT
@@ -132,9 +132,13 @@ typedef enum _DBCommand
typedef enum _DBError
{
DBE_NONE, /* Succès d'une opération */
+ DBE_BAD_EXCHANGE, /* Incohérence des échanges */
+
DBE_WRONG_VERSION, /* Proto Client != Serveur */
DBE_SYS_ERROR, /* Erreur suite à un appel sys.*/
DBE_ARCHIVE_ERROR, /* Soucis du côté libarchive */
+ DBE_XML_VERSION_ERROR, /* Vieille archive présente */
+ DBE_DB_LOADING_ERROR, /* Erreur pendant le chargement*/
DBE_COUNT