aboutsummaryrefslogtreecommitdiffstats
path: root/include/openbsc/debug.h
diff options
context:
space:
mode:
authorHolger Freyther <zecke@selfish.org>2008-12-27 12:03:07 +0000
committerHolger Freyther <zecke@selfish.org>2008-12-27 12:03:07 +0000
commitd546e316280dabcca301699ba238c3bed35b10ec (patch)
tree2df1097eb9b7966602e59f17a89a0e87b4db0b89 /include/openbsc/debug.h
parent42f50bb3ee543d4571ed0bfad3262148282ec0ed (diff)
Add code to parse a debug category string
Use strdup to be able to use strtok on the category string and add a test case. Also safe some more information to be able to use color in the print statement.
Diffstat (limited to 'include/openbsc/debug.h')
-rw-r--r--include/openbsc/debug.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/openbsc/debug.h b/include/openbsc/debug.h
index b95b1a7d4..b3b170260 100644
--- a/include/openbsc/debug.h
+++ b/include/openbsc/debug.h
@@ -18,5 +18,6 @@
#endif
void debugp(unsigned int subsys, char *file, int line, const char *format, ...);
+void parse_category_mask(const char* mask);
#endif /* _DEBUG_H */