From 0f1884546ff208d6a7aea2b2a56f640f8bea10a3 Mon Sep 17 00:00:00 2001 From: "Luke T. Shumaker" Date: Tue, 22 Oct 2024 01:14:15 -0600 Subject: wip dhcp --- libdhcp/include/libdhcp/dhcp.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'libdhcp/include') 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_ */ -- cgit v1.2.3-2-g168b