projects
/
m17n
/
m17n-lib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ec81306
)
(mdatabase__props): New function.
author
handa
<handa>
Mon, 3 Sep 2007 00:35:36 +0000
(
00:35
+0000)
committer
handa
<handa>
Mon, 3 Sep 2007 00:35:36 +0000
(
00:35
+0000)
src/database.c
patch
|
blob
|
history
diff --git
a/src/database.c
b/src/database.c
index
50dfbe1
..
0dabfc1
100644
(file)
--- a/
src/database.c
+++ b/
src/database.c
@@
-1284,6
+1284,17
@@
mdatabase__unlock (MDatabase *mdb)
return 0;
}
+MPlist *
+mdatabase__props (MDatabase *mdb)
+{
+ MDatabaseInfo *db_info;
+
+ if (mdb->loader != load_database)
+ return NULL;
+ db_info = mdb->extra_info;
+ return db_info->properties;
+}
+
/*** @} */
#endif /* !FOR_DOXYGEN || DOXYGEN_INTERNAL_MODULE */