summaryrefslogtreecommitdiffstats
path: root/admin.h
diff options
context:
space:
mode:
authorSuper User2007-05-30 06:14:41 +0200
committerSuper User2007-05-30 06:14:41 +0200
commit9deb150f2ba289736e81f69bb7cf24e5b236ee96 (patch)
treee557fe407bf9d6951697316c44f2bc62eff14501 /admin.h
parenttest (diff)
downloadlcr-9deb150f2ba289736e81f69bb7cf24e5b236ee96.tar.gz
lcr-9deb150f2ba289736e81f69bb7cf24e5b236ee96.tar.xz
lcr-9deb150f2ba289736e81f69bb7cf24e5b236ee96.zip
backup
Diffstat (limited to 'admin.h')
-rw-r--r--admin.h27
1 files changed, 21 insertions, 6 deletions
diff --git a/admin.h b/admin.h
index ed20eaa..f86036f 100644
--- a/admin.h
+++ b/admin.h
@@ -120,12 +120,26 @@ struct admin_call {
int exthlc;
};
-struct admin_message {
- int type; /* type of message */
- unsigned long ref; /* reference to individual endpoints */
- union parameter param; /* parameter union */
+struct admin_trace_req {
+ int detail;
+ char category[4];
+ char name[64];
+ int port;
+ char interface[64];
+ char caller[34];
+ char dialing[64];
};
+struct admin_trace_rsp {
+ char text[512];
+};
+
+//struct admin_msg {
+// int type; /* type of message */
+// unsigned long ref; /* reference to individual endpoints */
+// union parameter param; /* parameter union */
+//};
+
struct admin_message {
int message; /* type of admin message */
union u {
@@ -136,8 +150,9 @@ struct admin_message {
struct admin_response_epoint e;
struct admin_response_call c;
struct admin_call call;
- struct admin_message message;
- struct admin_trace trace;
+// struct admin_msg msg;
+ struct admin_trace_req trace_req;
+ struct admin_trace_rsp trace_rsp;
} u;
};