summaryrefslogtreecommitdiff
path: root/c_src/permdb.h
diff options
context:
space:
mode:
authorMagnus Ahltorp <map@kth.se>2017-03-17 01:09:01 +0100
committerMagnus Ahltorp <map@kth.se>2017-03-17 14:44:42 +0100
commit5eecd85c8e9e9b52527859917cba0b68608b8c33 (patch)
treea64d658f94e0b319917b96efa7234078bc4945ca /c_src/permdb.h
parente0c96d10cf319549dabda91a612393c115e3f82a (diff)
Report errors as exceptions when called from python.
Diffstat (limited to 'c_src/permdb.h')
-rw-r--r--c_src/permdb.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/c_src/permdb.h b/c_src/permdb.h
index 314b873..9d6cc17 100644
--- a/c_src/permdb.h
+++ b/c_src/permdb.h
@@ -24,6 +24,9 @@ struct permdb_object;
typedef struct permdb_object permdb_object;
+char *
+get_permdb_error(permdb_object *state);
+
node_entry
get_entry_in_node(node_object node, unsigned char n);