1 /*******************************************************************
2 uLan Utilities Library - C library of basic reusable constructions
4 ul_logreg.h - registration of logging domains
6 (C) Copyright 2006 by Pavel Pisa - Originator
8 The uLan utilities library can be used, copied and modified under
10 - GPL - GNU General Public License
11 - LGPL - GNU Lesser General Public License
12 - MPL - Mozilla Public License
13 - and other licenses added by project originators
14 Code can be modified and re-distributed under any combination
15 of the above listed licenses. If contributor does not agree with
16 some of the licenses, he/she can delete appropriate line.
17 Warning, if you delete all lines, you are not allowed to
18 distribute source code and/or binaries utilizing code.
20 See files COPYING and README for details.
22 *******************************************************************/
24 #include <ul_logbase.h>
33 int ul_log_domain_setlevel(const char *name, int setlevel);
34 int ul_log_domain_getlevel(const char *name);
36 int ul_logreg_domain(ul_log_domain_t *domain);
37 int ul_logreg_domains_static(ul_log_domain_t *const *domains, int count);
38 int ul_log_domain_arg2levels(const char *arg);
44 #endif /*_UL_LOGREG_H*/