linkfaultreference.c
来自「基于网络服务控制芯片TF-320的嵌入式web server源代码」· C语言 代码 · 共 44 行
C
44 行
/****************************************************************************
*
* Name: portCountersCbk.c
*
* Description: Call Back Function
*
* Copyright: ASEC Corp.
* Author: Eli
* All rights reserved.
*
****************************************************************************/
#include <stdlib.h>
#include <string.h>
#include <stdio.h>
#include "tfTypes.h"
#include "fs.h"
#include "httpd.h"
#include "html.h"
#include "ip113f.h"
#include "lftreference.h"
extern struct httpd_state *hs;
extern variable_t var_list[];
u8_t ssiLFReference(u8_t varid, value_t *vp)
{
return OK;
}
u8_t tgiLFReference(u8_t cnt, value_t *vp)
{
if (( strncmp( var_list[1].value, "Return", 6)==0 )||( strncmp( var_list[0].value, "Return", 6)==0 ) )
{
httpd_send_file(fs_open3("Sstatus.htm"));
}
return OK;
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?