* SOFTWARE.
*/
-#include "common/babeltrace.h"
+#include "common/macros.h"
struct bt_fd_cache_handle {
int fd;
};
struct bt_fd_cache {
+ int log_level;
GHashTable *cache;
};
}
BT_HIDDEN
-int bt_fd_cache_init(struct bt_fd_cache *fdc);
+int bt_fd_cache_init(struct bt_fd_cache *fdc, int log_level);
BT_HIDDEN
void bt_fd_cache_fini(struct bt_fd_cache *fdc);