diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2015-07-22 21:23:49 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2015-07-22 21:23:49 (GMT) |
commit | 21537636cd8318cf5a720211619ad3c3023b52e9 (patch) | |
tree | 93380a9152f18e39cf0ba427ede96533c5c6f16a /src/analysis/db/collection-int.h | |
parent | 361a0953c73635c6c383516280a8d634768f8226 (diff) |
Fortified the client/server protocol and first exchanges.
git-svn-id: svn://svn.gna.org/svn/chrysalide/trunk@554 abbe820e-26c8-41b2-8c08-b7b2b41f8b0a
Diffstat (limited to 'src/analysis/db/collection-int.h')
-rw-r--r-- | src/analysis/db/collection-int.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/analysis/db/collection-int.h b/src/analysis/db/collection-int.h index 6ca9ab4..93e0ef8 100644 --- a/src/analysis/db/collection-int.h +++ b/src/analysis/db/collection-int.h @@ -32,6 +32,9 @@ +/* Crée la table associée à une collection d'éléments. */ +typedef bool (* collec_create_db_table_fc) (const GDbCollection *, sqlite3 *); + /* Décrit les colonnes utiles à un chargement de données. */ typedef bool (* collec_setup_load_fc) (GDbCollection *, bound_value **, size_t *); @@ -63,6 +66,7 @@ struct _GDbCollectionClass { GObjectClass parent; /* A laisser en premier */ + collec_create_db_table_fc create_table; /* Création de la table en SQL */ collec_setup_load_fc setup_load; /* Prépare le chargement */ collec_load_item load_item; /* Charge un élément */ collec_has_key_fc has_key; /* Recherche de présence */ |