summaryrefslogtreecommitdiffstats
path: root/src/storage
diff options
context:
space:
mode:
authorPeng Wu <alexepico@gmail.com>2016-03-03 16:33:51 +0800
committerPeng Wu <alexepico@gmail.com>2016-03-03 16:33:51 +0800
commit9ce89e8d3ac1926e87d8964337d72526ffc57c6e (patch)
tree2d3b6618c423df2f185af941d73a016ab16170b7 /src/storage
parent69546e6ce25ef8a93287370a07e48ed892f846e8 (diff)
downloadlibpinyin-9ce89e8d3ac1926e87d8964337d72526ffc57c6e.tar.gz
libpinyin-9ce89e8d3ac1926e87d8964337d72526ffc57c6e.tar.xz
libpinyin-9ce89e8d3ac1926e87d8964337d72526ffc57c6e.zip
add bdb_utils.h
Diffstat (limited to 'src/storage')
-rw-r--r--src/storage/Makefile.am3
-rw-r--r--src/storage/bdb_utils.h27
2 files changed, 29 insertions, 1 deletions
diff --git a/src/storage/Makefile.am b/src/storage/Makefile.am
index 55f8022..687e1dc 100644
--- a/src/storage/Makefile.am
+++ b/src/storage/Makefile.am
@@ -55,7 +55,8 @@ noinst_HEADERS = chewing_enum.h \
facade_chewing_table2.h \
facade_phrase_table2.h \
facade_phrase_table3.h \
- table_info.h
+ table_info.h \
+ bdb_utils.h
noinst_LTLIBRARIES = libstorage.la
diff --git a/src/storage/bdb_utils.h b/src/storage/bdb_utils.h
new file mode 100644
index 0000000..513c42f
--- /dev/null
+++ b/src/storage/bdb_utils.h
@@ -0,0 +1,27 @@
+/*
+ * libpinyin
+ * Library to deal with pinyin.
+ *
+ * Copyright (C) 2016 Peng Wu <alexepico@gmail.com>
+ *
+ * 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 of the License, 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.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+ */
+
+#ifndef BDB_UTILS_H
+#define BDB_UTILS_H
+
+#include <db.h>
+
+#endif