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

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

?? upnp.h

?? 原來由英特爾制定的UPnP SDK的
?? 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一区二区三区免费野_久草精品视频
亚洲黄色性网站| 在线免费观看日韩欧美| 91一区二区在线观看| 7777精品伊人久久久大香线蕉经典版下载 | 色综合色狠狠天天综合色| 欧美久久久久久蜜桃| 国产精品全国免费观看高清| 日韩精品亚洲专区| 91网站在线播放| 久久精品亚洲精品国产欧美| 日本伊人色综合网| 99精品久久久久久| 国产欧美一区视频| 老司机精品视频导航| 欧美三级欧美一级| 亚洲日本va午夜在线影院| 国产一区二区按摩在线观看| 6080午夜不卡| 夜夜亚洲天天久久| 91麻豆国产自产在线观看| 26uuu欧美| 午夜激情综合网| 91国在线观看| 亚洲精品国产一区二区三区四区在线 | 成人av网址在线| 日韩一区二区精品在线观看| 亚洲福利视频三区| 欧美日韩国产综合一区二区三区| 日韩毛片视频在线看| 成人精品在线视频观看| 国产肉丝袜一区二区| 国产精品18久久久久| 26uuu国产电影一区二区| 免费成人深夜小野草| 日韩一卡二卡三卡国产欧美| 日韩国产精品91| 欧美一区二区视频在线观看| 亚洲成人1区2区| 欧美精品aⅴ在线视频| 亚洲国产aⅴ天堂久久| 欧美日韩国产一级二级| 亚洲成人tv网| 欧美成人女星排名| 国产jizzjizz一区二区| 国产精品美女一区二区在线观看| 成人av网站免费| 日韩美女啊v在线免费观看| 色婷婷亚洲婷婷| 亚洲va国产天堂va久久en| 在线综合视频播放| 久久精品理论片| 久久精品男人的天堂| 成人av电影在线观看| 一区二区三区美女| 欧美日韩视频一区二区| 久久er99精品| 1000精品久久久久久久久| 欧洲生活片亚洲生活在线观看| 午夜伊人狠狠久久| 久久综合久久鬼色| 99这里只有精品| 午夜视频在线观看一区| 欧美精品一区二区三区视频| 床上的激情91.| 五月激情综合婷婷| 国产偷国产偷亚洲高清人白洁| 99久久国产免费看| 日韩精品亚洲一区| 国产精品系列在线| 欧美日韩精品欧美日韩精品一| 国产一区二区精品在线观看| 亚洲视频一区二区在线| 欧美一区二区三区免费大片| 国产精品一区二区不卡| 亚洲国产成人tv| 中文子幕无线码一区tr| 欧美一区二区精品| 91美女精品福利| 狠狠色综合播放一区二区| 一区二区三区欧美日| 久久嫩草精品久久久久| 欧美日韩国产在线观看| 成人国产在线观看| 麻豆freexxxx性91精品| 亚洲乱码国产乱码精品精98午夜 | 在线免费观看一区| 国产精品一区二区久久不卡| 亚洲成人精品影院| 亚洲色图一区二区| 国产日韩v精品一区二区| 欧美日韩国产片| 97se亚洲国产综合自在线观| 国内久久精品视频| 日韩高清一区在线| 亚洲制服欧美中文字幕中文字幕| 久久综合九色综合欧美98 | 色综合久久88色综合天天| 寂寞少妇一区二区三区| 午夜精品视频在线观看| 日韩码欧中文字| 中日韩免费视频中文字幕| 欧美精品一区二区三区蜜臀| 91精品国产综合久久久久久久久久| 99精品偷自拍| 福利电影一区二区| 狠狠色丁香婷综合久久| 免费成人你懂的| 日韩和欧美一区二区| 午夜久久久久久电影| 洋洋av久久久久久久一区| 中文字幕在线播放不卡一区| 久久精品亚洲精品国产欧美| 久久久久久久电影| 国产亚洲精品免费| 欧美激情综合在线| 中文字幕在线不卡国产视频| 国产精品福利影院| 国产精品久久久久久久久免费樱桃| 久久久国产综合精品女国产盗摄| 精品久久久久久亚洲综合网| 欧美精品一区二区三区蜜桃视频 | 成人h精品动漫一区二区三区| 国产一区亚洲一区| 国产.欧美.日韩| 国产成人综合视频| 9l国产精品久久久久麻豆| 色综合 综合色| 欧洲亚洲国产日韩| 欧美一级片在线看| 久久综合九色综合欧美亚洲| 国产三级欧美三级日产三级99| 国产日韩欧美麻豆| 亚洲欧洲av另类| 一区二区在线看| 五月综合激情日本mⅴ| 久色婷婷小香蕉久久| 国产凹凸在线观看一区二区| 91麻豆精品在线观看| 欧美日韩午夜在线| 精品999久久久| 国产精品美日韩| 亚洲成人综合网站| 国内一区二区视频| 色综合网站在线| 欧美日韩电影在线| 国产欧美日韩视频一区二区 | 99在线精品免费| 欧美视频在线观看一区| 日韩视频免费直播| 国产精品乱码妇女bbbb| 午夜视频一区二区| 岛国av在线一区| 欧美色国产精品| 久久色成人在线| 亚洲精品欧美在线| 免费一级欧美片在线观看| 国产91精品精华液一区二区三区 | 亚洲一区在线播放| 开心九九激情九九欧美日韩精美视频电影| 国产jizzjizz一区二区| 91麻豆精品国产91久久久使用方法| 久久久一区二区三区| 亚洲一区视频在线观看视频| 国产精品1区2区| 国产日韩欧美综合一区| 亚洲电影一级片| 国产成人av电影在线观看| 91 com成人网| 亚洲猫色日本管| 国产一区二区三区免费| 欧美日韩国产首页| 自拍视频在线观看一区二区| 精品一区免费av| 欧美日韩电影在线播放| 亚洲日本va午夜在线电影| 国产一区在线视频| 3d动漫精品啪啪一区二区竹菊| 国产精品久久久久久妇女6080| 久久精品国产成人一区二区三区 | 日韩亚洲欧美在线| 亚洲摸摸操操av| 成人性生交大片| 欧美成人一区二区| 水蜜桃久久夜色精品一区的特点| 91在线porny国产在线看| 久久毛片高清国产| 激情丁香综合五月| 欧美一级理论性理论a| 亚洲午夜在线电影| 91丨九色丨国产丨porny| 欧美激情中文字幕一区二区| 国产综合色在线视频区| 日韩欧美一区二区视频| 午夜影院久久久| 欧美日韩中文字幕精品| 有码一区二区三区| 91久久精品国产91性色tv| 亚洲人成小说网站色在线 | 国产欧美日韩另类视频免费观看| 青青草国产精品亚洲专区无|