X-Git-Url: http://git.eversberg.eu/gitweb.cgi?p=lcr.git;a=blobdiff_plain;f=admin.h;h=da3b06964fb3b4488ae9317a5577af3dbc7ed44c;hp=3e7b7ed053ce15ee5efa94ea50c31afd55ae5397;hb=559ff64e3062b70f27ddceba825f40642a6c5725;hpb=2ed0fee489c37a6e2d4473f6185ebbe3e746ac11 diff --git a/admin.h b/admin.h index 3e7b7ed..da3b069 100644 --- a/admin.h +++ b/admin.h @@ -36,6 +36,7 @@ enum { /* messages */ ADMIN_CALL_DISCONNECT, ADMIN_CALL_RELEASE, ADMIN_CALL_NOTIFY, + ADMIN_MESSAGE, }; struct admin_response_cmd { @@ -118,6 +119,12 @@ struct admin_call { }; struct admin_message { + 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 { struct admin_response_cmd x; @@ -127,6 +134,7 @@ struct admin_message { struct admin_response_epoint e; struct admin_response_call c; struct admin_call call; + struct admin_message message; } u; };