]> mj.ucw.cz Git - libucw.git/blobdiff - ucw/log-internal.h
Compatibility with GCC < 4.0 is not needed any longer
[libucw.git] / ucw / log-internal.h
index c2eef05bad331dd25c348705ce4e43a1c88b41ea..dc1d1526007683cf39e441ce3b55dec725f6d599 100644 (file)
 #define log_type_names ucw_log_type_names
 #endif
 
-/*
- * Pass a message to a stream.
- * @depth prevents loops.
- * Returns 1 in case of loop detection or other fatal error,
- *         0 otherwise
- */
-int log_pass_msg(int depth, struct log_stream *ls, struct log_msg *m);
+/* Pass a message to a stream. */
+void log_pass_msg(struct log_stream *ls, struct log_msg *m);
 
 /* Define an array (growing buffer) for pointers to log_streams. */
 #define GBUF_TYPE struct log_stream*