mirror of
https://github.com/yrutschle/sslh.git
synced 2026-10-22 18:12:10 +03:00
remove obsolete code
This commit is contained in:
1 parent
92e8a3e256
commit
c78a50c1d7
3 files changed
-15
No files matched your search
@@ -21,8 +21,6 @@ struct loop_info {
|
||||
watchers* watchers;
|
||||
|
||||
cnx_collection* collection; /* Collection of connections linked to this loop */
|
||||
|
||||
time_t next_timeout; /* time at which next UDP connection times out */
|
||||
};
|
||||
|
||||
void cnx_read_process(struct loop_info* fd_info, int fd);
|
||||
@@ -40,6 +38,5 @@ void watchers_add_read(watchers* w, int fd);
|
||||
void watchers_del_read(watchers* w, int fd);
|
||||
void watchers_add_write(watchers* w, int fd);
|
||||
void watchers_del_write(watchers* w, int fd);
|
||||
int watchers_maxfd(watchers* w);
|
||||
|
||||
#endif
|
||||
@@ -110,12 +110,6 @@ void watchers_del_write(watchers* w, int fd)
|
||||
if (io) ev_io_stop(EV_A_ io);
|
||||
}
|
||||
|
||||
/* To remove after moving UDP lookups to hash table */
|
||||
int watchers_maxfd(watchers* w)
|
||||
{
|
||||
return w->max_fd;
|
||||
}
|
||||
|
||||
/* /watchers */
|
||||
|
||||
#include "processes.h"
|
||||
|
||||
@@ -84,12 +84,6 @@ void watchers_del_write(watchers* w, int fd)
|
||||
FD_CLR(fd, &w->fds_w);
|
||||
}
|
||||
|
||||
/* To remove after moving UDP lookups to hash table */
|
||||
int watchers_maxfd(watchers* w)
|
||||
{
|
||||
return w->max_fd;
|
||||
}
|
||||
|
||||
/* /end watchers */
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user