diff options
Diffstat (limited to 'libdhcp/include')
-rw-r--r-- | libdhcp/include/libdhcp/dhcp.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/libdhcp/include/libdhcp/dhcp.h b/libdhcp/include/libdhcp/dhcp.h index ec3912e..5d9b5cb 100644 --- a/libdhcp/include/libdhcp/dhcp.h +++ b/libdhcp/include/libdhcp/dhcp.h @@ -109,10 +109,9 @@ enum { /* * @brief DHCP client initialization (outside of the main loop) - * @param s - socket number * @param buf - buffer for processing DHCP message */ -void DHCP_init(uint8_t s, uint8_t * buf); +void DHCP_init(void *buf); /* * @brief DHCP 1s Tick Timer handler @@ -138,6 +137,6 @@ uint8_t DHCP_run(implements_net_udpsock *sock, dhcp_callback_t cb); * @brief Stop DHCP processing * @note If you want to restart. call DHCP_init() and DHCP_run() */ -void DHCP_stop(void); +void DHCP_stop(implements_net_udpsock *sock); #endif /* _LIBDHCP_DHCP_H_ */ |