path: root/pseudo_server.h
diff options
authorPeter Seebach <peter.seebach@windriver.com>2010-04-26 17:11:15 -0700
committerPeter Seebach <peter.seebach@windriver.com>2010-04-26 17:13:45 -0700
commit2cc5cc8fb02ce787753f2b3903864c7e1b98bd4d (patch)
tree16456f1998a2e3754393951e569292c0bea09ccf /pseudo_server.h
parent4038d0599e135ea0099a2392e0421bcc1d053825 (diff)
Updates/improvements for logging
Send program name (program_invocation_name from glibc) along with the tag. Along the way, restructure the fds/pids/tags arrays to be an array of client structures in pseudo_server, and add the message type to the set of things logged -- logging that a message was a ping is more useful than appending the text "ping" to it. Add support for type and program to pseudolog. Add deletion to pseudolog. Handle usage message formatting when there's an odd number of known specifiers for pseudolog. Conflicts: ChangeLog.txt pseudo_server.c
Diffstat (limited to 'pseudo_server.h')
1 files changed, 1 insertions, 1 deletions
diff --git a/pseudo_server.h b/pseudo_server.h
index 5e2ea6b..5c595ea 100644
--- a/pseudo_server.h
+++ b/pseudo_server.h
@@ -18,6 +18,6 @@
extern int pseudo_server_start(int);
-extern int pseudo_server_response(pseudo_msg_t *msg, const char *tag);
+extern int pseudo_server_response(pseudo_msg_t *msg, const char *program, const char *tag);
extern int pseudo_server_timeout;
extern int opt_l;