summaryrefslogtreecommitdiff
path: root/main_simple.cc
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2013-01-04 11:30:22 +0100
committerBent Bisballe Nyeng <deva@aasimon.org>2013-01-04 11:30:22 +0100
commit08827265399f3f69f7f25512e991f67da5bbac63 (patch)
treecd87241b1c4b4ca140e09145670b6e185da1a215 /main_simple.cc
parentf64458ebda5b914f235ae2fe81a466f03cb6c14b (diff)
Change function prefixes according to projet namechange.
Diffstat (limited to 'main_simple.cc')
-rw-r--r--main_simple.cc20
1 files changed, 10 insertions, 10 deletions
diff --git a/main_simple.cc b/main_simple.cc
index c83cc05..c555fde 100644
--- a/main_simple.cc
+++ b/main_simple.cc
@@ -40,17 +40,17 @@ int main(int argc, char *argv[])
return 1;
}
- dbg_status_t status = dbg_init(DBG_FLAG_OUTPUT_TO_FILE |
- DBG_FLAG_OUTPUT_TO_FD |
- DBG_FLAG_OUTPUT_TO_STDOUT |
- DBG_FLAG_OUTPUT_TO_STDERR |
+ hug_status_t status = hug_init(HUG_FLAG_OUTPUT_TO_FILE |
+ HUG_FLAG_OUTPUT_TO_FD |
+ HUG_FLAG_OUTPUT_TO_STDOUT |
+ HUG_FLAG_OUTPUT_TO_STDERR |
0,
- DBG_OPTION_FD, fd,
- DBG_OPTION_FILENAME, "/tmp/my2.log",
- DBG_OPTION_STDOUT_NO_DATE, 0,
- DBG_OPTION_END);
+ HUG_OPTION_FD, fd,
+ HUG_OPTION_FILENAME, "/tmp/my2.log",
+ HUG_OPTION_STDOUT_NO_DATE, 0,
+ HUG_OPTION_END);
- if(status != DBG_STATUS_OK) {
+ if(status != HUG_STATUS_OK) {
printf("Error: %d\n", status);
return 1;
}
@@ -61,7 +61,7 @@ int main(int argc, char *argv[])
DEBUG(foo, "Or are we %d?", 42);
- dbg_close();
+ hug_close();
return 0;
}