NSTaskType taskType;\r
void * taskData;\r
struct _nsTask * nextTask;\r
+\r
} NSTask;\r
\r
typedef struct\r
{\r
NSCacheData * data;\r
struct _NSCacheElement * next;\r
+\r
} NSCacheElement;\r
\r
typedef struct\r
NSCacheType cacheType;\r
NSCacheElement * head;\r
NSCacheElement * tail;\r
+\r
} NSCacheList;\r
\r
typedef struct\r
int remote_syncObId; //sync observer ID subscribed through remote server\r
int remote_messageObId; //message observer ID subscribed through remote server\r
bool isWhite; // access state -> True: allowed / False: blocked\r
+\r
} NSCacheSubData;\r
\r
typedef struct\r
char * id;\r
int messageType; // noti = 1, read = 2, dismiss = 3\r
NSMessage * nsMessage;\r
+\r
} NSCacheMsgData;\r
\r
typedef struct\r
\r
//optional\r
char * topic_uri;\r
+\r
} NSNotificationResource;\r
\r
typedef struct\r
char * sourceName;\r
char * topicName;\r
NSMediaContents * mediaContents;\r
+\r
} NSMessageResource;\r
\r
typedef struct\r
uint64_t messageId;\r
char providerId[NS_UUID_STRING_SIZE];\r
char * state;\r
+\r
} NSSyncResource;\r
\r
typedef struct\r
char providerId[NS_UUID_STRING_SIZE];\r
char consumerId[NS_UUID_STRING_SIZE];\r
NSTopicList ** TopicList;\r
+\r
} NSTopicResource;\r
\r
typedef struct\r
char providerId[NS_UUID_STRING_SIZE];\r
char * providerName;\r
char * userInfo;\r
+\r
} NSProviderInfo;\r
\r
+#ifdef WITH_MQ\r
+typedef struct\r
+{\r
+ char * serverAddr;\r
+ char * topicName;\r
+\r
+} NSMQTopicAddress;\r
+\r
+typedef struct\r
+{\r
+ char * serverUri;\r
+ OCDevAddr * devAddr;\r
+\r
+} NSMQServerInfo;\r
+#endif\r
+\r
#endif /* _NS_STRUCTS_H_ */\r