File: dic_db.h

package info (click to toggle)
skksearch 0.0-24
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 228 kB
  • sloc: ansic: 1,079; makefile: 26; sh: 18
file content (25 lines) | stat: -rw-r--r-- 741 bytes parent folder | download | duplicates (11)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
/*
 * Copyright (c) 1999 Hideki Sakurada
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2, or (at your option)
 * any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 */

/* Berkely DB */

struct dic_db_internal {
  DB *db;
  DBT key;
  DBT val;
};

struct dic *dic_db_open(struct dic *, char *);
char *dic_db_search(struct dic *, char *, int);
int dic_db_close(struct dic *);