X-Git-Url: http://mj.ucw.cz/gitweb/?a=blobdiff_plain;f=ucw%2Flog-internal.h;h=dc1d1526007683cf39e441ce3b55dec725f6d599;hb=7d1a2f577f59fb74533640dbfcd013d949da90ec;hp=c2eef05bad331dd25c348705ce4e43a1c88b41ea;hpb=a4f8b029b86d2ca1612a9c2e2795ccea27b15276;p=libucw.git diff --git a/ucw/log-internal.h b/ucw/log-internal.h index c2eef05b..dc1d1526 100644 --- a/ucw/log-internal.h +++ b/ucw/log-internal.h @@ -19,13 +19,8 @@ #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*