projects
/
chise
/
concord.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
(struct COS_Feature_INDEX_ent): New structure.
[chise/concord.git]
/
concord-bdb.h
diff --git
a/concord-bdb.h
b/concord-bdb.h
index
83a63f9
..
92d6155
100644
(file)
--- a/
concord-bdb.h
+++ b/
concord-bdb.h
@@
-1,4
+1,4
@@
-/* Copyright (C) 2003,2004,2005 MORIOKA Tomohiko
+/* Copyright (C) 2003,2004,2005,2006 MORIOKA Tomohiko
This file is part of the CONCORD Library.
The CONCORD Library is free software; you can redistribute it and/or
This file is part of the CONCORD Library.
The CONCORD Library is free software; you can redistribute it and/or
@@
-26,18
+26,18
@@
extern "C" {
#include <db.h>
#include <errno.h>
#include <db.h>
#include <errno.h>
-DB* CONCORD_BDB_open (const unsigned char* db_dir,
- const unsigned char* genre,
- const unsigned char* key_type,
- const unsigned char* name,
+DB* CONCORD_BDB_open (const char* db_dir,
+ const char* genre,
+ const char* key_type,
+ const char* name,
DBTYPE real_subtype,
u_int32_t accessmask, int modemask);
int CONCORD_BDB_close (DB* db);
DBTYPE real_subtype,
u_int32_t accessmask, int modemask);
int CONCORD_BDB_close (DB* db);
-int CONCORD_BDB_get (DB* db, const unsigned char* key, DBT* valdatum);
+int CONCORD_BDB_get (DB* db, const char* key, DBT* valdatum);
-int CONCORD_BDB_put (DB* db, const unsigned char* key, unsigned char* value);
+int CONCORD_BDB_put (DB* db, const char* key, unsigned char* value);
#ifdef __cplusplus
#ifdef __cplusplus