Added proto type for find reply socket.
FossilOrigin-Name: 73676b0a2878e04e75f7af15f0a93f02bcf3d4e4f35c56eee8834615a5d16648
This commit is contained in:
parent
2424c5d9f2
commit
81011b0580
@ -28,7 +28,6 @@ enum {
|
|||||||
|
|
||||||
struct socklistelem{
|
struct socklistelem{
|
||||||
int sockfd;
|
int sockfd;
|
||||||
// int reply_sockfd;
|
|
||||||
int data_sockfd;
|
int data_sockfd;
|
||||||
|
|
||||||
int type;
|
int type;
|
||||||
@ -51,5 +50,7 @@ extern void socklist_lock();
|
|||||||
extern void socklist_unlock();
|
extern void socklist_unlock();
|
||||||
void socklist_add_connection(int index);
|
void socklist_add_connection(int index);
|
||||||
void socklist_del_connection(int index);
|
void socklist_del_connection(int index);
|
||||||
|
extern int socklist_find_reply_socket(struct sockaddr *sa, int port);
|
||||||
|
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user