(CHISE_DS_open): Use <const unsigned char *> instead of <char *> as
the type of location.
#include "chise.h"
#include "chise-name.h"
+const unsigned char chise_db_dir[] = CHISE_DB_DIR;
CHISE_Feature_Table*
chise_ds_open_feature_table (CHISE_DS *ds, const char *feature);
};
CHISE_DS*
-CHISE_DS_open (CHISE_DS_Type type, char *location,
+CHISE_DS_open (CHISE_DS_Type type, const unsigned char *location,
DBTYPE subtype, int modemask)
{
CHISE_DS *ds = (CHISE_DS*)malloc (sizeof (CHISE_DS));
#include <db.h>
#include <errno.h>
+extern const unsigned char chise_db_dir[];
+
typedef enum CHISE_DS_Type
{
CHISE_DS_NONE,
typedef struct CHISE_DS CHISE_DS;
CHISE_DS*
-CHISE_DS_open (CHISE_DS_Type type, char *location,
+CHISE_DS_open (CHISE_DS_Type type, const unsigned char *location,
DBTYPE subtype, int modemask);
int CHISE_DS_close (CHISE_DS *ds);