X-Git-Url: http://git.eversberg.eu/gitweb.cgi?p=lcr.git;a=blobdiff_plain;f=socket_server.h;h=4177139814cd30cb7ba7aa66a7dd32d61c5f90a9;hp=305deb535283e4f752845510ece907993e86f13f;hb=bf2fefbfd59871d46d0d177638d48d40c75899b3;hpb=5ad4c41dc406a15beaa0a7b73d9dada1df74f939 diff --git a/socket_server.h b/socket_server.h index 305deb5..4177139 100644 --- a/socket_server.h +++ b/socket_server.h @@ -13,8 +13,8 @@ struct admin_queue { struct admin_queue *next; - ulong offset; /* current offset writing */ - ulong num; /* number of admin messages */ + unsigned int offset; /* current offset writing */ + unsigned int num; /* number of admin messages */ struct admin_message am[0]; }; @@ -24,7 +24,7 @@ struct admin_list { int sockserial; char remote_name[32]; /* socket is connected remote application */ struct admin_trace_req trace; /* stores trace, if detail != 0 */ - unsigned long epointid; + unsigned int epointid; struct admin_queue *response; }; @@ -32,9 +32,9 @@ 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); +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 long ref, int message_type, union parameter *param); +int admin_message_from_join(int remote_id, unsigned int ref, int message_type, union parameter *param);