mirror of
https://github.com/apache/nuttx-apps.git
synced 2026-10-12 16:30:14 +00:00
DHCPC: Remove hard-coded interface device. Now passed as a parameter to dhcpc_open().
This commit is contained in:
parent
395c191b43
commit
ea1025ead2
10 changed files with 26 additions and 33 deletions
|
|
@ -75,8 +75,9 @@ extern "C"
|
|||
#define EXTERN extern
|
||||
#endif
|
||||
|
||||
FAR void *dhcpc_open(FAR const void *mac_addr, int mac_len);
|
||||
int dhcpc_request(FAR void *handle, FAR struct dhcpc_state *presult);
|
||||
FAR void *dhcpc_open(FAR const char *interface,
|
||||
FAR const void *mac_addr, int mac_len);
|
||||
int dhcpc_request(FAR void *handle, FAR struct dhcpc_state *presult);
|
||||
void dhcpc_close(FAR void *handle);
|
||||
|
||||
#undef EXTERN
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue