|
@@ -72,6 +72,7 @@ int init_user_info(int fd, char *usrname, struct user *u);
|
|
|
int create_session(int fd, char *name);
|
|
int create_session(int fd, char *name);
|
|
|
int session_broadcast(int sid, char *msg, char *usr, int except_fd, int flags);
|
|
int session_broadcast(int sid, char *msg, char *usr, int except_fd, int flags);
|
|
|
int send_sessions(int fd);
|
|
int send_sessions(int fd);
|
|
|
|
|
+struct klist_node *find_session(int sid);
|
|
|
int join_session(int sid, int fd);
|
|
int join_session(int sid, int fd);
|
|
|
int session_name(int fd, struct vcc_request *req);
|
|
int session_name(int fd, struct vcc_request *req);
|
|
|
|
|
|
|
@@ -97,6 +98,8 @@ int relay_send_to(const char *restrict msg, const char *restrict visible, int ex
|
|
|
int relay_send_packet(int fd, const char *restrict msg, const struct vcc_relay_header *restrict hdr, int size);
|
|
int relay_send_packet(int fd, const char *restrict msg, const struct vcc_relay_header *restrict hdr, int size);
|
|
|
int read_until(int fd, void *, int);
|
|
int read_until(int fd, void *, int);
|
|
|
|
|
|
|
|
|
|
+int relay_group_broadcast(const char *restrict msg, int expect, const struct vcc_relay_header *restrict hdr);
|
|
|
|
|
+
|
|
|
struct klist_node *find_connection(int fd);
|
|
struct klist_node *find_connection(int fd);
|
|
|
extern int infofd;
|
|
extern int infofd;
|
|
|
|
|
|