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__
#define __ABOUT_DSC_H__
#ifndef ABOUT_DSC_H_
#define ABOUT_DSC_H_
#include "sys/dsc.h"
DSC_HEADER(about_dsc);
#endif /* __ABOUT_DSC_H__ */
#endif /* ABOUT_DSC_H_ */

View File

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

View File

@ -1,8 +1,8 @@
#ifndef __CMDD_H__
#define __CMDD_H__
#ifndef CMDD_H_
#define CMDD_H_
#include "contiki.h"
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.
*
*/
#ifndef __CODEPROP_H__
#define __CODEPROP_H__
#ifndef CODEPROP_H_
#define CODEPROP_H_
#include "contiki.h"
@ -43,4 +43,4 @@ void codeprop_start_broadcast(unsigned int len);
void codeprop_exit_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.
*
*/
#ifndef __CODEPROP_H__
#define __CODEPROP_H__
#ifndef CODEPROP_H_
#define CODEPROP_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_program(void);
#endif /* __CODEPROP_H__ */
#endif /* CODEPROP_H_ */

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -31,8 +31,8 @@
* Author: Adam Dunkels <adam@sics.se>
*
*/
#ifndef __FTPC_H__
#define __FTPC_H__
#ifndef FTPC_H_
#define FTPC_H_
#include "contiki-net.h"
@ -64,4 +64,4 @@ void ftpc_timedout(void);
void ftpc_list_file(char *filename);
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__
#define __HTTP_POST_AUTH_H__
#ifndef HTTP_POST_AUTH_H_
#define HTTP_POST_AUTH_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);
#endif /* __HTTP_POST_AUTH_H__ */
#endif /* HTTP_POST_AUTH_H_ */

View File

@ -38,8 +38,8 @@
* Joakim Eriksson <joakime@sics.se>
*/
#ifndef __HTTPD_WS_H__
#define __HTTPD_WS_H__
#ifndef HTTPD_WS_H_
#define HTTPD_WS_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);
#endif /* __HTTPD_WS_H__ */
#endif /* HTTPD_WS_H_ */

View File

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

View File

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

View File

@ -31,8 +31,8 @@
* Author: Adam Dunkels <adam@sics.se>
*
*/
#ifndef __IRCC_H__
#define __IRCC_H__
#ifndef IRCC_H_
#define IRCC_H_
#include "contiki-net.h"
@ -75,4 +75,4 @@ void ircc_closed(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>
*/
#ifndef __JSON_H__
#define __JSON_H__
#ifndef JSON_H_
#define JSON_H_
#define JSON_TYPE_ARRAY '['
#define JSON_TYPE_OBJECT '{'
@ -67,4 +67,4 @@ enum {
#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.
*/
#ifndef __JSONPARSE_H__
#define __JSONPARSE_H__
#ifndef JSONPARSE_H_
#define JSONPARSE_H_
#include "contiki-conf.h"
#include "json.h"
@ -88,4 +88,4 @@ int jsonparse_get_type(struct jsonparse_state *state);
/* compare the JSON value with the specified string */
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>
*/
#ifndef __JSONTREE_H__
#define __JSONTREE_H__
#ifndef JSONTREE_H_
#define JSONTREE_H_
#include "contiki-conf.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,
int type);
#endif /* __JSONTREE_H__ */
#endif /* JSONTREE_H_ */

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -37,11 +37,11 @@
* Adam Dunkels <adam@sics.se>
*/
#ifndef __SHELL_COFFEE_H__
#define __SHELL_COFFEE_H__
#ifndef SHELL_COFFEE_H_
#define SHELL_COFFEE_H_
#include "shell.h"
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.
*/
#ifndef __SHELL_CRC_H__
#define __SHELL_CRC_H__
#ifndef SHELL_CRC_H_
#define SHELL_CRC_H_
#include "shell.h"
void shell_crc_init(void);
#endif /* __SHELL_CRC_H__ */
#endif /* SHELL_CRC_H_ */

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -37,11 +37,11 @@
* Adam Dunkels <adam@sics.se>
*/
#ifndef __SHELL_RIME_DEBUG_RUNICAST_H__
#define __SHELL_RIME_DEBUG_RUNICAST_H__
#ifndef SHELL_RIME_DEBUG_RUNICAST_H_
#define SHELL_RIME_DEBUG_RUNICAST_H_
#include "shell.h"
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>
*/
#ifndef __SHELL_RIME_DEBUG_H__
#define __SHELL_RIME_DEBUG_H__
#ifndef SHELL_RIME_DEBUG_H_
#define SHELL_RIME_DEBUG_H_
#include "shell.h"
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>
*/
#ifndef __SHELL_RIME_NEIGHBORS_H__
#define __SHELL_RIME_NEIGHBORS_H__
#ifndef SHELL_RIME_NEIGHBORS_H_
#define SHELL_RIME_NEIGHBORS_H_
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>
*/
#ifndef __SHELL_RIME_NETCMD_H__
#define __SHELL_RIME_NETCMD_H__
#ifndef SHELL_RIME_NETCMD_H_
#define SHELL_RIME_NETCMD_H_
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>
*/
#ifndef __SHELL_RIME_PING_H__
#define __SHELL_RIME_PING_H__
#ifndef SHELL_RIME_PING_H_
#define SHELL_RIME_PING_H_
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__
#define __SHELL_RIME_SENDCMD_H__
#ifndef SHELL_RIME_SENDCMD_H_
#define SHELL_RIME_SENDCMD_H_
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>
*/
#ifndef __SHELL_RIME_SNIFF_H__
#define __SHELL_RIME_SNIFF_H__
#ifndef SHELL_RIME_SNIFF_H_
#define SHELL_RIME_SNIFF_H_
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>
*/
#ifndef __SHELL_RIME_UNICAST_H__
#define __SHELL_RIME_UNICAST_H__
#ifndef SHELL_RIME_UNICAST_H_
#define SHELL_RIME_UNICAST_H_
#include "shell.h"
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>
*/
#ifndef __SHELL_RIME_H__
#define __SHELL_RIME_H__
#ifndef SHELL_RIME_H_
#define SHELL_RIME_H_
#include "shell.h"
@ -86,4 +86,4 @@ void shell_rime_init(void);
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>
*/
#ifndef __SHELL_RSH_H__
#define __SHELL_RSH_H__
#ifndef SHELL_RSH_H_
#define SHELL_RSH_H_
#include "shell.h"
void shell_rsh_init(void);
#endif /* __SHELL_RSH_H__ */
#endif /* SHELL_RSH_H_ */

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -35,8 +35,8 @@
* Joakim Eriksson <joakime@sics.se>
*/
#ifndef __CMD_H__
#define __CMD_H__
#ifndef CMD_H_
#define CMD_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_send(const uint8_t *data, int data_len);
#endif /* __CMD_H__ */
#endif /* CMD_H_ */

View File

@ -27,11 +27,11 @@
* SUCH DAMAGE.
*/
#ifndef __PACKETUTILS_H__
#define __PACKETUTILS_H__
#ifndef PACKETUTILS_H_
#define PACKETUTILS_H_
int packetutils_serialize_atts(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__
#define __SIMPLETELNET_H__
#ifndef SIMPLETELNET_H_
#define SIMPLETELNET_H_
#ifdef TELNET_CONF_WINDOW_WIDTH
#define TELNET_WINDOW_WIDTH TELNET_CONF_WINDOW_WIDTH
@ -63,4 +63,4 @@
void simpletelnet_init(char *arg);
#endif /* __SIMPLETELNET_H__ */
#endif /* SIMPLETELNET_H_ */

View File

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

View File

@ -30,8 +30,8 @@
*
*
*/
#ifndef __TELNET_H__
#define __TELNET_H__
#ifndef TELNET_H_
#define TELNET_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_timedout(struct telnet_state *s);
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__
#define __TELNETD_DSC_H__
#ifndef TELNETD_DSC_H_
#define TELNETD_DSC_H_
#include "sys/dsc.h"
DSC_HEADER(telnetd_dsc);
#endif /* __TELNETD_DSC_H__ */
#endif /* TELNETD_DSC_H_ */

View File

@ -31,8 +31,8 @@
*
*
*/
#ifndef __TELNETD_H__
#define __TELNETD_H__
#ifndef TELNETD_H_
#define TELNETD_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_quit(void);
#endif /* __TELNETD_H__ */
#endif /* TELNETD_H_ */

View File

@ -32,8 +32,8 @@
*
*/
#ifndef __VNC_DRAW_H__
#define __VNC_DRAW_H__
#ifndef VNC_DRAW_H_
#define VNC_DRAW_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_h(void);
#endif /* __VNC_DRAW_H__ */
#endif /* VNC_DRAW_H_ */

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -31,8 +31,8 @@
*
*/
#ifndef __HTTPD_CGI_H__
#define __HTTPD_CGI_H__
#ifndef HTTPD_CGI_H_
#define HTTPD_CGI_H_
#include "contiki.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}
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.
*/
#ifndef __HTTPD_FS_H__
#define __HTTPD_FS_H__
#ifndef HTTPD_FS_H_
#define HTTPD_FS_H_
#include "contiki-net.h"
#include "httpd.h"
@ -51,4 +51,4 @@ void* httpd_fs_get_root(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>
*
*/
#ifndef __HTTPD_FSDATA_H__
#define __HTTPD_FSDATA_H__
#ifndef HTTPD_FSDATA_H_
#define HTTPD_FSDATA_H_
#include "contiki-net.h"
@ -60,4 +60,4 @@ struct httpd_fsdata_file_noconst {
#endif /* HTTPD_FS_STATISTICS */
};
#endif /* __HTTPD_FSDATA_H__ */
#endif /* HTTPD_FSDATA_H_ */

View File

@ -31,8 +31,8 @@
*
*/
#ifndef __HTTPD_H__
#define __HTTPD_H__
#ifndef HTTPD_H_
#define HTTPD_H_
/*
* 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
@ -328,4 +328,4 @@ char TCPBUF[512];
#endif
#endif /* __HTTPD_H__ */
#endif /* HTTPD_H_ */

View File

@ -30,10 +30,10 @@
*
*/
#ifndef __URLCONV_H__
#define __URLCONV_H__
#ifndef URLCONV_H_
#define URLCONV_H_
void urlconv_init(void);
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__
#define __WEBSERVER_DSC_H__
#ifndef WEBSERVER_DSC_H_
#define WEBSERVER_DSC_H_
#include "sys/dsc.h"
DSC_HEADER(webserver_dsc);
#endif /* __WEBSERVER_DSC_H__ */
#endif /* WEBSERVER_DSC_H_ */

View File

@ -31,8 +31,8 @@
*
*
*/
#ifndef __WEBSERVER_NOGUI_H__
#define __WEBSERVER_NOGUI_H__
#ifndef WEBSERVER_NOGUI_H_
#define WEBSERVER_NOGUI_H_
#include "contiki-net.h"
@ -41,4 +41,4 @@ PROCESS_NAME(webserver_nogui_process);
void webserver_log(char *msg);
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__
#define __WEBSERVER_H__
#ifndef WEBSERVER_H_
#define WEBSERVER_H_
#include "contiki-net.h"
@ -41,4 +41,4 @@ PROCESS_NAME(webserver_process);
void webserver_log(char *msg);
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__
#define __HTTPD_CFS_H__
#ifndef HTTPD_CFS_H_
#define HTTPD_CFS_H_
#include "contiki-net.h"
@ -58,4 +58,4 @@ struct httpd_state {
void httpd_init(void);
void httpd_appcall(void *state);
#endif /* __HTTPD_CFS_H__ */
#endif /* HTTPD_CFS_H_ */

View File

@ -31,8 +31,8 @@
*
*/
#ifndef __HTTPD_CGI_H__
#define __HTTPD_CGI_H__
#ifndef HTTPD_CGI_H_
#define HTTPD_CGI_H_
#include "contiki.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}
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>
*
*/
#ifndef __HTTPD_FS_H__
#define __HTTPD_FS_H__
#ifndef HTTPD_FS_H_
#define HTTPD_FS_H_
#include "contiki-net.h"
@ -55,4 +55,4 @@ uint16_t httpd_fs_count(char *name);
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>
*
*/
#ifndef __HTTPD_FSDATA_H__
#define __HTTPD_FSDATA_H__
#ifndef HTTPD_FSDATA_H_
#define HTTPD_FSDATA_H_
#include "contiki-net.h"
@ -60,4 +60,4 @@ struct httpd_fsdata_file_noconst {
#endif /* HTTPD_FS_STATISTICS */
};
#endif /* __HTTPD_FSDATA_H__ */
#endif /* HTTPD_FSDATA_H_ */

View File

@ -31,8 +31,8 @@
*
*/
#ifndef __HTTPD_H__
#define __HTTPD_H__
#ifndef HTTPD_H_
#define HTTPD_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);
#endif /* UIP_CONF_IPV6 */
#endif /* __HTTPD_H__ */
#endif /* HTTPD_H_ */

View File

@ -30,10 +30,10 @@
*
*/
#ifndef __URLCONV_H__
#define __URLCONV_H__
#ifndef URLCONV_H_
#define URLCONV_H_
void urlconv_init(void);
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__
#define __WEBSERVER_DSC_H__
#ifndef WEBSERVER_DSC_H_
#define WEBSERVER_DSC_H_
#include "sys/dsc.h"
DSC_HEADER(webserver_dsc);
#endif /* __WEBSERVER_DSC_H__ */
#endif /* WEBSERVER_DSC_H_ */

View File

@ -31,8 +31,8 @@
*
*
*/
#ifndef __WEBSERVER_NOGUI_H__
#define __WEBSERVER_NOGUI_H__
#ifndef WEBSERVER_NOGUI_H_
#define WEBSERVER_NOGUI_H_
#include "contiki-net.h"
@ -41,4 +41,4 @@ PROCESS_NAME(webserver_nogui_process);
void webserver_log(char *msg);
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__
#define __WEBSERVER_H__
#ifndef WEBSERVER_H_
#define WEBSERVER_H_
#include "contiki-net.h"
@ -41,4 +41,4 @@ PROCESS_NAME(webserver_process);
void webserver_log(char *msg);
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>
*
*/
#ifndef __CFS_H__
#define __CFS_H__
#ifndef CFS_H_
#define CFS_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);
#endif
#endif /* __CFS_H__ */
#endif /* CFS_H_ */
/** @} */
/** @} */

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