struct rsrc_t;
/**
- * Typedefs for stack interface
- * IF here stands for Interface
- */
-
-typedef enum {
- STACK_IF_DEFAULT = 0,
- STACK_IF_LL,
- STACK_IF_BATCH,
- STACK_IF_GROUP,
- STACK_IF_INVALID
-} OCStackIfTypes;
-
-/**
* following structure will be created in occollection.
*/
/** The name of the attribute; used to look up the attribute in list.
* for a given attribute SHOULD not be changed once assigned.
*/
- const char *attrName;
+ char *attrName;
- /** value of the attribute as string.*/
- char *attrValue;
+ /** value of the attribute as void. To support both string and @OCStringLL value*/
+ void *attrValue;
} OCAttribute;
/**
union
{
/** An ordinal number that is not repeated - must be unique in the collection context. */
- uint8_t ins;
+ int64_t ins;
/** Any unique string including a URI. */
char *uniqueStr;
/** Use UUID for universal uniqueness - used in /oic/res to identify the device. */