projects
/
lcr.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
The "trylock" test patch.
[lcr.git]
/
socket_server.h
diff --git
a/socket_server.h
b/socket_server.h
index
305deb5
..
b3ea89a
100644
(file)
--- a/
socket_server.h
+++ b/
socket_server.h
@@
-13,28
+13,28
@@
struct admin_queue {
struct admin_queue *next;
struct admin_queue {
struct admin_queue *next;
- u
long
offset; /* current offset writing */
- u
long
num; /* number of admin messages */
+ u
nsigned int
offset; /* current offset writing */
+ u
nsigned int
num; /* number of admin messages */
struct admin_message am[0];
};
struct admin_list {
struct admin_list *next;
int sock;
struct admin_message am[0];
};
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 */
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;
};
extern struct admin_list *admin_first;
int admin_init(void);
void admin_cleanup(void);
struct admin_queue *response;
};
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_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);