aboutsummaryrefslogtreecommitdiff
path: root/lib/util.h
diff options
context:
space:
mode:
authorBen Pfaff <blp@nicira.com>2012-07-18 10:30:47 -0700
committerBen Pfaff <blp@nicira.com>2012-07-18 10:30:47 -0700
commit781dee0835fbea52f57389893d50b2cf9f60e41f (patch)
treeba5e84900d8e60fcd880f7060e610313c9ed690a /lib/util.h
parentfd94a42c43ff4a0e57a44bdc9ded1b7e1e63faaa (diff)
util: Introduce "subprogram_name" to identify subprocesses and threads.
This will be more useful later when we introduces "worker" subprocesses. I don't have any current plans to introduce threading, but I can't think of a disadvantage to wording this in a general manner. Signed-off-by: Ben Pfaff <blp@nicira.com>
Diffstat (limited to 'lib/util.h')
-rw-r--r--lib/util.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/util.h b/lib/util.h
index 1bdaeee5..dd86de26 100644
--- a/lib/util.h
+++ b/lib/util.h
@@ -62,6 +62,7 @@
#endif
extern const char *program_name;
+extern const char *subprogram_name;
/* Returns the number of elements in ARRAY. */
#define ARRAY_SIZE(ARRAY) (sizeof ARRAY / sizeof *ARRAY)