#include <sqlite3.h>
+#ifdef __cplusplus
+extern "C" {
+#endif
+
extern int db_init(const char *path_fmt, ...);
extern int db_close(void);
extern int db_bindf(struct sqlite3_stmt *ss, const char *fmt, ...);
extern void db_finalize(struct sqlite3_stmt **ss);
extern int db_execute(const char *stmt_fmt, ...);
+#ifdef __cplusplus
+}
+#endif
+
#endif /* HAVE_SQLITE3 */
#endif /* _FRR_DB_H_ */