X-Git-Url: http://git.eversberg.eu/gitweb.cgi?p=lcr.git;a=blobdiff_plain;f=socket_server.h;h=9a31b10c0fb56f896102583468ed99f004267d07;hp=4177139814cd30cb7ba7aa66a7dd32d61c5f90a9;hb=810c051a69a0c07d8cba5237324a836d8ac7a5b5;hpb=08aad9a8c5ad279759e0a870b1dd0d8159ce3444 diff --git a/socket_server.h b/socket_server.h index 4177139..9a31b10 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,10 @@ 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, const 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); +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); +void message_bchannel_to_remote(unsigned int remote_id, unsigned int ref, int type, unsigned int handle, int tx_gain, int rx_gain, char *pipeline, unsigned char *crypt, int crypt_len, int crypt_type, int isloopback);