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.
4 files changed
tree: b3f33d9d2dfbb85973f64a2b3cd21452aa9919ad
  1. tests/
  2. configure.in
  3. Makefile.am