aboutsummaryrefslogtreecommitdiff
path: root/Projects/Webserver/Lib/DHCPClientApp.h
diff options
context:
space:
mode:
authorDean Camera <[email protected]>2010-03-10 12:48:20 +0000
committerDean Camera <[email protected]>2010-03-10 12:48:20 +0000
commitaca7863350509a1f390eda93ac0150378d8cd16c (patch)
treecc807cb6af03604e0f019c181b96d31f39b08dcd /Projects/Webserver/Lib/DHCPClientApp.h
parent92418433a505cdf1db0162cea2bdb22a99014ebb (diff)
downloadqmk_firmware-aca7863350509a1f390eda93ac0150378d8cd16c.tar.gz
qmk_firmware-aca7863350509a1f390eda93ac0150378d8cd16c.zip
Added ENABLE_TELNET_SERVER compile time option to the Webserver project to disable the TELNET server if desired.
Change over static strings in the Webserver project to use PROGMEM where possible.
Diffstat (limited to 'Projects/Webserver/Lib/DHCPClientApp.h')
-rw-r--r--Projects/Webserver/Lib/DHCPClientApp.h11
1 files changed, 7 insertions, 4 deletions
diff --git a/Projects/Webserver/Lib/DHCPClientApp.h b/Projects/Webserver/Lib/DHCPClientApp.h
index 947151d0b1..702f79704c 100644
--- a/Projects/Webserver/Lib/DHCPClientApp.h
+++ b/Projects/Webserver/Lib/DHCPClientApp.h
@@ -159,8 +159,11 @@
void DHCPClientApp_Init(void);
void DHCPClientApp_Callback(void);
- uint16_t DHCPClientApp_FillDHCPHeader(DHCP_Header_t* DHCPHeader, uint8_t DHCPMessageType, uip_udp_appstate_t* AppState);
- uint8_t DHCPClientApp_SetOption(uint8_t* DHCPOptionList, uint8_t Option, uint8_t DataLen, void* OptionData);
- bool DHCPClientApp_GetOption(uint8_t* DHCPOptionList, uint8_t Option, void* Destination);
-
+ #if defined(INCLUDE_FROM_DHCPCLIENTAPP_C)
+ static uint16_t DHCPClientApp_FillDHCPHeader(DHCP_Header_t* DHCPHeader, uint8_t DHCPMessageType,
+ uip_udp_appstate_t* AppState);
+ static uint8_t DHCPClientApp_SetOption(uint8_t* DHCPOptionList, uint8_t Option, uint8_t DataLen,
+ void* OptionData);
+ static bool DHCPClientApp_GetOption(uint8_t* DHCPOptionList, uint8_t Option, void* Destination);
+ #endif
#endif