Update snapshot(2017-12-14)
[platform/upstream/iotivity.git] / service / notification / src / provider / NSProviderScheduler.h
index 6c9bf1d..e8a4883 100755 (executable)
 #include <stdio.h>\r
 #include <pthread.h>\r
 #include <semaphore.h>\r
-#include <oic_malloc.h>\r
 #include <stdbool.h>\r
 #include "ocstack.h"\r
 #include "NSCommon.h"\r
 #include "NSConstants.h"\r
 #include "NSStructs.h"\r
 #include "logger.h"\r
+#include "oic_malloc.h"\r
+#include "oic_string.h"\r
+#include "NSUtil.h"\r
 \r
 extern NSTask* NSHeadMsg[THREAD_COUNT]; // Current MSG;\r
 extern NSTask* NSTailMsg[THREAD_COUNT]; // Recently MSG;\r
@@ -40,15 +42,17 @@ extern pthread_mutex_t NSMutex[THREAD_COUNT];
 extern sem_t NSSemaphore[THREAD_COUNT];\r
 extern bool NSIsRunning[THREAD_COUNT];\r
 \r
-extern void * NSResponseSchedule(void *ptr);\r
+extern void * NSCallbackResponseSchedule(void *ptr);\r
 extern void * NSDiscoverySchedule(void *ptr);\r
 extern void * NSSubScriptionSchedule(void *ptr);\r
 extern void * NSNotificationSchedule(void *ptr);\r
+extern void * NSTopicSchedule(void * ptr);\r
 \r
 void NSSetList();\r
 bool NSInitScheduler();\r
 bool NSStartScheduler();\r
 bool NSStopScheduler();\r
 void NSPushQueue(NSSchedulerType, NSTaskType, void*);\r
+void NSFreeData(NSSchedulerType, NSTask * );\r
 \r
 #endif /* _PROVIDER_SCHEDULER_H_ */\r