From 701b046a45c2c79cc6d07ac3a4f84f499f7ed376 Mon Sep 17 00:00:00 2001 From: Super User Date: Thu, 26 Jul 2007 14:23:56 +0200 Subject: unified socket application interface (for asterisk and maybe other apps) bugfixes --- admin.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'admin.h') diff --git a/admin.h b/admin.h index 70b21aa..a34820d 100644 --- a/admin.h +++ b/admin.h @@ -26,6 +26,7 @@ enum { /* messages */ ADMIN_RESPONSE_CMD_BLOCK, ADMIN_REQUEST_STATE, ADMIN_RESPONSE_STATE, + ADMIN_RESPONSE_S_REMOTE, ADMIN_RESPONSE_S_INTERFACE, ADMIN_RESPONSE_S_PORT, ADMIN_RESPONSE_S_EPOINT, @@ -55,6 +56,7 @@ struct admin_response_state { struct tm tm; char logfile[128]; int interfaces; + int remotes; int joins; int epoints; int ports; @@ -76,8 +78,13 @@ struct admin_response_interface { unsigned long port[256]; /* current port */ }; +struct admin_response_remote { + char name[32]; /* name of remote application */ +}; + struct admin_response_join { unsigned long serial; /* join serial number */ + char remote[32]; /* remote application name */ unsigned long partyline; }; @@ -153,6 +160,7 @@ struct admin_message { struct admin_response_port p; struct admin_response_epoint e; struct admin_response_join j; + struct admin_response_remote r; struct admin_call call; struct admin_msg msg; struct admin_trace_req trace_req; -- cgit v1.2.3-55-g7522