📄 appdatatrans.h
字号:
#ifndef __appdatatrans_H__
#define __appdatatrans_H__
void datatrans_init(void);
void datatrans_appcall(void);
/* UIP_APPCALL: the name of the application function. This function
must return void and take no arguments (i.e., C type "void
appfunc(void)"). */
#ifndef UIP_APPCALL
#define UIP_APPCALL datatrans_appcall
#endif
struct datatrans_state { u8_t state;
u16_t count;
char *dataptr;
};
/* UIP_APPSTATE_SIZE: The size of the application-specific state
stored in the uip_conn structure. */
#ifndef UIP_APPSTATE_SIZE
#define UIP_APPSTATE_SIZE (sizeof(struct datatrans_state))
#endif
extern struct datatrans_state *s;
#define F_STATISTICS 1
#endif /* __appdatatrans_H__ */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -