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

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

?? upnp.h

?? Upnp開發包文件
?? H
?? 第 1 頁 / 共 5 頁
字號:
/////////////////////////////////////////////////////////////////////////////// Copyright (c) 2000-2003 Intel Corporation // All rights reserved. //// Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are met: //// * Redistributions of source code must retain the above copyright notice, // this list of conditions and the following disclaimer. // * 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. // * Neither name of Intel Corporation nor the names of its contributors // may be used to endorse or promote products derived from this software // without specific prior written permission.// // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS // "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 INTEL OR // CONTRIBUTORS 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./////////////////////////////////////////////////////////////////////////////#ifndef UPNP_H#define UPNP_H/** @name The API *///@{#include <stdio.h>#include "ixml.h"#include "config.h"#define max(a, b)   (((a)>(b))? (a):(b))#define min(a, b)   (((a)<(b))? (a):(b))#define UpnpCloseSocket         close#define UPNP_SOCKETERROR        -1#define UPNP_INVALID_SOCKET     -1#define SOCKET                  int#include <netinet/in.h>#define NUM_HANDLE 200#define LINE_SIZE  180#define NAME_SIZE  100#define MNFT_NAME_SIZE  64#define MODL_NAME_SIZE  32#define SERL_NUMR_SIZE  64#define MODL_DESC_SIZE  64#define UPNP_INFINITE -1#define UPNP_USING_CHUNKED			-3#define UPNP_UNTIL_CLOSE			-4/** @name Error codes  *  The functions in the SDK API can return a variety of error  *  codes to describe problems encountered during execution.  This section  *  lists the error codes and provides a brief description of what each error  *  code means.  Refer to the documentation for each function for a  *  description of what an error code means in that context. *///@{/** @name UPNP_E_SUCCESS [0] *  {\tt UPNP_E_SUCCESS} signifies that the operation completed successfully. *  For asynchronous functions, this only means that the packet generated by  *  the operation was successfully transmitted on the network.  The result of  *  the entire operation comes as part of the callback for that operation. *///@{#define UPNP_E_SUCCESS          0//@}/** @name UPNP_E_INVALID_HANDLE [-100] *  {\tt UPNP_E_INVALID_HANDLE} signifies that the handle passed to a  *  function is not a recognized as a valid handle. *///@{#define UPNP_E_INVALID_HANDLE   -100//@}/** @name UPNP_E_INVALID_PARAM [-101] *  {\tt UPNP_E_INVALID_PARAM} signifies that one or more of the parameters  *  passed to the function is not valid.  Refer to the documentation for each  *  function for more information on the valid ranges of the parameters. *///@{#define UPNP_E_INVALID_PARAM    -101//@}/** @name UPNP_E_OUTOF_HANDLE [-102] *  {\tt UPNP_E_OUTOF_HANDLE} signifies that the SDK does not have any *  more space for additional handles.  The SDK allocates space for only  *  a few handles in order to conserve memory. *///@{#define UPNP_E_OUTOF_HANDLE     -102//@}#define UPNP_E_OUTOF_CONTEXT    -103/** @name UPNP_E_OUTOF_MEMORY [-104] *  {\tt UPNP_E_OUTOF_MEMORY} signifies that not enough resources are  *  currently available to complete the operation.  Most operations require  *  some free memory in order to complete their work. *///@{#define UPNP_E_OUTOF_MEMORY     -104//@}/** @name UPNP_E_INIT [-105] *  {\tt UPNP_E_INIT} signifies that the SDK has already been  *  initialized.  The SDK needs to be initialied only once per process. *  Any additional initialization attempts simply return this error with *  no other ill effects. *///@{#define UPNP_E_INIT             -105//@}#define UPNP_E_BUFFER_TOO_SMALL -106/** @name UPNP_E_INVALID_DESC [-107] *  {\tt UPNP_E_INVALID_DESC} signifies that the description document passed *  to {\bf UpnpRegisterRootDevice} or {\bf UpnpRegisterRootDevice2} is an  *  invalid description document.   *///@{#define UPNP_E_INVALID_DESC     -107//@}/** @name UPNP_E_INVALID_URL [-108] *  {\tt UPNP_E_INVALID_URL} signifies that a URL passed into the function *  is invalid.  The actual cause is function specific, but in general, the *  URL itself might be malformed (e.g. have invalid characters in it) or *  the host might be unreachable. *///@{#define UPNP_E_INVALID_URL      -108//@}#define UPNP_E_INVALID_SID      -109#define UPNP_E_INVALID_DEVICE   -110/** @name UPNP_E_INVALID_SERVICE [-111] *  {\tt UPNP_E_INVALID_SERVICE} is returned only by {\bf UpnpNotify},  *  {\bf UpnpNotifyExt}, {\bf UpnpAcceptSubscription}, and  *  {\bf UpnpAcceptSubscriptionExt} to signify that the device ID/service *  ID pair does not refer to a valid service. *///@{#define UPNP_E_INVALID_SERVICE  -111//@}/** @name UPNP_E_BAD_RESPONSE [-113] *  {\tt UPNP_E_BAD_RESPONSE} signifies that the response received from the  *  remote side of a connection is not correct for the protocol.  This applies *  to the GENA, SOAP, and HTTP protocols. *///@{#define UPNP_E_BAD_RESPONSE     -113//@}#define UPNP_E_BAD_REQUEST      -114/** @name UPNP_E_INVALID_ACTION [-115] *  {\tt UPNP_E_INVALID_ACTION} signifies that the SOAP action message is  *  invalid.  This can be because the DOM document passed to the function was *  malformed or the action message is not correct for the given action. *///@{#define UPNP_E_INVALID_ACTION   -115//@}/** @name UPNP_E_FINISH [-116] *  {\tt UPNP_E_FINISH} signifies that {\bf UpnpInit} has not been called, or *  that {\bf UpnpFinish} has already been called.  None of the API functions  *  operate until {\bf UpnpInit} successfully completes. *///@{#define UPNP_E_FINISH           -116//@}/** @name UPNP_E_INIT_FAILED [-117] *  {\tt UPNP_E_INIT_FAILED} signifies that {\bf UpnpInit} cannot complete.   *  The typical reason is failure to allocate sufficient resources. *///@{#define UPNP_E_INIT_FAILED      -117//@}/** @name UPNP_E_URL_TOO_BIG [-118] *  {\tt UPNP_E_URL_TOO_BIG} signifies that the URL passed into a function  *  is too long.  The SDK limits URLs to 180 characters in length.   */#define UPNP_E_URL_TOO_BIG      -118/** @name UPNP_E_BAD_HTTPMSG [-119] *  {\tt UPNP_E_BAD_HTTPMSG} signifies that the HTTP message contains invalid *  message headers.  The error always refers to the HTTP message header  *  received from the remote host.  The main areas where this occurs are in *  SOAP control messages (e.g. {\bf UpnpSendAction}), GENA subscription *  message (e.g. {\bf UpnpSubscribe}), GENA event notifications (e.g. {\bf *  UpnpNotify}), and HTTP transfers (e.g. {\bf UpnpDownloadXmlDoc}). *///@{#define UPNP_E_BAD_HTTPMSG      -119//@}/** @name UPNP_E_ALREADY_REGISTERED [-120] *  {\tt UPNP_E_ALREADY_REGISTERED} signifies that a client or a device is *  already registered.  The SDK currently has a limit of one registered  *  client and one registered device per process. *///@{#define UPNP_E_ALREADY_REGISTERED -120//@}/** @name UPNP_E_NETWORK_ERROR [-200] *  {\tt UPNP_E_NETWORK_ERROR} signifies that a network error occurred.  It  *  is the generic error code for network problems that are not covered under  *  one of the more specific error codes.  The typical meaning is the SDK  *  failed to read the local IP address or had problems configuring one of *  the sockets. *///@{#define UPNP_E_NETWORK_ERROR    -200//@}/** @name UPNP_E_SOCKET_WRITE [-201] *  {\tt UPNP_E_SOCKET_WRITE} signifies an error writing to a socket.  This *  occurs in any function that makes network connections, such  *  as discovery (e.g. {\bf UpnpSearchAsync} or {\bf UpnpSendAdvertisement}),  *  control (e.g. {\bf UpnpSendAction}), eventing (e.g. {\bf UpnpNotify}),  *  and HTTP functions (e.g. {\bf UpnpDownloadXmlDoc}). *///@{#define UPNP_E_SOCKET_WRITE     -201//@}/** @name UPNP_E_SOCKET_READ [-202] *  {\tt UPNP_E_SOCKET_READ} signifies an error reading from a socket.  This *  occurs in any function that makes network connections, such  *  as discovery (e.g. {\bf UpnpSearchAsync} or {\bf UpnpSendAdvertisement}),  *  control (e.g. {\bf UpnpSendAction}), eventing (e.g. {\bf UpnpNotify}),  *  and HTTP functions (e.g. {\bf UpnpDownloadXmlDoc}). *///@{#define UPNP_E_SOCKET_READ      -202//@}/** @name UPNP_E_SOCKET_BIND [-203] *  {\tt UPNP_E_SOCKET_BIND} signifies that the SDK had a problem binding *  a socket to a network interface.  This occurs in any function that makes  *  network connections, such as discovery (e.g. {\bf UpnpSearchAsync} or  *  {\bf UpnpSendAdvertisement}), control (e.g. {\bf UpnpSendAction}), eventing  *  (e.g. {\bf UpnpNotify}), and HTTP functions (e.g.  *  {\bf UpnpDownloadXmlDoc}). *///@{#define UPNP_E_SOCKET_BIND      -203//@}/** @name UPNP_E_SOCKET_CONNECT [-204] *  {\tt UPNP_E_SOCKET_CONNECT} signifies that the SDK had a problem *  connecting to a remote host.  This occurs in any function that makes  *  network connections, such as discovery (e.g. {\bf UpnpSearchAsync} or  *  {\bf UpnpSendAdvertisement}), control (e.g. {\bf UpnpSendAction}), eventing  *  (e.g. {\bf UpnpNotify}), and HTTP functions (e.g.  *  {\bf UpnpDownloadXmlDoc}). *///@{#define UPNP_E_SOCKET_CONNECT   -204//@}/** @name UPNP_E_OUTOF_SOCKET [-205] *  {\tt UPNP_E_OUTOF_SOCKET} signifies that the SDK cannot create any *  more sockets.  This occurs in any function that makes  *  network connections, such as discovery (e.g. {\bf UpnpSearchAsync} or  *  {\bf UpnpSendAdvertisement}), control (e.g. {\bf UpnpSendAction}), eventing  *  (e.g. {\bf UpnpNotify}), and HTTP functions (e.g.  *  {\bf UpnpDownloadXmlDoc}). *///@{#define UPNP_E_OUTOF_SOCKET     -205//@}/** @name UPNP_E_LISTEN [-206] *  {\tt UPNP_E_LISTEN} signifies that the SDK had a problem setting the *  socket to listen for incoming connections.  This error only happens during *  initialization (i.e. {\bf UpnpInit}). *///@{#define UPNP_E_LISTEN           -206//@}/** @name UPNP_E_TIMEDOUT [-207] *  {\tt UPNP_E_TIMEDOUT} signifies that too much time elapsed before the *  required number of bytes were sent or received over a socket.  This error *  can be returned by any function that performs network operations. *///@{#define UPNP_E_TIMEDOUT         -207//@}/** @name UPNP_E_SOCKET_ERROR [-208] *  {\tt UPNP_E_SOCKET_ERROR} is the generic socket error code for *  conditions not covered by other error codes.  This error can be returned *  by any functions that performs network operations. *///@{#define UPNP_E_SOCKET_ERROR	    -208//@}#define UPNP_E_FILE_WRITE_ERROR       -209#define UPNP_E_EVENT_PROTOCOL         -300/** @name UPNP_E_SUBSCRIBE_UNACCEPTED [-301] *  {\tt UPNP_E_SUBSCRIBE_UNACCEPTED} signifies that a subscription *  request was rejected from the remote side.   */

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
亚洲天堂免费看| 中文字幕国产一区| 99视频一区二区| 国产91精品久久久久久久网曝门 | 秋霞午夜鲁丝一区二区老狼| 中文字幕一区二区三区精华液| www亚洲一区| 精品国偷自产国产一区| 日韩欧美激情四射| 亚洲精品在线免费观看视频| 日韩亚洲欧美中文三级| 欧美大黄免费观看| 欧美videofree性高清杂交| 精品久久久久久久一区二区蜜臀| 日韩女优av电影| 精品国精品自拍自在线| 久久久高清一区二区三区| 久久久久国产精品麻豆ai换脸 | 精品黑人一区二区三区久久| 日韩一区二区电影网| 精品日本一线二线三线不卡| 久久久久久久久久久久久夜| 久久久不卡网国产精品二区| 国产精品污www在线观看| 亚洲视频一区二区在线| 一区二区三区日韩精品| 亚洲成年人影院| 久久精品国产精品青草| 国产精品99久久久久久宅男| 欧美写真视频网站| 宅男在线国产精品| 国产色婷婷亚洲99精品小说| 中文字幕在线不卡视频| 天天综合色天天综合色h| 经典三级视频一区| 色国产综合视频| 欧美成人女星排行榜| 欧美极品xxx| 亚洲成人免费观看| 国产精品白丝jk黑袜喷水| 成人午夜免费视频| 欧美日韩久久久久久| 91成人在线免费观看| 欧美日韩激情一区二区三区| 精品sm捆绑视频| 亚洲欧美一区二区不卡| 久久精品国产亚洲高清剧情介绍| 精品制服美女久久| 91福利视频在线| 欧美情侣在线播放| 国产精品盗摄一区二区三区| 首页国产欧美久久| 成人精品一区二区三区四区| 欧美天天综合网| 亚洲精品一区二区三区蜜桃下载| 国产精品久久久久久久久久久免费看 | 欧美tickling挠脚心丨vk| 国产精品乱人伦| 精品无人码麻豆乱码1区2区| 欧美性色欧美a在线播放| 中文字幕国产精品一区二区| 免费美女久久99| 欧美图区在线视频| 亚洲欧美日韩国产手机在线| 韩国精品主播一区二区在线观看 | 91在线观看美女| 精品国产3级a| 日韩一区精品视频| 色爱区综合激月婷婷| 中文av字幕一区| 黑人巨大精品欧美一区| 3atv在线一区二区三区| 一区二区三区精品在线| www.视频一区| 国产精品区一区二区三区| 久久精品国产77777蜜臀| 欧美日精品一区视频| 国产精品动漫网站| 懂色av一区二区三区免费观看| 26uuu成人网一区二区三区| 蜜臀av一区二区| 日韩一级大片在线观看| 日韩综合一区二区| 欧美在线一区二区| 亚洲一区二区影院| 欧美最新大片在线看| 亚洲欧美一区二区久久| 91天堂素人约啪| 亚洲嫩草精品久久| 97久久超碰国产精品| 亚洲同性同志一二三专区| 成人免费毛片aaaaa**| 国产精品免费视频一区| 99re在线精品| 一区二区激情视频| 欧美午夜影院一区| 日欧美一区二区| 精品少妇一区二区三区在线播放 | 正在播放亚洲一区| 麻豆成人免费电影| 久久久91精品国产一区二区三区| 国产高清视频一区| 综合色天天鬼久久鬼色| 欧亚一区二区三区| 日韩av成人高清| 久久夜色精品一区| 99久久er热在这里只有精品66| 亚洲欧美国产高清| 欧美一级欧美三级| 国产馆精品极品| 一区二区三区在线免费视频| 7777精品伊人久久久大香线蕉完整版| 波波电影院一区二区三区| 亚洲欧美日韩国产一区二区三区 | 欧美一区二区三区公司| 国产在线精品一区二区不卡了| 国产日产亚洲精品系列| 日本高清无吗v一区| 蜜臀av在线播放一区二区三区| 欧美激情一区二区三区全黄| 欧美亚洲免费在线一区| 久久99精品久久久久久动态图| 国产精品视频在线看| 欧美日韩国产在线观看| 国产一区二区久久| 亚洲综合在线观看视频| 久久色成人在线| av不卡一区二区三区| 日韩av中文字幕一区二区三区| 久久久天堂av| 欧美浪妇xxxx高跟鞋交| 东方欧美亚洲色图在线| 日韩va亚洲va欧美va久久| 国产精品剧情在线亚洲| 日韩欧美国产麻豆| 色婷婷综合久久久| 国产剧情av麻豆香蕉精品| 亚洲午夜av在线| 国产精品网站在线| 欧美大片免费久久精品三p| 色天天综合色天天久久| 国产一区二区美女| 蜜臀av性久久久久蜜臀aⅴ流畅| 国产精品福利影院| 精品国产精品一区二区夜夜嗨| 欧美性生活大片视频| 99久久婷婷国产综合精品电影| 免费亚洲电影在线| 亚洲不卡在线观看| 亚洲精品一二三| 中国色在线观看另类| 精品国精品国产| 日韩小视频在线观看专区| 在线观看网站黄不卡| 99免费精品在线观看| 国产乱妇无码大片在线观看| 美女视频第一区二区三区免费观看网站| 亚洲在线视频免费观看| 中文字幕在线不卡一区| 欧美激情综合五月色丁香小说| 337p日本欧洲亚洲大胆精品| 欧美一区二区三区男人的天堂| 6080日韩午夜伦伦午夜伦| 欧美卡1卡2卡| 欧美日韩视频在线观看一区二区三区 | gogo大胆日本视频一区| 蜜桃av一区二区| 亚洲精品国产第一综合99久久 | 日韩视频中午一区| 91国产免费观看| 在线观看视频91| 欧美亚洲自拍偷拍| 欧美最新大片在线看| 在线看不卡av| 91精品一区二区三区久久久久久| 欧美日韩午夜精品| 欧美日本视频在线| 欧美精品自拍偷拍| 欧美成人一区二区三区片免费| 日韩一区二区中文字幕| 欧美videos大乳护士334| 欧美成人vps| 亚洲精品在线电影| 中文子幕无线码一区tr| 亚洲欧美一区二区三区国产精品| 玉米视频成人免费看| 亚洲电影一区二区三区| 日韩经典中文字幕一区| 久久av老司机精品网站导航| 国产自产v一区二区三区c| 成人综合在线视频| 欧美性猛片xxxx免费看久爱| 欧美日韩在线三级| 欧美电视剧免费全集观看| 国产欧美精品一区二区色综合| 亚洲三级视频在线观看| 婷婷成人综合网| 国产91精品久久久久久久网曝门| 99热精品国产| 在线综合亚洲欧美在线视频|