📄 telnet_callbacks.c
字号:
#include"datatypes.h"
#include"globalvariables.h"
#include"debug.h"
#include"system.h"
#include"tcp_ip.h"
#ifdef TELNET_WANTED
#include"telnet_server.h"
INT16 telnet_findfile (UINT8 hash, UINT8 ses)
{
/* Access the File table on FLASH with given hash key*/
return(1);
}
/** \brief Fill network transmit buffer with HTTP headers&data
* \author
* \li Jari Lahti (jari.lahti@violasystems.com)
* \date 09.10.2002
* \param ses HTTP session identifier
* \param buf Pointer to buffer where data is to be stored
* \param buflen Length of the buffer in bytes
* \return
* \li >=0 - Number of bytes written to buffer
* \warning
* \li This function <b>MUST</b> be implemented by user application
* to work with local configuration
*
* This handlers' job is to fill the buffer with the data that web server
* should return back through the TCP connection. This is accomplished
* based session identifer and values of variables in appropriate
* https entry.
*/
INT16 telnet_loadbuffer (UINT8 ses, UINT8* buf, UINT16 buflen)
{
UINT16 i=0;
return(i);
}
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -