📄 upnpcontrolpointstructs.h
字号:
/* * INTEL CONFIDENTIAL * Copyright (c) 2002, 2003 Intel Corporation. All rights reserved. * * The source code contained or described herein and all documents * related to the source code ("Material") are owned by Intel * Corporation or its suppliers or licensors. Title to the * Material remains with Intel Corporation or its suppliers and * licensors. The Material contains trade secrets and proprietary * and confidential information of Intel or its suppliers and * licensors. The Material is protected by worldwide copyright and * trade secret laws and treaty provisions. No part of the Material * may be used, copied, reproduced, modified, published, uploaded, * posted, transmitted, distributed, or disclosed in any way without * Intel's prior express written permission. * No license under any patent, copyright, trade secret or other * intellectual property right is granted to or conferred upon you * by disclosure or delivery of the Materials, either expressly, by * implication, inducement, estoppel or otherwise. Any license * under such intellectual property rights must be express and * approved by Intel in writing. * * $Workfile: UPnPControlPointStructs.h * $Revision: #1.0.1799.42459 * $Author: Intel Corporation, Intel Device Builder * $Date: Wednesday, January 19, 2005 * * * */#ifndef __UPNP_CONTROLPOINT_STRUCTS__#define __UPNP_CONTROLPOINT_STRUCTS__#define UPNP_ERROR_SCPD_NOT_WELL_FORMED 5typedef enum{ UPnPSSDP_MSEARCH = 1, UPnPSSDP_NOTIFY = 2}UPnPSSDP_MESSAGE;struct UPnPDevice{ void* CP; char* DeviceType; char* UDN; char* LocationURL; char* PresentationURL; char* FriendlyName; char* ManufacturerName; char* ManufacturerURL; char* ModelName; char* ModelDescription; char* ModelNumber; char* ModelURL; int SCPDError; int SCPDLeft; int ReferenceCount; int ReferenceTiedToEvents; char* InterfaceToHost; int CacheTime; void *Tag; int Reserved; long Reserved2; char *Reserved3; void *CustomTagTable; struct UPnPDevice *Parent; struct UPnPDevice *EmbeddedDevices; struct UPnPService *Services; struct UPnPDevice *Next; /* #### Begin CARDEA code #### */ void *ms_upnp; /* #### End CARDEA code #### */};struct UPnPService{ char* ServiceType; char* ServiceId; char* ControlURL; char* SubscriptionURL; char* SCPDURL; char* SubscriptionID; struct UPnPAction *Actions; struct UPnPStateVariable *Variables; struct UPnPDevice *Parent; struct UPnPService *Next;};struct UPnPStateVariable{ struct UPnPStateVariable *Next; struct UPnPService *Parent; char* Name; char **AllowedValues; int NumAllowedValues; char* Min; char* Max; char* Step;};struct UPnPAction{ char* Name; struct UPnPAction *Next;};struct UPnPAllowedValue{ struct UPnPAllowedValue *Next; char* Value;};typedef void(*UPnPDeviceHandler)(struct UPnPDevice *device);#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -