upnp_error.h
来自「AMLOGIC DPF source code」· C头文件 代码 · 共 75 行
H
75 行
/*******************************************************************
*
* Copyright C 2005 by Amlogic, Inc. All Rights Reserved.
*
* Description: Error codes for UPnP subsystem.
*
* Author: Eric Knudstrup
* Created: Wed Oct 5 11:04:43 2005
*
*******************************************************************/
#ifndef UPNP_ERROR_H
#define UPNP_ERROR_H
/* Action errors */
/** No action by that name at this service. */
#define UPNP_ACTION_INVALID 401
/** Could be any of the following:
* not enough in args,
* too many in args,
* no in arg by that name,
* one or more in args are of the wrong data type.
*/
#define UPNP_ACTION_INV_ARGS 402
/** Out of synchronization. */
#define UPNP_ACTION_O_SYNC 403
/**
* May be returned in current state of
* service prevents invoking that action.
*/
#define UPNP_ACTION_FAILED 501
/**
* Failed to allocate memory.
*/
#define UPNP_ACTION_EMEM 603
/**
* Invalid InstanceID
*/
#define UPNP_INVALID_INSTANCEID 702
/**
* ConnectionManager Invalid connection error.
*/
#define UPNP_CMS_INVALID_CONN 706
/**
* AVTransport Invalid InstanceID.
*/
#define UPNP_AVT_INVALID_INSTANCEID 718
/* QueryStateVar errors */
/** No state variable by that name at this service.*/
#define UPNP_VAR_INVALID 404
/**
* UPnP upload error code.
*/
typedef enum {
UPNP_CREATEOBJECT_SUCCEEDED, /**< Completed successfully */
UPNP_CREATEOBJECT_SERVER_ERR, /**< Server resource error */
UPNP_CREATEOBJECT_DENIED, /**< Server denied the request */
UPNP_CREATEOBJECT_RESOURCE_ERR, /**< Local resource allocation failed */
UPNP_CREATEOBJECT_BAD_TITLE, /**< "/" or "\" in title. */
UPNP_CREATEOBJECT_NEED_USER_ACTION /**< The user needs to allow upload to PC */
} UPnPCreateObjectResult_t;
#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?