Logging: pass dynamic log level to common functions and subsystems
[babeltrace.git] / src / fd-cache / fd-cache.h
index 977aaf4d1610ad9753a2a3b574d38c284794a44c..7a935b8f75bffc253b43571981f63fb4d24fd5a9 100644 (file)
@@ -35,6 +35,7 @@ struct bt_fd_cache_handle {
 };
 
 struct bt_fd_cache {
+       int log_level;
        GHashTable *cache;
 };
 
@@ -45,7 +46,7 @@ int bt_fd_cache_handle_get_fd(struct bt_fd_cache_handle *handle)
 }
 
 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);
This page took 0.025667 seconds and 4 git commands to generate.