]> the.earth.li Git - onak.git/blobdiff - onak-conf.h
Cleanup various includes
[onak.git] / onak-conf.h
index 7c15cbb02583e7d6e2284e04ea7911979f561a14..8d469e98f5af368963c1c302bc488b3504c884eb 100644 (file)
@@ -21,7 +21,9 @@
 #ifndef __ONAK_CONF_H_
 #define __ONAK_CONF_H_
 
-#include "keydb.h"
+#include <stdbool.h>
+
+#include "ll.h"
 
 /**
  * @brief Backend database configuration.
@@ -128,4 +130,10 @@ void writeconfig(const char *configfile);
  */
 void cleanupconfig(void);
 
+
+/**
+ * @brief Find a specified backend configuration by name.
+ */
+struct onak_db_config *find_db_backend_config(struct ll *backends, char *name);
+
 #endif /* __ONAK_CONF_H_ */