mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2026-09-24 05:04:10 +08:00
[DHCPD] add new version DHCPD use lwip raw api.
This commit is contained in:
@@ -1,7 +1,11 @@
|
||||
from building import *
|
||||
|
||||
cwd = GetCurrentDir()
|
||||
src = Glob('*.c')
|
||||
|
||||
if GetDepend('RT_USING_LWIP202'):
|
||||
src = ['dhcp_server_raw.c']
|
||||
else:
|
||||
src = ['dhcp_server.c']
|
||||
|
||||
CPPPATH = [cwd]
|
||||
|
||||
|
||||
@@ -31,7 +31,15 @@
|
||||
#ifndef DHCPV4_SERVER_H__
|
||||
#define DHCPV4_SERVER_H__
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
void dhcpd_start(const char *netif_name);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user