#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
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