summaryrefslogtreecommitdiffstats
path: root/socket_server.h
diff options
context:
space:
mode:
authorAndreas Eversberg2010-01-16 11:20:23 +0100
committerAndreas Eversberg2010-01-16 11:20:23 +0100
commitb0bd74e35e935aa976b68c594def4e8d2c22ef95 (patch)
tree7e7033beb3b9b1a1976d58ce4e16c6f965a3c9fc /socket_server.h
parentAdded new option to interface.conf: "nonotify" to disable notify messages. (diff)
downloadlcr-b0bd74e35e935aa976b68c594def4e8d2c22ef95.tar.gz
lcr-b0bd74e35e935aa976b68c594def4e8d2c22ef95.tar.xz
lcr-b0bd74e35e935aa976b68c594def4e8d2c22ef95.zip
Replaced polling loop for LCR and chan_lcr with select based event loop.
Now LCR and chan_lcr will not use any CPU until there is work to do.
Diffstat (limited to 'socket_server.h')
-rw-r--r--socket_server.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/socket_server.h b/socket_server.h
index 4177139..b3ea89a 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,7 +32,6 @@ 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);