xos_http_vtbl.h.svn-base

来自「brew头文件分析」· SVN-BASE 代码 · 共 47 行

SVN-BASE
47
字号
//**************************************************************
//Copyright (C), 2008-2008, AnyLook Co., Ltd.
//File name:    xOS_Http_VTBL.h
//Author:       AnyLook
//Version:      1.0
//Date:         2008/07/31
//Description:
//    xOS Include file
//Others: 
//Function List: 
//<Name>        <desc>
//Simple        
//History: 
//<author>      <time>      <version >  <desc>
// AnyLook    2008/07/318       1.0       build this moudle  
//**************************************************************


#ifndef _xOS_Http_VTBL_H
#define _xOS_Http_VTBL_H

#include "xOS.h"
#include "xOS_rwhttp.h"

INTERFACE(Http)
{   
   /*
    * Reads data from an HTTP file/page source.
    * @param auth optionally specifies simple authentication authrozation,
    * of the form user:pass.  Leave it NULL for no auth.
    * @param host is the server, like "burningsmell.org".  Omit the HTTP.
    * @param path is the file, like "/index.html".  / is needed.
    * @param port is the HTTP port.  Standard port is 80.
    */
    xOS_RWops   *(*RWFromHTTP)(const char *auth, const char *host, const char *path, 
    						   Uint16 port, int size, char *strsize);   


	xOS_RWops	*(*RWFromFile)(const char *file, const char *mode);

  
};


#endif //_xOS_Http_VTBL_H

⌨️ 快捷键说明

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