From d626a32665defecb4ab4358a875bda0b0f4c1fa6 Mon Sep 17 00:00:00 2001 From: Paul Kocialkowski Date: Thu, 5 Jul 2012 22:10:18 +0200 Subject: Unified debug messages on send/recv with ipc_util functions Signed-off-by: Paul Kocialkowski --- include/radio.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'include') diff --git a/include/radio.h b/include/radio.h index d606a3e..1e58d5b 100644 --- a/include/radio.h +++ b/include/radio.h @@ -98,6 +98,10 @@ void ipc_client_send_get(struct ipc_client *client, const unsigned short command void ipc_client_send_exec(struct ipc_client *client, const unsigned short command, unsigned char mseq); /* Utility functions */ +void ipc_client_log_recv(struct ipc_client *client, + struct ipc_message_info *response, char *prefix); +void ipc_client_log_send(struct ipc_client *client, + struct ipc_message_info *request, char *prefix); const char *ipc_response_type_to_str(int type); const char *ipc_request_type_to_str(int type); const char *ipc_command_to_str(int command); -- cgit v1.1