亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? webclient.h

?? uip(uip 0.9 and uip 1.0)源代碼。實(shí)現(xiàn)tcp/ip
?? H
字號(hào):
/** * \addtogroup webclient * @{ *//** * \file * Header file for the HTTP client. * \author Adam Dunkels <adam@dunkels.com> *//* * Copyright (c) 2002, Adam Dunkels. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright *    notice, this list of conditions and the following disclaimer. * 2. Redistributions in binary form must reproduce the above *    copyright notice, this list of conditions and the following *    disclaimer in the documentation and/or other materials provided *    with the distribution. * 3. The name of the author may not be used to endorse or promote *    products derived from this software without specific prior *    written permission. * * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS * OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE * ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * * This file is part of the uIP TCP/IP stack. * * $Id: webclient.h,v 1.2 2006/06/11 21:46:37 adam Exp $ * */#ifndef __WEBCLIENT_H__#define __WEBCLIENT_H__#include "webclient-strings.h"#include "uipopt.h"#define WEBCLIENT_CONF_MAX_URLLEN 100struct webclient_state {  u8_t timer;  u8_t state;  u8_t httpflag;  u16_t port;  char host[40];  char file[WEBCLIENT_CONF_MAX_URLLEN];  u16_t getrequestptr;  u16_t getrequestleft;    char httpheaderline[200];  u16_t httpheaderlineptr;  char mimetype[32];};typedef struct webclient_state uip_tcp_appstate_t;#define UIP_APPCALL webclient_appcall/** * Callback function that is called from the webclient code when HTTP * data has been received. * * This function must be implemented by the module that uses the * webclient code. The function is called from the webclient module * when HTTP data has been received. The function is not called when * HTTP headers are received, only for the actual data. * * \note This function is called many times, repetedly, when data is * being received, and not once when all data has been received. * * \param data A pointer to the data that has been received. * \param len The length of the data that has been received. */void webclient_datahandler(char *data, u16_t len);/** * Callback function that is called from the webclient code when the * HTTP connection has been connected to the web server. * * This function must be implemented by the module that uses the * webclient code. */void webclient_connected(void);/** * Callback function that is called from the webclient code if the * HTTP connection to the web server has timed out. * * This function must be implemented by the module that uses the * webclient code. */void webclient_timedout(void);/** * Callback function that is called from the webclient code if the * HTTP connection to the web server has been aborted by the web * server. * * This function must be implemented by the module that uses the * webclient code. */void webclient_aborted(void);/** * Callback function that is called from the webclient code when the * HTTP connection to the web server has been closed. * * This function must be implemented by the module that uses the * webclient code. */void webclient_closed(void);/** * Initialize the webclient module. */void webclient_init(void);/** * Open an HTTP connection to a web server and ask for a file using * the GET method. * * This function opens an HTTP connection to the specified web server * and requests the specified file using the GET method. When the HTTP * connection has been connected, the webclient_connected() callback * function is called and when the HTTP data arrives the * webclient_datahandler() callback function is called. * * The callback function webclient_timedout() is called if the web * server could not be contacted, and the webclient_aborted() callback * function is called if the HTTP connection is aborted by the web * server. * * When the HTTP request has been completed and the HTTP connection is * closed, the webclient_closed() callback function will be called. * * \note If the function is passed a host name, it must already be in * the resolver cache in order for the function to connect to the web * server. It is therefore up to the calling module to implement the * resolver calls and the signal handler used for reporting a resolv * query answer. * * \param host A pointer to a string containing either a host name or * a numerical IP address in dotted decimal notation (e.g., 192.168.23.1). * * \param port The port number to which to connect, in host byte order. * * \param file A pointer to the name of the file to get. * * \retval 0 if the host name could not be found in the cache, or * if a TCP connection could not be created. * * \retval 1 if the connection was initiated. */unsigned char webclient_get(char *host, u16_t port, char *file);/** * Close the currently open HTTP connection. */void webclient_close(void);void webclient_appcall(void);/** * Obtain the MIME type of the current HTTP data stream. * * \return A pointer to a string contaning the MIME type. The string * may be empty if no MIME type was reported by the web server. */char *webclient_mimetype(void);/** * Obtain the filename of the current HTTP data stream. * * The filename of an HTTP request may be changed by the web server, * and may therefore not be the same as when the original GET request * was made with webclient_get(). This function is used for obtaining * the current filename. * * \return A pointer to the current filename. */char *webclient_filename(void);/** * Obtain the hostname of the current HTTP data stream. * * The hostname of the web server of an HTTP request may be changed * by the web server, and may therefore not be the same as when the * original GET request was made with webclient_get(). This function * is used for obtaining the current hostname. * * \return A pointer to the current hostname. */char *webclient_hostname(void);/** * Obtain the port number of the current HTTP data stream. * * The port number of an HTTP request may be changed by the web * server, and may therefore not be the same as when the original GET * request was made with webclient_get(). This function is used for * obtaining the current port number. * * \return The port number of the current HTTP data stream, in host byte order. */unsigned short webclient_port(void);#endif /* __WEBCLIENT_H__ *//** @} */

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
精品国产一区二区在线观看| 青青青伊人色综合久久| 亚洲一区二区三区四区中文字幕| 日韩 欧美一区二区三区| 处破女av一区二区| 欧美精品第一页| 日韩理论片一区二区| 国产激情视频一区二区在线观看| 欧美日韩国产精品自在自线| 成人免费在线观看入口| 国产精品一区二区在线播放| 欧美三级电影在线观看| 最新日韩av在线| 国产福利精品导航| 欧美变态口味重另类| 三级不卡在线观看| 欧美日韩在线直播| 亚洲午夜久久久久久久久电影院 | 蜜臀av一级做a爰片久久| 99精品黄色片免费大全| 国产日韩欧美精品在线| 激情小说欧美图片| 26uuu亚洲综合色| 精品一区二区三区在线观看| 日韩一区二区影院| 另类成人小视频在线| 欧美精品一级二级三级| 亚洲国产日韩一区二区| 在线观看一区二区视频| 亚洲久本草在线中文字幕| 99精品视频一区二区三区| 国产精品每日更新在线播放网址| 国产成人在线看| 精品国产免费人成电影在线观看四季 | av在线播放成人| 成人欧美一区二区三区白人| 成人的网站免费观看| 免费精品视频最新在线| 日韩欧美成人一区| 国产又粗又猛又爽又黄91精品| 亚洲精品在线免费播放| 懂色av一区二区三区免费观看| 久久精品亚洲麻豆av一区二区| 国产精品自拍毛片| 最新国产精品久久精品| 成人免费福利片| 亚洲四区在线观看| 69精品人人人人| 国产伦精品一区二区三区在线观看| 久久综合色婷婷| 99re在线视频这里只有精品| 亚洲第一成人在线| 日韩免费高清av| 99久久综合狠狠综合久久| 亚洲女人小视频在线观看| 欧美高清hd18日本| 国产成人h网站| 一区二区三区四区在线播放 | 精品国免费一区二区三区| 国产99久久久精品| 亚洲乱码日产精品bd| 欧美一级高清片| 91丨porny丨中文| 日韩精品色哟哟| 中文字幕亚洲精品在线观看| 欧美日韩精品一区二区三区蜜桃| 国产一区欧美二区| 一区二区三区.www| 久久久久久影视| 欧美三级中文字幕在线观看| 国产精品18久久久久| 丝袜脚交一区二区| 亚洲欧美在线高清| xnxx国产精品| 欧美日韩午夜在线视频| 成人午夜视频免费看| 日韩在线一二三区| 尤物av一区二区| 欧美国产激情一区二区三区蜜月| 欧美日韩美女一区二区| 成人97人人超碰人人99| 国产在线观看一区二区| 香蕉影视欧美成人| 亚洲嫩草精品久久| 国产欧美综合色| 91精品国产综合久久久久久漫画| av电影在线观看完整版一区二区| 美女诱惑一区二区| 天天色综合天天| 亚洲影视资源网| 国产精品久久久久久久久久久免费看 | 国产精品中文字幕欧美| 日韩不卡手机在线v区| 一区二区三区四区蜜桃| 中文字幕+乱码+中文字幕一区| 欧美一卡二卡在线观看| 精品婷婷伊人一区三区三| 99视频精品全部免费在线| 国产成人福利片| 国产高清不卡二三区| 精品一区二区三区香蕉蜜桃| 丝袜诱惑制服诱惑色一区在线观看 | 久久精品人人做| 26uuu欧美| 欧美草草影院在线视频| 日韩视频免费观看高清完整版| 精品婷婷伊人一区三区三| 欧洲亚洲精品在线| 欧美中文字幕一二三区视频| 91美女福利视频| 色综合网色综合| 91福利在线看| 欧美日韩一二三| 4438成人网| 久久色在线观看| 国产日韩欧美在线一区| 中文字幕+乱码+中文字幕一区| 国产欧美一区二区精品性色超碰 | 在线电影院国产精品| 欧美日本一区二区| 欧美一区二区三区的| 欧美一级艳片视频免费观看| 日韩女优毛片在线| 久久久99精品久久| 国产精品日韩成人| 亚洲精品久久久蜜桃| 一区二区三区在线观看动漫| 亚洲国产成人porn| 久久99精品久久久久久动态图| 国产精品99久久久久久有的能看 | 国产一区二区免费看| 国产精品资源在线| eeuss鲁片一区二区三区| 色琪琪一区二区三区亚洲区| 91精品国产综合久久香蕉的特点| 日韩你懂的在线观看| 国产欧美日韩在线看| 亚洲精品国产第一综合99久久| 首页国产欧美日韩丝袜| 国产精品一区二区在线观看网站| 91在线观看美女| 777亚洲妇女| 中文字幕欧美国产| 亚洲国产成人精品视频| 国产一区视频网站| 欧美天堂一区二区三区| 精品国产区一区| 亚洲免费大片在线观看| 精品一区二区免费| 在线精品观看国产| 久久综合成人精品亚洲另类欧美 | 欧洲国产伦久久久久久久| www.欧美精品一二区| 国产精品99久久久久久久vr| 91亚洲国产成人精品一区二区三| 欧美无乱码久久久免费午夜一区| 日韩美女天天操| 亚洲精品日韩一| 色哟哟国产精品| 精品99久久久久久| 欧美日韩一本到| 中文字幕一区二区三区在线播放| 国产成人在线网站| 国产精品久久久久久久午夜片 | 国产露脸91国语对白| 久久欧美中文字幕| 国产精品一区二区你懂的| 国产日韩成人精品| zzijzzij亚洲日本少妇熟睡| 国产精品久久久久天堂| 99re视频精品| 亚洲一区二区三区精品在线| 欧美日韩一区二区电影| 人妖欧美一区二区| 精品国产一区二区在线观看| 国产精品 日产精品 欧美精品| 日韩电影一二三区| 精品国产sm最大网站免费看| 激情小说亚洲一区| 国产精品另类一区| 色综合激情五月| 婷婷一区二区三区| 久久久精品欧美丰满| 成人精品国产免费网站| 一区二区三区在线看| 欧美人动与zoxxxx乱| 久久黄色级2电影| 国产精品美女视频| 欧美性大战久久久久久久| 日本不卡一区二区三区高清视频| 欧美www视频| 91在线播放网址| 日本不卡一区二区三区高清视频| 久久色.com| 欧美专区日韩专区| 美女脱光内衣内裤视频久久影院| 久久青草国产手机看片福利盒子| 91免费观看视频在线| 日产国产欧美视频一区精品| 欧美精彩视频一区二区三区|