summaryrefslogtreecommitdiffstats
path: root/admin.h
diff options
context:
space:
mode:
authorSuper User2007-07-26 14:23:56 +0200
committerSuper User2007-07-26 14:23:56 +0200
commit701b046a45c2c79cc6d07ac3a4f84f499f7ed376 (patch)
tree0b534df0b08d2016f473fbee74bae36a010a7258 /admin.h
parentfixes & improvements (diff)
downloadlcr-701b046a45c2c79cc6d07ac3a4f84f499f7ed376.tar.gz
lcr-701b046a45c2c79cc6d07ac3a4f84f499f7ed376.tar.xz
lcr-701b046a45c2c79cc6d07ac3a4f84f499f7ed376.zip
unified socket application interface (for asterisk and maybe other apps)
bugfixes
Diffstat (limited to 'admin.h')
-rw-r--r--admin.h8
1 files changed, 8 insertions, 0 deletions
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;