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

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

?? upnp.h

?? 基于LINUX/UNIX的UPN庫,是智能家具的用的底層庫.
?? 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 *//*! @{ */#if defined MYLIB_LARGEFILE_SENSITIVE && _FILE_OFFSET_BITS+0 != 64	#if defined __GNUC__		#warning libupnp requires largefile mode - use AC_SYS_LARGEFILE	#else		#error  libupnp requires largefile mode - use AC_SYS_LARGEFILE	#endif#endif #include <stdio.h>#ifndef WIN32	#include <sys/param.h>#endif#if (defined(BSD) && BSD >= 199306)	#include <time.h>#endif#include "ixml.h"#include "upnpconfig.h"#ifdef WIN32	#ifndef UPNP_STATIC_LIB		#ifdef LIBUPNP_EXPORTS			/* set up declspec for dll export to make functions visible to library users */			#define EXPORT_SPEC __declspec(dllexport)		#else			#define EXPORT_SPEC __declspec(dllimport)		#endif	#else		#define EXPORT_SPEC	#endif	#ifdef UPNP_USE_MSVCPP		/* define some things the M$ VC++ doesn't know */		#define UPNP_INLINE		typedef __int64 int64_t;		#define PRId64 "I64d"		#define PRIzu "lu"	#endif	#ifdef UPNP_USE_BCBPP		/* define some things Borland Builder doesn't know */		#define UPNP_INLINE inline		typedef __int64 int64_t;#warning The Borland C compiler is probably broken on PRId64, please someone provide a proper fix here		#define PRId64 "I64d"		#define PRIzu "zu"	#endif#else	#define EXPORT_SPEC	#define UPNP_INLINE inline	/* Invented this macro so that we can live a little longer with MSVC lack of C99. */	#define PRIzu "zu"#endif/* * Defining this macro here gives some interesting information about unused * functions in the code. Of course, this should never go uncommented on a * release. *//*#define inline*/#ifndef WIN32	#define UpnpCloseSocket close#else	#define UpnpCloseSocket closesocket	#define fseeko fseek#endif#ifndef WIN32	#define SOCKET int#endif#ifndef WIN32	#include <netinet/in.h>#else	#include <winsock2.h>	#include <time.h>#endif#include <sys/types.h>#define NUM_HANDLE 200#define LINE_SIZE  180#define NAME_SIZE  256#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}). */

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
日韩欧美综合一区| 日韩免费电影一区| 国产成人在线电影| 精品在线免费观看| 免费观看一级欧美片| 亚洲一区二区在线免费观看视频| 亚洲少妇30p| 亚洲欧美视频一区| 一区二区三区高清| 亚洲成人黄色小说| 三级欧美韩日大片在线看| 日本成人在线看| 蜜臀av性久久久久av蜜臀妖精| 日韩成人一级片| 精品一区二区三区久久| 风流少妇一区二区| 91玉足脚交白嫩脚丫在线播放| 99久久精品国产导航| 91高清视频在线| 欧美人伦禁忌dvd放荡欲情| 日韩女优视频免费观看| 久久久久久夜精品精品免费| 国产精品人成在线观看免费| 亚洲综合激情小说| 麻豆91免费看| 成人精品高清在线| 欧美日韩在线三级| 精品成a人在线观看| 国产精品初高中害羞小美女文| 亚洲小说欧美激情另类| 蜜桃视频免费观看一区| hitomi一区二区三区精品| 欧美视频一区在线观看| www国产亚洲精品久久麻豆| 亚洲欧洲精品天堂一级| 免费xxxx性欧美18vr| 成人久久18免费网站麻豆| 欧美日韩视频在线第一区| 欧美大白屁股肥臀xxxxxx| 国产精品黄色在线观看| 免费观看91视频大全| 成人avav在线| 日韩午夜av电影| 亚洲美女偷拍久久| 国产一区二区三区黄视频 | 91精品国产乱码久久蜜臀| 久久久精品tv| 五月婷婷欧美视频| 99久精品国产| 精品处破学生在线二十三| 亚洲成人在线观看视频| 丰满白嫩尤物一区二区| 欧美精品在线观看一区二区| 国产精品色噜噜| 极品少妇一区二区| 欧美久久久久久久久| 国产精品美女久久久久久久 | 精品国产sm最大网站| 亚洲黄色尤物视频| 成人免费视频播放| 欧美精品一区二区蜜臀亚洲| 日韩av电影免费观看高清完整版在线观看| 成人18精品视频| 亚洲国产精品99久久久久久久久| 免费人成精品欧美精品| 欧美中文字幕一二三区视频| 亚洲视频在线一区观看| 国产白丝精品91爽爽久久 | 91色乱码一区二区三区| 久久久久久久综合| 九九热在线视频观看这里只有精品| 欧美系列亚洲系列| 亚洲综合色网站| 色综合一区二区| 亚洲精品一二三| 9色porny自拍视频一区二区| 国产网站一区二区| 国产成人三级在线观看| 久久综合色播五月| 狠狠色丁香久久婷婷综| 精品国产a毛片| 丁香天五香天堂综合| 国产欧美一区二区三区网站| 国产suv一区二区三区88区| 久久久影院官网| 懂色av一区二区三区免费看| 亚洲欧洲99久久| 色av综合在线| 午夜欧美在线一二页| 5月丁香婷婷综合| 久久av老司机精品网站导航| 精品三级av在线| 成人永久aaa| 亚洲免费看黄网站| 欧美三区在线观看| 蜜臀av性久久久久av蜜臀妖精| 日韩欧美自拍偷拍| 国产精品一级片在线观看| 国产精品美女久久久久久久久久久| 成人一区二区三区中文字幕| 亚洲另类在线一区| 51精品视频一区二区三区| 精品无人区卡一卡二卡三乱码免费卡 | 高清国产一区二区| 亚洲欧洲日韩av| 91精品国产综合久久精品app| 奇米影视一区二区三区| 久久日韩精品一区二区五区| 99精品热视频| 日本一道高清亚洲日美韩| 中文字幕欧美日韩一区| 欧美性淫爽ww久久久久无| 精品一区二区三区久久| 日韩理论片网站| 精品国产一二三| va亚洲va日韩不卡在线观看| 免费一级欧美片在线观看| 国产精品女上位| 91精品国产91热久久久做人人| 国产乱人伦偷精品视频不卡| 亚洲线精品一区二区三区八戒| 精品久久久久一区二区国产| 色噜噜久久综合| 国产一区二区三区免费看| 亚洲国产综合人成综合网站| 国产亚洲成av人在线观看导航| 欧美午夜精品一区二区三区 | 亚洲精品福利视频网站| 26uuu亚洲综合色| 欧美色图一区二区三区| 成人午夜在线视频| 久久精品999| 亚洲国产精品人人做人人爽| 中文字幕在线视频一区| 欧美成人精品二区三区99精品| 欧美色图第一页| 97久久超碰国产精品| 国产精品456| 激情综合色综合久久综合| 亚洲成a人v欧美综合天堂下载| 日韩美女精品在线| 国产欧美日韩另类一区| 久久亚洲免费视频| 日韩欧美电影一区| 欧美一区二区三区四区在线观看 | 久久精品国产亚洲5555| 亚洲黄色免费电影| 亚洲欧洲av另类| 18欧美亚洲精品| 一区在线中文字幕| 国产精品久久久久久久久久久免费看| 久久―日本道色综合久久| 精品久久久久久久久久久久包黑料 | 麻豆一区二区三区| 亚洲综合丝袜美腿| 一区二区三区在线视频观看| 亚洲欧洲国产日韩| 亚洲免费观看高清完整版在线 | 国产成人精品三级| 国产麻豆精品在线| 国产精品影视在线| 国产精品99久久久久久有的能看| 久国产精品韩国三级视频| 国产一二精品视频| 不卡高清视频专区| 色综合中文字幕| 欧美日韩视频在线观看一区二区三区 | 亚洲一区二区三区四区五区中文 | 亚洲欧美经典视频| 一区二区三区色| 日韩精品1区2区3区| 美女一区二区视频| 福利视频网站一区二区三区| 成人黄色片在线观看| 色美美综合视频| 欧美大度的电影原声| 中文字幕av在线一区二区三区| 成人欧美一区二区三区1314| 亚洲一二三四在线| 老司机精品视频导航| 成人小视频免费在线观看| 色域天天综合网| 日韩欧美一区二区久久婷婷| 国产亚洲一区二区三区| 亚洲精品日产精品乱码不卡| 日本伊人色综合网| eeuss国产一区二区三区| 欧美色区777第一页| 久久一夜天堂av一区二区三区| 中文字幕制服丝袜一区二区三区 | 成人永久aaa| 欧美午夜精品理论片a级按摩| 精品国产一区二区亚洲人成毛片| 国产免费观看久久| 香蕉加勒比综合久久| 成人国产精品免费观看视频| 欧美日韩国产在线观看| 国产欧美日韩久久| 久久精品噜噜噜成人88aⅴ| av午夜一区麻豆|