summaryrefslogtreecommitdiff
path: root/plugins/pychrysalide/analysis
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2019-09-17 22:06:54 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2019-09-17 22:06:54 (GMT)
commit3dc843b3f7991dcd738a30821ff56c7fe13f1094 (patch)
tree22b40ef7cd933a57942bd01d61c9e6a07fdd80c6 /plugins/pychrysalide/analysis
parent682159e73cfbf8ec61d2f2aba765be1016a30ded (diff)
Kept tracks of current active DB items.
Diffstat (limited to 'plugins/pychrysalide/analysis')
-rw-r--r--plugins/pychrysalide/analysis/db/constants.c1
-rw-r--r--plugins/pychrysalide/analysis/db/constants.h2
2 files changed, 3 insertions, 0 deletions
diff --git a/plugins/pychrysalide/analysis/db/constants.c b/plugins/pychrysalide/analysis/db/constants.c
index 9c628f9..46d0876 100644
--- a/plugins/pychrysalide/analysis/db/constants.c
+++ b/plugins/pychrysalide/analysis/db/constants.c
@@ -93,6 +93,7 @@ bool define_db_item_constants(PyTypeObject *type)
result = add_const_to_group(values, "NONE", DIF_NONE);
if (result) result = add_const_to_group(values, "ERASER", DIF_ERASER);
+ if (result) result = add_const_to_group(values, "UPDATED", DIF_UPDATED);
if (result) result = add_const_to_group(values, "VOLATILE", DIF_VOLATILE);
if (result) result = add_const_to_group(values, "BROKEN", DIF_BROKEN);
diff --git a/plugins/pychrysalide/analysis/db/constants.h b/plugins/pychrysalide/analysis/db/constants.h
index cb7edf4..5f0afeb 100644
--- a/plugins/pychrysalide/analysis/db/constants.h
+++ b/plugins/pychrysalide/analysis/db/constants.h
@@ -30,6 +30,8 @@
#include <stdbool.h>
+/* Définit les constantes relatives au protocole. */
+bool define_db_protocol_constants(PyTypeObject *);
/* Définit les constantes pour les éléments de base de données. */
bool define_db_item_constants(PyTypeObject *);