Commit 777959b2 authored by Michael Tremer's avatar Michael Tremer

perl: Move database functions up and lookup functions down

Signed-off-by: default avatarMichael Tremer <michael.tremer@ipfire.org>
parent 70f45781
......@@ -56,6 +56,22 @@ init(file)
OUTPUT:
RETVAL
/*
* Database functions
*/
const char*
get_vendor(db)
struct loc_database* db;
CODE:
// Get vendor
RETVAL = loc_database_get_vendor(db);
OUTPUT:
RETVAL
/*
* Lookup functions
*/
char*
lookup_country_code(db, address)
struct loc_database* db;
......@@ -81,18 +97,6 @@ lookup_country_code(db, address)
OUTPUT:
RETVAL
const char*
get_vendor(db)
struct loc_database* db;
CODE:
// Get vendor
RETVAL = loc_database_get_vendor(db);
OUTPUT:
RETVAL
void
DESTROY(db)
struct loc_database* db;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment