Merge pull request #462 from adamdunkels/push/no-reserved-double-inclusion-defines

Remove all leading double underscore inclusion #defines
This commit is contained in:
Nicolas Tsiftes 2013-11-26 14:26:37 -08:00
commit db4cada4e7
572 changed files with 1708 additions and 1708 deletions

View file

@ -31,11 +31,11 @@
* *
* *
*/ */
#ifndef __ABOUT_DSC_H__ #ifndef ABOUT_DSC_H_
#define __ABOUT_DSC_H__ #define ABOUT_DSC_H_
#include "sys/dsc.h" #include "sys/dsc.h"
DSC_HEADER(about_dsc); DSC_HEADER(about_dsc);
#endif /* __ABOUT_DSC_H__ */ #endif /* ABOUT_DSC_H_ */

View file

@ -31,11 +31,11 @@
* *
* *
*/ */
#ifndef __CALC_DSC_H__ #ifndef CALC_DSC_H_
#define __CALC_DSC_H__ #define CALC_DSC_H_
#include "sys/dsc.h" #include "sys/dsc.h"
DSC_HEADER(calc_dsc); DSC_HEADER(calc_dsc);
#endif /* __CALC_DSC_H__ */ #endif /* CALC_DSC_H_ */

View file

@ -1,8 +1,8 @@
#ifndef __CMDD_H__ #ifndef CMDD_H_
#define __CMDD_H__ #define CMDD_H_
#include "contiki.h" #include "contiki.h"
PROCESS_NAME(cmdd_process); PROCESS_NAME(cmdd_process);
#endif /* __CMDD_H__ */ #endif /* CMDD_H_ */

View file

@ -29,8 +29,8 @@
* This file is part of the Contiki operating system. * This file is part of the Contiki operating system.
* *
*/ */
#ifndef __CODEPROP_H__ #ifndef CODEPROP_H_
#define __CODEPROP_H__ #define CODEPROP_H_
#include "contiki.h" #include "contiki.h"
@ -43,4 +43,4 @@ void codeprop_start_broadcast(unsigned int len);
void codeprop_exit_program(void); void codeprop_exit_program(void);
int codeprop_start_program(void); int codeprop_start_program(void);
#endif /* __CODEPROP_H__ */ #endif /* CODEPROP_H_ */

View file

@ -29,8 +29,8 @@
* This file is part of the Contiki operating system. * This file is part of the Contiki operating system.
* *
*/ */
#ifndef __CODEPROP_H__ #ifndef CODEPROP_H_
#define __CODEPROP_H__ #define CODEPROP_H_
#include "contiki.h" #include "contiki.h"
@ -50,4 +50,4 @@ void codeprop_set_rate(clock_time_t time);
void codeprop_start_broadcast(unsigned int len); void codeprop_start_broadcast(unsigned int len);
void codeprop_start_program(void); void codeprop_start_program(void);
#endif /* __CODEPROP_H__ */ #endif /* CODEPROP_H_ */

View file

@ -31,11 +31,11 @@
* *
* *
*/ */
#ifndef __DHCP_DSC_H__ #ifndef DHCP_DSC_H_
#define __DHCP_DSC_H__ #define DHCP_DSC_H_
#include "sys/dsc.h" #include "sys/dsc.h"
DSC_HEADER(dhcp_dsc); DSC_HEADER(dhcp_dsc);
#endif /* __DHCP_DSC_H__ */ #endif /* DHCP_DSC_H_ */

View file

@ -31,11 +31,11 @@
* *
* *
*/ */
#ifndef __DIRECTORY_DSC_H__ #ifndef DIRECTORY_DSC_H_
#define __DIRECTORY_DSC_H__ #define DIRECTORY_DSC_H_
#include "sys/dsc.h" #include "sys/dsc.h"
DSC_HEADER(directory_dsc); DSC_HEADER(directory_dsc);
#endif /* __DIRECTORY_DSC_H__ */ #endif /* DIRECTORY_DSC_H_ */

View file

@ -31,11 +31,11 @@
* *
* *
*/ */
#ifndef __EMAIL_DSC_H__ #ifndef EMAIL_DSC_H_
#define __EMAIL_DSC_H__ #define EMAIL_DSC_H_
#include "sys/dsc.h" #include "sys/dsc.h"
DSC_HEADER(email_dsc); DSC_HEADER(email_dsc);
#endif /* __EMAIL_DSC_H__ */ #endif /* EMAIL_DSC_H_ */

View file

@ -31,9 +31,9 @@
* *
* *
*/ */
#ifndef __EMAIL_H__ #ifndef EMAIL_H_
#define __EMAIL_H__ #define EMAIL_H_
PROCESS_NAME(email_process); PROCESS_NAME(email_process);
#endif /* __EMAIL_H__ */ #endif /* EMAIL_H_ */

View file

@ -30,8 +30,8 @@
* *
* *
*/ */
#ifndef __SMTP_H__ #ifndef SMTP_H_
#define __SMTP_H__ #define SMTP_H_
#include "contiki-net.h" #include "contiki-net.h"
@ -60,4 +60,4 @@ void smtp_appcall(void *state);
void smtp_init(void); void smtp_init(void);
#endif /* __SMTP_H__ */ #endif /* SMTP_H_ */

View file

@ -31,11 +31,11 @@
* *
* *
*/ */
#ifndef __FTP_DSC_H__ #ifndef FTP_DSC_H_
#define __FTP_DSC_H__ #define FTP_DSC_H_
#include "sys/dsc.h" #include "sys/dsc.h"
DSC_HEADER(ftp_dsc); DSC_HEADER(ftp_dsc);
#endif /* __FTP_DSC_H__ */ #endif /* FTP_DSC_H_ */

View file

@ -31,9 +31,9 @@
* *
* *
*/ */
#ifndef __FTP_H__ #ifndef FTP_H_
#define __FTP_H__ #define FTP_H_
PROCESS_NAME(ftp_process); PROCESS_NAME(ftp_process);
#endif /* __FTP_H__ */ #endif /* FTP_H_ */

View file

@ -31,8 +31,8 @@
* Author: Adam Dunkels <adam@sics.se> * Author: Adam Dunkels <adam@sics.se>
* *
*/ */
#ifndef __FTPC_H__ #ifndef FTPC_H_
#define __FTPC_H__ #define FTPC_H_
#include "contiki-net.h" #include "contiki-net.h"
@ -64,4 +64,4 @@ void ftpc_timedout(void);
void ftpc_list_file(char *filename); void ftpc_list_file(char *filename);
void ftpc_data(uint8_t *data, uint16_t len); void ftpc_data(uint8_t *data, uint16_t len);
#endif /* __FTPC_H__ */ #endif /* FTPC_H_ */

View file

@ -30,8 +30,8 @@
* *
*/ */
#ifndef __HTTP_POST_AUTH_H__ #ifndef HTTP_POST_AUTH_H_
#define __HTTP_POST_AUTH_H__ #define HTTP_POST_AUTH_H_
#include "contiki-net.h" #include "contiki-net.h"
@ -39,4 +39,4 @@ PROCESS_NAME(http_post_auth_process);
int http_post_auth(const uint8_t *username_password, const char *message); int http_post_auth(const uint8_t *username_password, const char *message);
#endif /* __HTTP_POST_AUTH_H__ */ #endif /* HTTP_POST_AUTH_H_ */

View file

@ -38,8 +38,8 @@
* Joakim Eriksson <joakime@sics.se> * Joakim Eriksson <joakime@sics.se>
*/ */
#ifndef __HTTPD_WS_H__ #ifndef HTTPD_WS_H_
#define __HTTPD_WS_H__ #define HTTPD_WS_H_
#include "contiki-net.h" #include "contiki-net.h"
@ -122,4 +122,4 @@ httpd_ws_script_t httpd_ws_get_script(struct httpd_ws_state *s);
PROCESS_NAME(httpd_ws_process); PROCESS_NAME(httpd_ws_process);
#endif /* __HTTPD_WS_H__ */ #endif /* HTTPD_WS_H_ */

View file

@ -31,11 +31,11 @@
* *
* *
*/ */
#ifndef __IRC_DSC_H__ #ifndef IRC_DSC_H_
#define __IRC_DSC_H__ #define IRC_DSC_H_
#include "sys/dsc.h" #include "sys/dsc.h"
DSC_HEADER(irc_dsc); DSC_HEADER(irc_dsc);
#endif /* __IRC_DSC_H__ */ #endif /* IRC_DSC_H_ */

View file

@ -31,9 +31,9 @@
* *
* *
*/ */
#ifndef __IRC_H__ #ifndef IRC_H_
#define __IRC_H__ #define IRC_H_
PROCESS_NAME(irc_process); PROCESS_NAME(irc_process);
#endif /* __IRC_H__ */ #endif /* IRC_H_ */

View file

@ -31,8 +31,8 @@
* Author: Adam Dunkels <adam@sics.se> * Author: Adam Dunkels <adam@sics.se>
* *
*/ */
#ifndef __IRCC_H__ #ifndef IRCC_H_
#define __IRCC_H__ #define IRCC_H_
#include "contiki-net.h" #include "contiki-net.h"
@ -75,4 +75,4 @@ void ircc_closed(struct ircc_state *s);
void ircc_quit(struct ircc_state *s); void ircc_quit(struct ircc_state *s);
#endif /* __IRCC_H__ */ #endif /* IRCC_H_ */

View file

@ -37,8 +37,8 @@
* Joakim Eriksson <joakime@sics.se> * Joakim Eriksson <joakime@sics.se>
*/ */
#ifndef __JSON_H__ #ifndef JSON_H_
#define __JSON_H__ #define JSON_H_
#define JSON_TYPE_ARRAY '[' #define JSON_TYPE_ARRAY '['
#define JSON_TYPE_OBJECT '{' #define JSON_TYPE_OBJECT '{'
@ -67,4 +67,4 @@ enum {
#define JSON_CONTENT_TYPE "application/json" #define JSON_CONTENT_TYPE "application/json"
#endif /* __JSON_H__ */ #endif /* JSON_H_ */

View file

@ -29,8 +29,8 @@
* This file is part of the Contiki operating system. * This file is part of the Contiki operating system.
*/ */
#ifndef __JSONPARSE_H__ #ifndef JSONPARSE_H_
#define __JSONPARSE_H__ #define JSONPARSE_H_
#include "contiki-conf.h" #include "contiki-conf.h"
#include "json.h" #include "json.h"
@ -88,4 +88,4 @@ int jsonparse_get_type(struct jsonparse_state *state);
/* compare the JSON value with the specified string */ /* compare the JSON value with the specified string */
int jsonparse_strcmp_value(struct jsonparse_state *state, const char *str); int jsonparse_strcmp_value(struct jsonparse_state *state, const char *str);
#endif /* __JSONPARSE_H__ */ #endif /* JSONPARSE_H_ */

View file

@ -37,8 +37,8 @@
* Joakim Eriksson <joakime@sics.se> * Joakim Eriksson <joakime@sics.se>
*/ */
#ifndef __JSONTREE_H__ #ifndef JSONTREE_H_
#define __JSONTREE_H__ #define JSONTREE_H_
#include "contiki-conf.h" #include "contiki-conf.h"
#include "json.h" #include "json.h"
@ -132,4 +132,4 @@ int jsontree_print_next(struct jsontree_context *js_ctx);
struct jsontree_value *jsontree_find_next(struct jsontree_context *js_ctx, struct jsontree_value *jsontree_find_next(struct jsontree_context *js_ctx,
int type); int type);
#endif /* __JSONTREE_H__ */ #endif /* JSONTREE_H_ */

View file

@ -31,11 +31,11 @@
* *
* *
*/ */
#ifndef __NETCONF_DSC_H__ #ifndef NETCONF_DSC_H_
#define __NETCONF_DSC_H__ #define NETCONF_DSC_H_
#include "sys/dsc.h" #include "sys/dsc.h"
DSC_HEADER(netconf_dsc); DSC_HEADER(netconf_dsc);
#endif /* __NETCONF_DSC_H__ */ #endif /* NETCONF_DSC_H_ */

View file

@ -1,8 +1,8 @@
#ifndef __PING6_H__ #ifndef PING6_H_
#define __PING6_H__ #define PING6_H_
#include "contiki.h" #include "contiki.h"
PROCESS_NAME(ping6_process); PROCESS_NAME(ping6_process);
#endif /* __PING6_H__ */ #endif /* PING6_H_ */

View file

@ -31,11 +31,11 @@
* *
* *
*/ */
#ifndef __PROCESSES_DSC_H__ #ifndef PROCESSES_DSC_H_
#define __PROCESSES_DSC_H__ #define PROCESSES_DSC_H_
#include "sys/dsc.h" #include "sys/dsc.h"
DSC_HEADER(processes_dsc); DSC_HEADER(processes_dsc);
#endif /* __PROCESSES_DSC_H__ */ #endif /* PROCESSES_DSC_H_ */

View file

@ -31,8 +31,8 @@
* *
* *
*/ */
#ifndef __PROGRAM_HANDLER_H__ #ifndef PROGRAM_HANDLER_H_
#define __PROGRAM_HANDLER_H__ #define PROGRAM_HANDLER_H_
#include "sys/dsc.h" #include "sys/dsc.h"
@ -48,4 +48,4 @@ void program_handler_setscreensaver(char *name);
void program_handler_add(struct dsc *dsc, char *menuname, void program_handler_add(struct dsc *dsc, char *menuname,
unsigned char desktop); unsigned char desktop);
#endif /* __PROGRAM_HANDLER_H__ */ #endif /* PROGRAM_HANDLER_H_ */

View file

@ -37,11 +37,11 @@
* Adam Dunkels <adam@sics.se> * Adam Dunkels <adam@sics.se>
*/ */
#ifndef __SERIAL_SHELL_H__ #ifndef SERIAL_SHELL_H_
#define __SERIAL_SHELL_H__ #define SERIAL_SHELL_H_
#include "contiki.h" #include "contiki.h"
void serial_shell_init(void); void serial_shell_init(void);
#endif /* __SERIAL_SHELL_H__ */ #endif /* SERIAL_SHELL_H_ */

View file

@ -37,11 +37,11 @@
* Adam Dunkels <adam@sics.se> * Adam Dunkels <adam@sics.se>
*/ */
#ifndef __SHELL_BASE64_H__ #ifndef SHELL_BASE64_H_
#define __SHELL_BASE64_H__ #define SHELL_BASE64_H_
#include "shell.h" #include "shell.h"
void shell_base64_init(void); void shell_base64_init(void);
#endif /* __SHELL_BASE64_H__ */ #endif /* SHELL_BASE64_H_ */

View file

@ -37,11 +37,11 @@
* Adam Dunkels <adam@sics.se> * Adam Dunkels <adam@sics.se>
*/ */
#ifndef __SHELL_BLINK_H__ #ifndef SHELL_BLINK_H_
#define __SHELL_BLINK_H__ #define SHELL_BLINK_H_
#include "shell.h" #include "shell.h"
void shell_blink_init(void); void shell_blink_init(void);
#endif /* __SHELL_BLINK_H__ */ #endif /* SHELL_BLINK_H_ */

View file

@ -30,11 +30,11 @@
* *
*/ */
#ifndef __SHELL_CHECKPOINT_H__ #ifndef SHELL_CHECKPOINT_H_
#define __SHELL_CHECKPOINT_H__ #define SHELL_CHECKPOINT_H_
#include "shell.h" #include "shell.h"
void shell_checkpoint_init(void); void shell_checkpoint_init(void);
#endif /* __SHELL_CHECKPOINT_H__ */ #endif /* SHELL_CHECKPOINT_H_ */

View file

@ -37,11 +37,11 @@
* Adam Dunkels <adam@sics.se> * Adam Dunkels <adam@sics.se>
*/ */
#ifndef __SHELL_COFFEE_H__ #ifndef SHELL_COFFEE_H_
#define __SHELL_COFFEE_H__ #define SHELL_COFFEE_H_
#include "shell.h" #include "shell.h"
void shell_coffee_init(void); void shell_coffee_init(void);
#endif /* __SHELL_COFFEE_H__ */ #endif /* SHELL_COFFEE_H_ */

View file

@ -29,11 +29,11 @@
* This file is part of the Contiki operating system. * This file is part of the Contiki operating system.
*/ */
#ifndef __SHELL_CRC_H__ #ifndef SHELL_CRC_H_
#define __SHELL_CRC_H__ #define SHELL_CRC_H_
#include "shell.h" #include "shell.h"
void shell_crc_init(void); void shell_crc_init(void);
#endif /* __SHELL_CRC_H__ */ #endif /* SHELL_CRC_H_ */

View file

@ -30,11 +30,11 @@
* *
*/ */
#ifndef __SHELL_DOWNLOAD_H__ #ifndef SHELL_DOWNLOAD_H_
#define __SHELL_DOWNLOAD_H__ #define SHELL_DOWNLOAD_H_
#include "shell.h" #include "shell.h"
void shell_download_init(void); void shell_download_init(void);
#endif /* __SHELL_DOWNLOAD_H__ */ #endif /* SHELL_DOWNLOAD_H_ */

View file

@ -31,11 +31,11 @@
* *
* *
*/ */
#ifndef __SHELL_DSC_H__ #ifndef SHELL_DSC_H_
#define __SHELL_DSC_H__ #define SHELL_DSC_H_
#include "sys/dsc.h" #include "sys/dsc.h"
DSC_HEADER(shell_dsc); DSC_HEADER(shell_dsc);
#endif /* __SHELL_DSC_H__ */ #endif /* SHELL_DSC_H_ */

View file

@ -37,11 +37,11 @@
* Adam Dunkels <adam@sics.se> * Adam Dunkels <adam@sics.se>
*/ */
#ifndef __SHELL_EXEC_H__ #ifndef SHELL_EXEC_H_
#define __SHELL_EXEC_H__ #define SHELL_EXEC_H_
#include "shell.h" #include "shell.h"
void shell_exec_init(void); void shell_exec_init(void);
#endif /* __SHELL_EXEC_H__ */ #endif /* SHELL_EXEC_H_ */

View file

@ -37,11 +37,11 @@
* Adam Dunkels <adam@sics.se> * Adam Dunkels <adam@sics.se>
*/ */
#ifndef __SHELL_FILE_H__ #ifndef SHELL_FILE_H_
#define __SHELL_FILE_H__ #define SHELL_FILE_H_
#include "shell.h" #include "shell.h"
void shell_file_init(void); void shell_file_init(void);
#endif /* __SHELL_FILE_H__ */ #endif /* SHELL_FILE_H_ */

View file

@ -37,11 +37,11 @@
* Adam Dunkels <adam@sics.se> * Adam Dunkels <adam@sics.se>
*/ */
#ifndef __SHELL_HTTPD_H__ #ifndef SHELL_HTTPD_H_
#define __SHELL_HTTPD_H__ #define SHELL_HTTPD_H_
#include "shell.h" #include "shell.h"
void shell_httpd_init(void); void shell_httpd_init(void);
#endif /* __SHELL_HTTPD_H__ */ #endif /* SHELL_HTTPD_H_ */

View file

@ -37,11 +37,11 @@
* Adam Dunkels <adam@sics.se> * Adam Dunkels <adam@sics.se>
*/ */
#ifndef __SHELL_IRC_H__ #ifndef SHELL_IRC_H_
#define __SHELL_IRC_H__ #define SHELL_IRC_H_
#include "shell.h" #include "shell.h"
void shell_irc_init(void); void shell_irc_init(void);
#endif /* __SHELL_IRC_H__ */ #endif /* SHELL_IRC_H_ */

View file

@ -37,11 +37,11 @@
* Adam Dunkels <adam@sics.se> * Adam Dunkels <adam@sics.se>
*/ */
#ifndef __SHELL_MEMDEBUG_H__ #ifndef SHELL_MEMDEBUG_H_
#define __SHELL_MEMDEBUG_H__ #define SHELL_MEMDEBUG_H_
#include "shell.h" #include "shell.h"
void shell_memdebug_init(void); void shell_memdebug_init(void);
#endif /* __SHELL_MEMDEBUG_H__ */ #endif /* SHELL_MEMDEBUG_H_ */

View file

@ -37,11 +37,11 @@
* Adam Dunkels <adam@sics.se> * Adam Dunkels <adam@sics.se>
*/ */
#ifndef __SHELL_NETFILE_H__ #ifndef SHELL_NETFILE_H_
#define __SHELL_NETFILE_H__ #define SHELL_NETFILE_H_
#include "shell.h" #include "shell.h"
void shell_netfile_init(void); void shell_netfile_init(void);
#endif /* __SHELL_NETFILE_H__ */ #endif /* SHELL_NETFILE_H_ */

View file

@ -37,11 +37,11 @@
* Adam Dunkels <adam@sics.se> * Adam Dunkels <adam@sics.se>
*/ */
#ifndef __SHELL_NETPERF_H__ #ifndef SHELL_NETPERF_H_
#define __SHELL_NETPERF_H__ #define SHELL_NETPERF_H_
#include "shell.h" #include "shell.h"
void shell_netperf_init(void); void shell_netperf_init(void);
#endif /* __SHELL_NETPERF_H__ */ #endif /* SHELL_NETPERF_H_ */

View file

@ -37,11 +37,11 @@
* Adam Dunkels <adam@sics.se> * Adam Dunkels <adam@sics.se>
*/ */
#ifndef __SHELL_NETSTAT_H__ #ifndef SHELL_NETSTAT_H_
#define __SHELL_NETSTAT_H__ #define SHELL_NETSTAT_H_
#include "shell.h" #include "shell.h"
void shell_netstat_init(void); void shell_netstat_init(void);
#endif /* __SHELL_NETSTAT_H__ */ #endif /* SHELL_NETSTAT_H_ */

View file

@ -37,11 +37,11 @@
* Adam Dunkels <adam@sics.se> * Adam Dunkels <adam@sics.se>
*/ */
#ifndef __SHELL_PING_H__ #ifndef SHELL_PING_H_
#define __SHELL_PING_H__ #define SHELL_PING_H_
#include "shell.h" #include "shell.h"
void shell_ping_init(void); void shell_ping_init(void);
#endif /* __SHELL_PING_H__ */ #endif /* SHELL_PING_H_ */

View file

@ -37,9 +37,9 @@
* Adam Dunkels <adam@sics.se> * Adam Dunkels <adam@sics.se>
*/ */
#ifndef __SHELL_POWER_H__ #ifndef SHELL_POWER_H_
#define __SHELL_POWER_H__ #define SHELL_POWER_H_
void shell_power_init(void); void shell_power_init(void);
#endif /* __SHELL_POWER_H__ */ #endif /* SHELL_POWER_H_ */

View file

@ -37,11 +37,11 @@
* Adam Dunkels <adam@sics.se> * Adam Dunkels <adam@sics.se>
*/ */
#ifndef __SHELL_PROFILE_H__ #ifndef SHELL_PROFILE_H_
#define __SHELL_PROFILE_H__ #define SHELL_PROFILE_H_
#include "shell.h" #include "shell.h"
void shell_profile_init(void); void shell_profile_init(void);
#endif /* __SHELL_PROFILE_H__ */ #endif /* SHELL_PROFILE_H_ */

View file

@ -37,11 +37,11 @@
* Adam Dunkels <adam@sics.se> * Adam Dunkels <adam@sics.se>
*/ */
#ifndef __SHELL_PS_H__ #ifndef SHELL_PS_H_
#define __SHELL_PS_H__ #define SHELL_PS_H_
#include "shell.h" #include "shell.h"
void shell_ps_init(void); void shell_ps_init(void);
#endif /* __SHELL_PS_H__ */ #endif /* SHELL_PS_H_ */

View file

@ -37,11 +37,11 @@
* Adam Dunkels <adam@sics.se> * Adam Dunkels <adam@sics.se>
*/ */
#ifndef __SHELL_REBOOT_H__ #ifndef SHELL_REBOOT_H_
#define __SHELL_REBOOT_H__ #define SHELL_REBOOT_H_
#include "shell.h" #include "shell.h"
void shell_reboot_init(void); void shell_reboot_init(void);
#endif /* __SHELL_REBOOT_H__ */ #endif /* SHELL_REBOOT_H_ */

View file

@ -37,11 +37,11 @@
* Adam Dunkels <adam@sics.se> * Adam Dunkels <adam@sics.se>
*/ */
#ifndef __SHELL_RIME_DEBUG_RUNICAST_H__ #ifndef SHELL_RIME_DEBUG_RUNICAST_H_
#define __SHELL_RIME_DEBUG_RUNICAST_H__ #define SHELL_RIME_DEBUG_RUNICAST_H_
#include "shell.h" #include "shell.h"
void shell_rime_debug_runicast_init(void); void shell_rime_debug_runicast_init(void);
#endif /* __SHELL_RIME_DEBUG_RUNICAST_H__ */ #endif /* SHELL_RIME_DEBUG_RUNICAST_H_ */

View file

@ -37,11 +37,11 @@
* Adam Dunkels <adam@sics.se> * Adam Dunkels <adam@sics.se>
*/ */
#ifndef __SHELL_RIME_DEBUG_H__ #ifndef SHELL_RIME_DEBUG_H_
#define __SHELL_RIME_DEBUG_H__ #define SHELL_RIME_DEBUG_H_
#include "shell.h" #include "shell.h"
void shell_rime_debug_init(void); void shell_rime_debug_init(void);
#endif /* __SHELL_RIME_DEBUG_H__ */ #endif /* SHELL_RIME_DEBUG_H_ */

View file

@ -37,9 +37,9 @@
* Adam Dunkels <adam@sics.se> * Adam Dunkels <adam@sics.se>
*/ */
#ifndef __SHELL_RIME_NEIGHBORS_H__ #ifndef SHELL_RIME_NEIGHBORS_H_
#define __SHELL_RIME_NEIGHBORS_H__ #define SHELL_RIME_NEIGHBORS_H_
void shell_rime_neighbors_init(void); void shell_rime_neighbors_init(void);
#endif /* __SHELL-RIME_-NEIGHBORS_H__ */ #endif /* SHELL-RIME_-NEIGHBORS_H_ */

View file

@ -37,9 +37,9 @@
* Adam Dunkels <adam@sics.se> * Adam Dunkels <adam@sics.se>
*/ */
#ifndef __SHELL_RIME_NETCMD_H__ #ifndef SHELL_RIME_NETCMD_H_
#define __SHELL_RIME_NETCMD_H__ #define SHELL_RIME_NETCMD_H_
void shell_rime_netcmd_init(void); void shell_rime_netcmd_init(void);
#endif /* __SHELL_RIME_NETCMD_H__ */ #endif /* SHELL_RIME_NETCMD_H_ */

View file

@ -37,9 +37,9 @@
* Adam Dunkels <adam@sics.se> * Adam Dunkels <adam@sics.se>
*/ */
#ifndef __SHELL_RIME_PING_H__ #ifndef SHELL_RIME_PING_H_
#define __SHELL_RIME_PING_H__ #define SHELL_RIME_PING_H_
void shell_rime_ping_init(void); void shell_rime_ping_init(void);
#endif /* __SHELL-RIME_-PING_H__ */ #endif /* SHELL-RIME_-PING_H_ */

View file

@ -30,9 +30,9 @@
* *
*/ */
#ifndef __SHELL_RIME_SENDCMD_H__ #ifndef SHELL_RIME_SENDCMD_H_
#define __SHELL_RIME_SENDCMD_H__ #define SHELL_RIME_SENDCMD_H_
void shell_rime_sendcmd_init(void); void shell_rime_sendcmd_init(void);
#endif /* __SHELL_RIME_SENDCMD_H__ */ #endif /* SHELL_RIME_SENDCMD_H_ */

View file

@ -37,9 +37,9 @@
* Adam Dunkels <adam@sics.se> * Adam Dunkels <adam@sics.se>
*/ */
#ifndef __SHELL_RIME_SNIFF_H__ #ifndef SHELL_RIME_SNIFF_H_
#define __SHELL_RIME_SNIFF_H__ #define SHELL_RIME_SNIFF_H_
void shell_rime_sniff_init(void); void shell_rime_sniff_init(void);
#endif /* __SHELL_RIME_SNIFF_H__ */ #endif /* SHELL_RIME_SNIFF_H_ */

View file

@ -37,11 +37,11 @@
* Adam Dunkels <adam@sics.se> * Adam Dunkels <adam@sics.se>
*/ */
#ifndef __SHELL_RIME_UNICAST_H__ #ifndef SHELL_RIME_UNICAST_H_
#define __SHELL_RIME_UNICAST_H__ #define SHELL_RIME_UNICAST_H_
#include "shell.h" #include "shell.h"
void shell_rime_unicast_init(void); void shell_rime_unicast_init(void);
#endif /* __SHELL_RIME_UNICAST_H__ */ #endif /* SHELL_RIME_UNICAST_H_ */

View file

@ -37,8 +37,8 @@
* Adam Dunkels <adam@sics.se> * Adam Dunkels <adam@sics.se>
*/ */
#ifndef __SHELL_RIME_H__ #ifndef SHELL_RIME_H_
#define __SHELL_RIME_H__ #define SHELL_RIME_H_
#include "shell.h" #include "shell.h"
@ -86,4 +86,4 @@ void shell_rime_init(void);
extern struct collect_conn shell_collect_conn; extern struct collect_conn shell_collect_conn;
#endif /* __SHELL_RIME_H__ */ #endif /* SHELL_RIME_H_ */

View file

@ -37,11 +37,11 @@
* Adam Dunkels <adam@sics.se> * Adam Dunkels <adam@sics.se>
*/ */
#ifndef __SHELL_RSH_H__ #ifndef SHELL_RSH_H_
#define __SHELL_RSH_H__ #define SHELL_RSH_H_
#include "shell.h" #include "shell.h"
void shell_rsh_init(void); void shell_rsh_init(void);
#endif /* __SHELL_RSH_H__ */ #endif /* SHELL_RSH_H_ */

View file

@ -30,11 +30,11 @@
* *
*/ */
#ifndef __SHELL_RUN_H__ #ifndef SHELL_RUN_H_
#define __SHELL_RUN_H__ #define SHELL_RUN_H_
#include "shell.h" #include "shell.h"
void shell_run_init(void); void shell_run_init(void);
#endif /* __SHELL_RUN_H__ */ #endif /* SHELL_RUN_H_ */

View file

@ -37,11 +37,11 @@
* Adam Dunkels <adam@sics.se> * Adam Dunkels <adam@sics.se>
*/ */
#ifndef __SHELL_SENDTEST_H__ #ifndef SHELL_SENDTEST_H_
#define __SHELL_SENDTEST_H__ #define SHELL_SENDTEST_H_
#include "shell.h" #include "shell.h"
void shell_sendtest_init(void); void shell_sendtest_init(void);
#endif /* __SHELL_SENDTEST_H__ */ #endif /* SHELL_SENDTEST_H_ */

View file

@ -37,11 +37,11 @@
* Adam Dunkels <adam@sics.se> * Adam Dunkels <adam@sics.se>
*/ */
#ifndef __SHELL_SKY_H__ #ifndef SHELL_SKY_H_
#define __SHELL_SKY_H__ #define SHELL_SKY_H_
#include "shell.h" #include "shell.h"
void shell_sky_init(void); void shell_sky_init(void);
#endif /* __SHELL_SKY_H__ */ #endif /* SHELL_SKY_H_ */

View file

@ -37,11 +37,11 @@
* Adam Dunkels <adam@sics.se> * Adam Dunkels <adam@sics.se>
*/ */
#ifndef __SHELL_TCPSEND_H__ #ifndef SHELL_TCPSEND_H_
#define __SHELL_TCPSEND_H__ #define SHELL_TCPSEND_H_
#include "shell.h" #include "shell.h"
void shell_tcpsend_init(void); void shell_tcpsend_init(void);
#endif /* __SHELL_TCPSEND_H__ */ #endif /* SHELL_TCPSEND_H_ */

View file

@ -37,11 +37,11 @@
* Adam Dunkels <adam@sics.se> * Adam Dunkels <adam@sics.se>
*/ */
#ifndef __SHELL_TEXT_H__ #ifndef SHELL_TEXT_H_
#define __SHELL_TEXT_H__ #define SHELL_TEXT_H_
#include "shell.h" #include "shell.h"
void shell_text_init(void); void shell_text_init(void);
#endif /* __SHELL_TEXT_H__ */ #endif /* SHELL_TEXT_H_ */

View file

@ -37,11 +37,11 @@
* Adam Dunkels <adam@sics.se> * Adam Dunkels <adam@sics.se>
*/ */
#ifndef __SHELL_TIME_H__ #ifndef SHELL_TIME_H_
#define __SHELL_TIME_H__ #define SHELL_TIME_H_
#include "shell.h" #include "shell.h"
void shell_time_init(void); void shell_time_init(void);
#endif /* __SHELL_TIME_H__ */ #endif /* SHELL_TIME_H_ */

View file

@ -37,11 +37,11 @@
* Adam Dunkels <adam@sics.se> * Adam Dunkels <adam@sics.se>
*/ */
#ifndef __SHELL_UDPSEND_H__ #ifndef SHELL_UDPSEND_H_
#define __SHELL_UDPSEND_H__ #define SHELL_UDPSEND_H_
#include "shell.h" #include "shell.h"
void shell_udpsend_init(void); void shell_udpsend_init(void);
#endif /* __SHELL_UDPSEND_H__ */ #endif /* SHELL_UDPSEND_H_ */

View file

@ -37,11 +37,11 @@
* Adam Dunkels <adam@sics.se> * Adam Dunkels <adam@sics.se>
*/ */
#ifndef __SHELL_VARS_H__ #ifndef SHELL_VARS_H_
#define __SHELL_VARS_H__ #define SHELL_VARS_H_
#include "shell.h" #include "shell.h"
void shell_vars_init(void); void shell_vars_init(void);
#endif /* __SHELL_VARS_H__ */ #endif /* SHELL_VARS_H_ */

View file

@ -37,11 +37,11 @@
* Adam Dunkels <adam@sics.se> * Adam Dunkels <adam@sics.se>
*/ */
#ifndef __SHELL_WGET_H__ #ifndef SHELL_WGET_H_
#define __SHELL_WGET_H__ #define SHELL_WGET_H_
#include "shell.h" #include "shell.h"
void shell_wget_init(void); void shell_wget_init(void);
#endif /* __SHELL_WGET_H__ */ #endif /* SHELL_WGET_H_ */

View file

@ -57,8 +57,8 @@
* Adam Dunkels <adam@sics.se> * Adam Dunkels <adam@sics.se>
*/ */
#ifndef __SHELL_H__ #ifndef SHELL_H_
#define __SHELL_H__ #define SHELL_H_
#include "sys/process.h" #include "sys/process.h"
@ -411,7 +411,7 @@ struct shell_input {
#include "shell-vars.h" #include "shell-vars.h"
#include "shell-wget.h" #include "shell-wget.h"
#endif /* __SHELL_H__ */ #endif /* SHELL_H_ */
/** @} */ /** @} */

View file

@ -35,8 +35,8 @@
* Joakim Eriksson <joakime@sics.se> * Joakim Eriksson <joakime@sics.se>
*/ */
#ifndef __CMD_H__ #ifndef CMD_H_
#define __CMD_H__ #define CMD_H_
#include "contiki.h" #include "contiki.h"
@ -50,4 +50,4 @@ const cmd_handler_t cmd_handlers[] = {__VA_ARGS__, NULL}
void cmd_input(const uint8_t *data, int data_len); void cmd_input(const uint8_t *data, int data_len);
void cmd_send(const uint8_t *data, int data_len); void cmd_send(const uint8_t *data, int data_len);
#endif /* __CMD_H__ */ #endif /* CMD_H_ */

View file

@ -27,11 +27,11 @@
* SUCH DAMAGE. * SUCH DAMAGE.
*/ */
#ifndef __PACKETUTILS_H__ #ifndef PACKETUTILS_H_
#define __PACKETUTILS_H__ #define PACKETUTILS_H_
int packetutils_serialize_atts(uint8_t *data, int size); int packetutils_serialize_atts(uint8_t *data, int size);
int packetutils_deserialize_atts(const uint8_t *data, int size); int packetutils_deserialize_atts(const uint8_t *data, int size);
#endif /* __PACKETUTILS_H__ */ #endif /* PACKETUTILS_H_ */

View file

@ -31,8 +31,8 @@
* *
* *
*/ */
#ifndef __SIMPLETELNET_H__ #ifndef SIMPLETELNET_H_
#define __SIMPLETELNET_H__ #define SIMPLETELNET_H_
#ifdef TELNET_CONF_WINDOW_WIDTH #ifdef TELNET_CONF_WINDOW_WIDTH
#define TELNET_WINDOW_WIDTH TELNET_CONF_WINDOW_WIDTH #define TELNET_WINDOW_WIDTH TELNET_CONF_WINDOW_WIDTH
@ -63,4 +63,4 @@
void simpletelnet_init(char *arg); void simpletelnet_init(char *arg);
#endif /* __SIMPLETELNET_H__ */ #endif /* SIMPLETELNET_H_ */

View file

@ -31,11 +31,11 @@
* *
* *
*/ */
#ifndef __TELNET_DSC_H__ #ifndef TELNET_DSC_H_
#define __TELNET_DSC_H__ #define TELNET_DSC_H_
#include "sys/dsc.h" #include "sys/dsc.h"
DSC_HEADER(telnet_dsc); DSC_HEADER(telnet_dsc);
#endif /* __TELNET_DSC_H__ */ #endif /* TELNET_DSC_H_ */

View file

@ -30,8 +30,8 @@
* *
* *
*/ */
#ifndef __TELNET_H__ #ifndef TELNET_H_
#define __TELNET_H__ #define TELNET_H_
#include "contiki-net.h" #include "contiki-net.h"
@ -57,4 +57,4 @@ void telnet_sent(struct telnet_state *s);
void telnet_aborted(struct telnet_state *s); void telnet_aborted(struct telnet_state *s);
void telnet_timedout(struct telnet_state *s); void telnet_timedout(struct telnet_state *s);
void telnet_newdata(struct telnet_state *s, char *data, uint16_t len); void telnet_newdata(struct telnet_state *s, char *data, uint16_t len);
#endif /* __TELNET_H__ */ #endif /* TELNET_H_ */

View file

@ -31,11 +31,11 @@
* *
* *
*/ */
#ifndef __TELNETD_DSC_H__ #ifndef TELNETD_DSC_H_
#define __TELNETD_DSC_H__ #define TELNETD_DSC_H_
#include "sys/dsc.h" #include "sys/dsc.h"
DSC_HEADER(telnetd_dsc); DSC_HEADER(telnetd_dsc);
#endif /* __TELNETD_DSC_H__ */ #endif /* TELNETD_DSC_H_ */

View file

@ -31,8 +31,8 @@
* *
* *
*/ */
#ifndef __TELNETD_H__ #ifndef TELNETD_H_
#define __TELNETD_H__ #define TELNETD_H_
#include "contiki.h" #include "contiki.h"
@ -47,4 +47,4 @@ void telnetd_gui_output(const char *str1, int len1, const char *str2, int len2);
void telnetd_gui_quit(void); void telnetd_gui_quit(void);
void telnetd_quit(void); void telnetd_quit(void);
#endif /* __TELNETD_H__ */ #endif /* TELNETD_H_ */

View file

@ -32,8 +32,8 @@
* *
*/ */
#ifndef __VNC_DRAW_H__ #ifndef VNC_DRAW_H_
#define __VNC_DRAW_H__ #define VNC_DRAW_H_
#include "net/uip_arch.h" #include "net/uip_arch.h"
@ -57,4 +57,4 @@ uint16_t vnc_draw_viewport_y(void);
uint16_t vnc_draw_viewport_w(void); uint16_t vnc_draw_viewport_w(void);
uint16_t vnc_draw_viewport_h(void); uint16_t vnc_draw_viewport_h(void);
#endif /* __VNC_DRAW_H__ */ #endif /* VNC_DRAW_H_ */

View file

@ -31,11 +31,11 @@
* *
* *
*/ */
#ifndef __VNC_DSC_H__ #ifndef VNC_DSC_H_
#define __VNC_DSC_H__ #define VNC_DSC_H_
#include "sys/dsc.h" #include "sys/dsc.h"
DSC_HEADER(vnc_dsc); DSC_HEADER(vnc_dsc);
#endif /* __VNC_DSC_H__ */ #endif /* VNC_DSC_H_ */

View file

@ -32,8 +32,8 @@
* *
*/ */
#ifndef __VNC_VIEWER_H__ #ifndef VNC_VIEWER_H_
#define __VNC_VIEWER_H__ #define VNC_VIEWER_H_
struct vnc_viewer_state; struct vnc_viewer_state;
@ -323,4 +323,4 @@ struct rfb_pointer_event {
uint16_t y; uint16_t y;
}; };
#endif /* __VNC_VIEWER_H__ */ #endif /* VNC_VIEWER_H_ */

View file

@ -31,9 +31,9 @@
* *
* *
*/ */
#ifndef __VNC_H__ #ifndef VNC_H_
#define __VNC_H__ #define VNC_H_
void vnc_init(char *arg); void vnc_init(char *arg);
#endif /* __VNC_H__ */ #endif /* VNC_H_ */

View file

@ -31,8 +31,8 @@
* *
* *
*/ */
#ifndef __HTMLPARSER_H__ #ifndef HTMLPARSER_H_
#define __HTMLPARSER_H__ #define HTMLPARSER_H_
#include "contiki-net.h" #include "contiki-net.h"
@ -62,4 +62,4 @@ void htmlparser_init(void);
void htmlparser_parse(char *data, uint16_t len); void htmlparser_parse(char *data, uint16_t len);
#endif /* __HTMLPARSER_H__ */ #endif /* HTMLPARSER_H_ */

View file

@ -31,8 +31,8 @@
* *
* *
*/ */
#ifndef __WEBCLIENT_H__ #ifndef WEBCLIENT_H_
#define __WEBCLIENT_H__ #define WEBCLIENT_H_
#include "contiki-net.h" #include "contiki-net.h"
#include "http-strings.h" #include "http-strings.h"
@ -62,4 +62,4 @@ char *webclient_filename(void);
char *webclient_hostname(void); char *webclient_hostname(void);
unsigned short webclient_port(void); unsigned short webclient_port(void);
#endif /* __WEBCLIENT_H__ */ #endif /* WEBCLIENT_H_ */

View file

@ -31,11 +31,11 @@
* *
* *
*/ */
#ifndef __WWW_DSC_H__ #ifndef WWW_DSC_H_
#define __WWW_DSC_H__ #define WWW_DSC_H_
#include "sys/dsc.h" #include "sys/dsc.h"
DSC_HEADER(www_dsc); DSC_HEADER(www_dsc);
#endif /* __WWW_DSC_H__ */ #endif /* WWW_DSC_H_ */

View file

@ -31,8 +31,8 @@
* *
* *
*/ */
#ifndef __WWW_H__ #ifndef WWW_H_
#define __WWW_H__ #define WWW_H_
#ifndef WWW_CONF_WEBPAGE_WIDTH #ifndef WWW_CONF_WEBPAGE_WIDTH
#define WWW_CONF_WEBPAGE_WIDTH 80 #define WWW_CONF_WEBPAGE_WIDTH 80
@ -64,4 +64,4 @@
PROCESS_NAME(www_process); PROCESS_NAME(www_process);
#endif /* __WWW_H__ */ #endif /* WWW_H_ */

View file

@ -31,8 +31,8 @@
* *
*/ */
#ifndef __HTTPD_CFS_H__ #ifndef HTTPD_CFS_H_
#define __HTTPD_CFS_H__ #define HTTPD_CFS_H_
#include "contiki-net.h" #include "contiki-net.h"
@ -58,4 +58,4 @@ struct httpd_state {
void httpd_init(void); void httpd_init(void);
void httpd_appcall(void *state); void httpd_appcall(void *state);
#endif /* __HTTPD_CFS_H__ */ #endif /* HTTPD_CFS_H_ */

View file

@ -31,8 +31,8 @@
* *
*/ */
#ifndef __HTTPD_CGI_H__ #ifndef HTTPD_CGI_H_
#define __HTTPD_CGI_H__ #define HTTPD_CGI_H_
#include "contiki.h" #include "contiki.h"
#include "httpd.h" #include "httpd.h"
@ -53,4 +53,4 @@ void httpd_cgi_add(struct httpd_cgi_call *c);
static struct httpd_cgi_call name = {NULL, str, function} static struct httpd_cgi_call name = {NULL, str, function}
void httpd_cgi_init(void); void httpd_cgi_init(void);
#endif /* __HTTPD_CGI_H__ */ #endif /* HTTPD_CGI_H_ */

View file

@ -28,8 +28,8 @@
* *
* This file is part of the lwIP TCP/IP stack. * This file is part of the lwIP TCP/IP stack.
*/ */
#ifndef __HTTPD_FS_H__ #ifndef HTTPD_FS_H_
#define __HTTPD_FS_H__ #define HTTPD_FS_H_
#include "contiki-net.h" #include "contiki-net.h"
#include "httpd.h" #include "httpd.h"
@ -51,4 +51,4 @@ void* httpd_fs_get_root(void);
void httpd_fs_init(void); void httpd_fs_init(void);
#endif /* __HTTPD_FS_H__ */ #endif /* HTTPD_FS_H_ */

View file

@ -31,8 +31,8 @@
* Author: Adam Dunkels <adam@sics.se> * Author: Adam Dunkels <adam@sics.se>
* *
*/ */
#ifndef __HTTPD_FSDATA_H__ #ifndef HTTPD_FSDATA_H_
#define __HTTPD_FSDATA_H__ #define HTTPD_FSDATA_H_
#include "contiki-net.h" #include "contiki-net.h"
@ -60,4 +60,4 @@ struct httpd_fsdata_file_noconst {
#endif /* HTTPD_FS_STATISTICS */ #endif /* HTTPD_FS_STATISTICS */
}; };
#endif /* __HTTPD_FSDATA_H__ */ #endif /* HTTPD_FSDATA_H_ */

View file

@ -31,8 +31,8 @@
* *
*/ */
#ifndef __HTTPD_H__ #ifndef HTTPD_H_
#define __HTTPD_H__ #define HTTPD_H_
/* /*
* The default number of simultaneous server connections is 4. Multiple connections can be triggered * The default number of simultaneous server connections is 4. Multiple connections can be triggered
* by requests for embedded images, style sheets, icons, etc. and a TCP RESET is issued when no more * by requests for embedded images, style sheets, icons, etc. and a TCP RESET is issued when no more
@ -328,4 +328,4 @@ char TCPBUF[512];
#endif #endif
#endif /* __HTTPD_H__ */ #endif /* HTTPD_H_ */

View file

@ -30,10 +30,10 @@
* *
*/ */
#ifndef __URLCONV_H__ #ifndef URLCONV_H_
#define __URLCONV_H__ #define URLCONV_H_
void urlconv_init(void); void urlconv_init(void);
void urlconv_tofilename(char *dest, char *source, unsigned char maxlen); void urlconv_tofilename(char *dest, char *source, unsigned char maxlen);
#endif /* __URLCONV_H__ */ #endif /* URLCONV_H_ */

View file

@ -31,11 +31,11 @@
* *
* *
*/ */
#ifndef __WEBSERVER_DSC_H__ #ifndef WEBSERVER_DSC_H_
#define __WEBSERVER_DSC_H__ #define WEBSERVER_DSC_H_
#include "sys/dsc.h" #include "sys/dsc.h"
DSC_HEADER(webserver_dsc); DSC_HEADER(webserver_dsc);
#endif /* __WEBSERVER_DSC_H__ */ #endif /* WEBSERVER_DSC_H_ */

View file

@ -31,8 +31,8 @@
* *
* *
*/ */
#ifndef __WEBSERVER_NOGUI_H__ #ifndef WEBSERVER_NOGUI_H_
#define __WEBSERVER_NOGUI_H__ #define WEBSERVER_NOGUI_H_
#include "contiki-net.h" #include "contiki-net.h"
@ -41,4 +41,4 @@ PROCESS_NAME(webserver_nogui_process);
void webserver_log(char *msg); void webserver_log(char *msg);
void webserver_log_file(uip_ipaddr_t *requester, char *file); void webserver_log_file(uip_ipaddr_t *requester, char *file);
#endif /* __WEBSERVER_H__ */ #endif /* WEBSERVER_H_ */

View file

@ -31,8 +31,8 @@
* *
* *
*/ */
#ifndef __WEBSERVER_H__ #ifndef WEBSERVER_H_
#define __WEBSERVER_H__ #define WEBSERVER_H_
#include "contiki-net.h" #include "contiki-net.h"
@ -41,4 +41,4 @@ PROCESS_NAME(webserver_process);
void webserver_log(char *msg); void webserver_log(char *msg);
void webserver_log_file(uip_ipaddr_t *requester, char *file); void webserver_log_file(uip_ipaddr_t *requester, char *file);
#endif /* __WEBSERVER_H__ */ #endif /* WEBSERVER_H_ */

View file

@ -31,8 +31,8 @@
* *
*/ */
#ifndef __HTTPD_CFS_H__ #ifndef HTTPD_CFS_H_
#define __HTTPD_CFS_H__ #define HTTPD_CFS_H_
#include "contiki-net.h" #include "contiki-net.h"
@ -58,4 +58,4 @@ struct httpd_state {
void httpd_init(void); void httpd_init(void);
void httpd_appcall(void *state); void httpd_appcall(void *state);
#endif /* __HTTPD_CFS_H__ */ #endif /* HTTPD_CFS_H_ */

View file

@ -31,8 +31,8 @@
* *
*/ */
#ifndef __HTTPD_CGI_H__ #ifndef HTTPD_CGI_H_
#define __HTTPD_CGI_H__ #define HTTPD_CGI_H_
#include "contiki.h" #include "contiki.h"
#include "httpd.h" #include "httpd.h"
@ -53,4 +53,4 @@ void httpd_cgi_add(struct httpd_cgi_call *c);
static struct httpd_cgi_call name = {NULL, str, function} static struct httpd_cgi_call name = {NULL, str, function}
void httpd_cgi_init(void); void httpd_cgi_init(void);
#endif /* __HTTPD_CGI_H__ */ #endif /* HTTPD_CGI_H_ */

View file

@ -31,8 +31,8 @@
* Author: Adam Dunkels <adam@sics.se> * Author: Adam Dunkels <adam@sics.se>
* *
*/ */
#ifndef __HTTPD_FS_H__ #ifndef HTTPD_FS_H_
#define __HTTPD_FS_H__ #define HTTPD_FS_H_
#include "contiki-net.h" #include "contiki-net.h"
@ -55,4 +55,4 @@ uint16_t httpd_fs_count(char *name);
void httpd_fs_init(void); void httpd_fs_init(void);
#endif /* __HTTPD_FS_H__ */ #endif /* HTTPD_FS_H_ */

View file

@ -31,8 +31,8 @@
* Author: Adam Dunkels <adam@sics.se> * Author: Adam Dunkels <adam@sics.se>
* *
*/ */
#ifndef __HTTPD_FSDATA_H__ #ifndef HTTPD_FSDATA_H_
#define __HTTPD_FSDATA_H__ #define HTTPD_FSDATA_H_
#include "contiki-net.h" #include "contiki-net.h"
@ -60,4 +60,4 @@ struct httpd_fsdata_file_noconst {
#endif /* HTTPD_FS_STATISTICS */ #endif /* HTTPD_FS_STATISTICS */
}; };
#endif /* __HTTPD_FSDATA_H__ */ #endif /* HTTPD_FSDATA_H_ */

View file

@ -31,8 +31,8 @@
* *
*/ */
#ifndef __HTTPD_H__ #ifndef HTTPD_H_
#define __HTTPD_H__ #define HTTPD_H_
#include "contiki-net.h" #include "contiki-net.h"
@ -63,4 +63,4 @@ void httpd_appcall(void *state);
uint8_t httpd_sprint_ip6(uip_ip6addr_t addr, char * result); uint8_t httpd_sprint_ip6(uip_ip6addr_t addr, char * result);
#endif /* UIP_CONF_IPV6 */ #endif /* UIP_CONF_IPV6 */
#endif /* __HTTPD_H__ */ #endif /* HTTPD_H_ */

View file

@ -30,10 +30,10 @@
* *
*/ */
#ifndef __URLCONV_H__ #ifndef URLCONV_H_
#define __URLCONV_H__ #define URLCONV_H_
void urlconv_init(void); void urlconv_init(void);
void urlconv_tofilename(char *dest, char *source, unsigned char maxlen); void urlconv_tofilename(char *dest, char *source, unsigned char maxlen);
#endif /* __URLCONV_H__ */ #endif /* URLCONV_H_ */

View file

@ -31,11 +31,11 @@
* *
* *
*/ */
#ifndef __WEBSERVER_DSC_H__ #ifndef WEBSERVER_DSC_H_
#define __WEBSERVER_DSC_H__ #define WEBSERVER_DSC_H_
#include "sys/dsc.h" #include "sys/dsc.h"
DSC_HEADER(webserver_dsc); DSC_HEADER(webserver_dsc);
#endif /* __WEBSERVER_DSC_H__ */ #endif /* WEBSERVER_DSC_H_ */

View file

@ -31,8 +31,8 @@
* *
* *
*/ */
#ifndef __WEBSERVER_NOGUI_H__ #ifndef WEBSERVER_NOGUI_H_
#define __WEBSERVER_NOGUI_H__ #define WEBSERVER_NOGUI_H_
#include "contiki-net.h" #include "contiki-net.h"
@ -41,4 +41,4 @@ PROCESS_NAME(webserver_nogui_process);
void webserver_log(char *msg); void webserver_log(char *msg);
void webserver_log_file(uip_ipaddr_t *requester, char *file); void webserver_log_file(uip_ipaddr_t *requester, char *file);
#endif /* __WEBSERVER_H__ */ #endif /* WEBSERVER_H_ */

View file

@ -31,8 +31,8 @@
* *
* *
*/ */
#ifndef __WEBSERVER_H__ #ifndef WEBSERVER_H_
#define __WEBSERVER_H__ #define WEBSERVER_H_
#include "contiki-net.h" #include "contiki-net.h"
@ -41,4 +41,4 @@ PROCESS_NAME(webserver_process);
void webserver_log(char *msg); void webserver_log(char *msg);
void webserver_log_file(uip_ipaddr_t *requester, char *file); void webserver_log_file(uip_ipaddr_t *requester, char *file);
#endif /* __WEBSERVER_H__ */ #endif /* WEBSERVER_H_ */

View file

@ -55,8 +55,8 @@
* Author: Adam Dunkels <adam@sics.se> * Author: Adam Dunkels <adam@sics.se>
* *
*/ */
#ifndef __CFS_H__ #ifndef CFS_H_
#define __CFS_H__ #define CFS_H_
#include "contiki.h" #include "contiki.h"
@ -276,7 +276,7 @@ CCIF int cfs_readdir(struct cfs_dir *dirp, struct cfs_dirent *dirent);
CCIF void cfs_closedir(struct cfs_dir *dirp); CCIF void cfs_closedir(struct cfs_dir *dirp);
#endif #endif
#endif /* __CFS_H__ */ #endif /* CFS_H_ */
/** @} */ /** @} */
/** @} */ /** @} */

Some files were not shown because too many files have changed in this diff Show more