added: autoconf environment
[lcr.git] / admin_server.h
index 2351298..9d1c8a2 100644 (file)
@@ -22,7 +22,7 @@ struct admin_list {
        struct admin_list *next;
        int sock;
        int sockserial;
-       char remote[32];        /* socket is connected remote application */
+       char remote_name[32]; /* socket is connected remote application */
        struct admin_trace_req trace; /* stores trace, if detail != 0 */
        unsigned long epointid;
        struct admin_queue *response;
@@ -33,8 +33,8 @@ 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 admin_message_from_join(char *remote, unsigned long ref, int message_type, union parameter *param);
+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);