From 58f2e5d8b346c9dd15332ebae290eb63e1f8efaf Mon Sep 17 00:00:00 2001 From: handa Date: Mon, 3 Sep 2007 00:35:36 +0000 Subject: [PATCH] (mdatabase__props): New function. --- src/database.c | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/database.c b/src/database.c index 50dfbe1..0dabfc1 100644 --- 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 */ -- 1.7.10.4