]> git.ipfire.org Git - network.git/blobdiff - src/libnetwork/network/libnetwork.h
libnetwork: Add network_log function to header
[network.git] / src / libnetwork / network / libnetwork.h
index 20ba1636ce3a12e0af8d7b26c03e4a2d9d385903..c6181f0f68de75189b8c86413a236559abd07b84 100644 (file)
@@ -38,4 +38,12 @@ void network_set_log_priority(struct network_ctx* ctx, int priority);
 
 const char* network_version();
 
+#ifdef NETWORK_PRIVATE
+
+void network_log(struct network_ctx* ctx,
+       int priority, const char* file, int line, const char* fn,
+       const char* format, ...);
+
+#endif
+
 #endif