]> git.ipfire.org Git - people/ms/libloc.git/commitdiff
perl: Add function to get the description of the database.
authorStefan Schantl <stefan.schantl@ipfire.org>
Sun, 29 Sep 2019 09:55:12 +0000 (11:55 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Sun, 29 Sep 2019 11:51:28 +0000 (11:51 +0000)
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/perl/Location/Location.xs

index f94ca3136daec76640092fba5f0c98b822fd6efd..496fc43e100282fd05f09d003eb922664be02d8a 100644 (file)
@@ -69,6 +69,16 @@ get_vendor(db)
        OUTPUT:
                RETVAL
 
+const char*
+get_description(db)
+       struct loc_database* db;
+
+       CODE:
+               // Get database description
+               RETVAL = loc_database_get_description(db);
+       OUTPUT:
+               RETVAL
+
 #
 # Lookup functions
 #