⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 _h_csp.c

📁 這裡對linux系統下的CGI的開發用很好的入門學習指導作用。是學習CGI 的初學者非常好的實例材料。
💻 C
字号:
/* NOTE: DO NOT EDIT THIS FILE,
 * this file is create by tool (csp2bin version: 00.07.00) automaticly, 
 * build at: Tue Mar 14 09:42:55 2006
 */
/* NOTE: YOU SHOULDN'T ADD THIS FILE TO YOUR PROJECT DIRECTLY, 
 * When you add `../xx_maplist.c' to your project, 
 * this file will be added into your project. 
 * 
 */ 

#include <stdio.h>
#include <string.h>
#include <eblib.h>
                     

static int _h_csp___mime_header();

int _h_csp__ (int calldepth, void * ebfp)
{
    int __ret=OK;
    char * __page_name="h.csp";
    char * __page_path="/";
    char * __page_fullname="/h.csp";

    if (calldepth==MAX_CALL_DEPTH)
        __ret=_h_csp___mime_header(ebfp);
    goto_ERROR;

    __ret=(int)ebBufStringAdd(ebfp, 
        "<html>\n"
        "<body>\n"
        "hello world.\n"
        "</body>\n"
        "</html>\n"
        );
    goto_ERROR;

    if (ERROR == ebBufFlush(ebfp)) return ERROR;

    return __ret;
} /* _h_csp__ */

static int _h_csp___mime_header(void * ebfp) 
{
    return ebprintf(ebfp, "Content-type: text/html\n\n");
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -