X-Git-Url: http://git.eversberg.eu/gitweb.cgi?p=lcr.git;a=blobdiff_plain;f=socket_server.h;h=cc3565d22d63598e3a9728197c525fa390577590;hp=dc1816515e4fd7912d7c915e8a605dd5318c2e64;hb=5566f74eb29be75da44e29ba72ee6f015249ce61;hpb=d2b113f2c4f11acfaee1b2e0fd2f03744a89f6d4 diff --git a/socket_server.h b/socket_server.h index dc18165..cc3565d 100644 --- a/socket_server.h +++ b/socket_server.h @@ -21,6 +21,7 @@ struct admin_queue { struct admin_list { struct admin_list *next; int sock; + struct lcr_fd fd; int sockserial; char remote_name[32]; /* socket is connected remote application */ struct admin_trace_req trace; /* stores trace, if detail != 0 */ @@ -31,10 +32,9 @@ struct admin_list { extern struct admin_list *admin_first; int admin_init(void); void admin_cleanup(void); -int admin_handle(void); -void admin_call_response(int adminid, int message, char *connected, int cause, int location, int notify); -int admin_message_to_join(struct admin_message *msg, int remote_id); -int admin_message_from_join(int remote_id, unsigned int ref, int message_type, union parameter *param); +void admin_call_response(int adminid, int message, const char *connected, int cause, int location, int notify); +int admin_message_to_lcr(struct admin_message *msg, int remote_id); +int admin_message_from_lcr(int remote_id, unsigned int ref, int message_type, union parameter *param);