summaryrefslogtreecommitdiff
path: root/src/common/db.h
diff options
context:
space:
mode:
authorcelest <celest@54d463be-8e91-2dee-dedb-b68131a5f0ec>2005-03-23 15:03:21 +0000
committercelest <celest@54d463be-8e91-2dee-dedb-b68131a5f0ec>2005-03-23 15:03:21 +0000
commit7d3fedfa5c264169c544fe3ec977229c50e4baa2 (patch)
treed9b765647b15ee2a15a7a5d851c603be2eeb1a0d /src/common/db.h
parent77fa315a25b08c429758d109b08a67a6e6a52e50 (diff)
downloadhercules-7d3fedfa5c264169c544fe3ec977229c50e4baa2.tar.gz
hercules-7d3fedfa5c264169c544fe3ec977229c50e4baa2.tar.bz2
hercules-7d3fedfa5c264169c544fe3ec977229c50e4baa2.tar.xz
hercules-7d3fedfa5c264169c544fe3ec977229c50e4baa2.zip
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/stable@1274 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/common/db.h')
-rw-r--r--src/common/db.h3
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