diff options
author | Luke T. Shumaker <lukeshu@lukeshu.com> | 2024-10-22 01:14:15 -0600 |
---|---|---|
committer | Luke T. Shumaker <lukeshu@lukeshu.com> | 2024-10-22 01:14:15 -0600 |
commit | 0f1884546ff208d6a7aea2b2a56f640f8bea10a3 (patch) | |
tree | 0ea22880184ada5768a9a26c1beaa4ce69b2fc58 /libdhcp/include | |
parent | 898ff8c864af4ea22264988031f3e86abc129f25 (diff) |
wip dhcp
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_ */ |