Skip to content

Commit

Permalink
Extend ddhcp_epoll_data structure
Browse files Browse the repository at this point in the history
Socket handler can now register own data structures.
  • Loading branch information
sargon committed Feb 15, 2020
1 parent 08d81fb commit d9deae6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions epoll.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ struct ddhcp_epoll_data {
int fd;
int interface_id;
char* interface_name;
void* data;
ddhcpd_socket_init_t setup;
ddhcpd_epoll_event_t epollin;
ddhcpd_epoll_event_t epollhup;
Expand Down

0 comments on commit d9deae6

Please sign in to comment.