]> git.ipfire.org Git - people/ms/libloc.git/blobdiff - src/loc/libloc.h
database: Implement lookup
[people/ms/libloc.git] / src / loc / libloc.h
index 5cf31c5b14d984db78fc29dc8eddb840f1b66c36..0eca01566326a0dcacf7fc7219ddecb45816cada 100644 (file)
@@ -17,6 +17,7 @@
 #ifndef LIBLOC_H
 #define LIBLOC_H
 
+#include <netinet/in.h>
 #include <stdarg.h>
 
 #ifdef __cplusplus
@@ -36,6 +37,7 @@ int loc_get_log_priority(struct loc_ctx* ctx);
 void loc_set_log_priority(struct loc_ctx* ctx, int priority);
 
 int loc_load(struct loc_ctx* ctx, const char* path);
+int loc_parse_address(struct loc_ctx* ctx, const char* string, struct in6_addr* address);
 
 #ifdef __cplusplus
 } /* extern "C" */