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

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? webclient.h

?? uip1.0原代碼和用戶手冊,適用于單片機嵌入tcp/ip協議棧.
?? H
字號:
/** * \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__ *//** @} */

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
一本大道综合伊人精品热热| 亚洲天堂a在线| 色偷偷一区二区三区| 成人妖精视频yjsp地址| 狠狠色综合色综合网络| 久久精品国产99国产| 日本特黄久久久高潮| 热久久久久久久| 精品亚洲porn| 国产一区二区三区免费观看| 国产sm精品调教视频网站| 国产a级毛片一区| 成人国产一区二区三区精品| 色综合一区二区| 欧洲色大大久久| 91麻豆精品国产自产在线 | 丝袜诱惑制服诱惑色一区在线观看 | 这里只有精品视频在线观看| 91福利视频久久久久| 欧美在线免费观看视频| 91麻豆精品久久久久蜜臀 | 成人激情黄色小说| 一本到三区不卡视频| 欧美日韩国产综合草草| 日韩久久久久久| 国产视频一区不卡| 夜夜揉揉日日人人青青一国产精品| 亚洲国产精品一区二区www在线| 青青草国产成人99久久| 丁香六月综合激情| 欧美高清性hdvideosex| 久久精品综合网| 亚洲一区影音先锋| 国产一区二区三区黄视频| 91小视频免费看| 日韩精品一区二区三区四区视频 | 欧美日韩国产天堂| 精品国精品国产| 亚洲日本免费电影| 麻豆91在线观看| 一道本成人在线| 久久久精品综合| 午夜精品在线看| av资源网一区| 久久视频一区二区| 亚洲777理论| 99久久精品国产毛片| 日韩免费看的电影| 亚洲一区二区免费视频| 懂色av噜噜一区二区三区av| 777欧美精品| 亚洲黄网站在线观看| 高清beeg欧美| 日韩欧美二区三区| 亚洲第一会所有码转帖| 99久久久无码国产精品| 久久亚洲精精品中文字幕早川悠里| 一级精品视频在线观看宜春院| 国产福利一区二区三区视频| 日韩午夜激情av| 亚洲va国产天堂va久久en| 91久久人澡人人添人人爽欧美| 国产午夜精品理论片a级大结局 | 综合分类小说区另类春色亚洲小说欧美 | 欧美日韩一区二区在线视频| 国产亚洲欧洲一区高清在线观看| 午夜精品久久久久久久99樱桃| 一本色道久久综合亚洲aⅴ蜜桃 | 国产麻豆精品视频| 日韩精品资源二区在线| 五月婷婷激情综合| 欧美日韩在线精品一区二区三区激情| 1区2区3区欧美| 午夜精品123| 国产91精品在线观看| 日韩欧美一区电影| 蜜臀国产一区二区三区在线播放| 在线视频观看一区| 性感美女极品91精品| 91视频免费播放| 亚洲欧美一区二区三区孕妇| 成人性视频网站| 国产精品国产三级国产普通话99 | 欧美精品久久久久久久久老牛影院| 日韩理论在线观看| 色偷偷成人一区二区三区91 | 国模无码大尺度一区二区三区| 91精品国产黑色紧身裤美女| 免费成人在线视频观看| 日韩视频国产视频| 亚洲mv大片欧洲mv大片精品| 欧美电影免费观看高清完整版在线观看 | 国产视频视频一区| 成人午夜免费av| 亚洲天堂精品视频| 欧美在线三级电影| 另类小说色综合网站| 国产欧美一区二区精品秋霞影院| 懂色中文一区二区在线播放| 成人免费一区二区三区视频 | 亚洲视频你懂的| 欧美伊人精品成人久久综合97| 亚洲第一久久影院| 日韩精品一区二区三区中文不卡 | 不卡一卡二卡三乱码免费网站| 国产日韩一级二级三级| jlzzjlzz欧美大全| 亚洲电影在线播放| 日韩精品一区二区三区swag| 福利91精品一区二区三区| 亚洲女同女同女同女同女同69| 91超碰这里只有精品国产| 精品影视av免费| 亚洲天堂网中文字| 日韩欧美国产综合一区 | 久久成人久久鬼色| 亚洲欧洲日韩女同| 91精品中文字幕一区二区三区| 国产成人综合在线| 亚洲高清在线精品| 欧美激情一区二区三区四区| 69成人精品免费视频| jlzzjlzz国产精品久久| 美女免费视频一区| 亚洲成年人影院| 中文字幕亚洲在| 久久人人爽爽爽人久久久| 91久久精品一区二区三区| 国产一二精品视频| 日韩和欧美一区二区| 亚洲精品视频在线观看网站| 久久女同互慰一区二区三区| 在线播放亚洲一区| 色偷偷久久一区二区三区| 国产一区激情在线| 日本欧美一区二区在线观看| 一区二区国产视频| 中文字幕一区二区三中文字幕| 欧美大片在线观看| 7777精品伊人久久久大香线蕉的 | 国产乱码精品一品二品| 亚洲成人av中文| 一区二区不卡在线视频 午夜欧美不卡在 | 色综合欧美在线| 成人app下载| 成人高清av在线| 国产精品一区二区三区网站| 久久综合综合久久综合| 蜜臀久久99精品久久久久宅男| 午夜影院在线观看欧美| 亚洲二区在线观看| 午夜影院久久久| 日韩电影网1区2区| 麻豆精品蜜桃视频网站| 日韩avvvv在线播放| 免费久久精品视频| 欧美aaaaa成人免费观看视频| 日韩激情av在线| 久久精品免费观看| 国产精品69久久久久水密桃| 国产精品1区2区3区| 国产高清在线观看免费不卡| 91视频在线观看免费| 成人av在线观| 色欧美片视频在线观看在线视频| 91免费看`日韩一区二区| 色综合天天综合网国产成人综合天 | 国产一区二区0| 成人一区二区视频| 在线看不卡av| 欧美一区二区三区小说| 26uuu久久天堂性欧美| 久久免费午夜影院| 亚洲人吸女人奶水| 亚洲电影第三页| 国产综合色精品一区二区三区| 成人夜色视频网站在线观看| 一本到不卡精品视频在线观看 | 久久97超碰色| 国产成人av在线影院| 色综合久久久久久久| 欧美狂野另类xxxxoooo| 久久综合九色综合久久久精品综合| 精品成人一区二区三区四区| 国产一区在线观看视频| 国产成人免费视频一区| 91日韩一区二区三区| 欧美福利视频一区| 国产日本亚洲高清| 亚洲综合视频在线| 国产酒店精品激情| 欧美在线观看视频在线| 国产人伦精品一区二区| 亚洲专区一二三| 国产91精品免费| 欧美一区二区三区性视频| 中文字幕在线不卡国产视频| 蜜臀av性久久久久蜜臀aⅴ四虎| 99天天综合性| 久久久精品2019中文字幕之3|