#ifndef ROUTE_NODE_LMDB_H #define ROUTE_NODE_LMDB_H #include #include "route_node.h" struct ROUTE_BGP; int route_node_lmdb_init(struct ROUTE_BGP* bgp, const char* db_path); void route_node_lmdb_destroy(struct ROUTE_BGP* bgp); int route_node_lmdb_put(struct ROUTE_BGP* bgp, struct NODEINFO_Q* nq); int route_node_lmdb_del(struct ROUTE_BGP* bgp, uint64_t node_id); #endif