diff options
Diffstat (limited to 'src/common/db.h')
-rw-r--r-- | src/common/db.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/common/db.h b/src/common/db.h index 11ed4f3e1..8b37e15ad 100644 --- a/src/common/db.h +++ b/src/common/db.h @@ -14,6 +14,8 @@ struct dbn { void *key; void *data; int deleted; // 削除済みフラグ(db_foreach) + struct dbn *next; + struct dbn *prev; }; struct dbt { @@ -59,5 +61,6 @@ struct dbn* db_insert(struct dbt *table,void* key,void* data); void* db_erase(struct dbt *table,void* key); void db_foreach(struct dbt*,int(*)(void*,void*,va_list),...); void db_final(struct dbt*,int(*)(void*,void*,va_list),...); +void exit_dbn(void); #endif |