#pragma once

#include <pthread.h>
#include <stdint.h>

namespace neosmart
{
    //Type declarations
	struct neosmart_event_t_;
	typedef neosmart_event_t_ * neosmart_event_t;
	
    //WIN32-style pevent functions
	neosmart_event_t CreateEvent(bool manualReset = false, bool initialState = false);
	int DestroyEvent(neosmart_event_t event);
	int WaitForEvent(neosmart_event_t event, uint32_t milliseconds = -1);
	int SetEvent(neosmart_event_t event);
	int ResetEvent(neosmart_event_t event);
    
    //posix-style functions
    //TBD
}

#pragma once

#include <pthread.h>
#include <stdint.h>

namespace neosmart
{
	struct neosmart_event_t_;
	typedef neosmart_event_t_ * neosmart_event_t;
	
	neosmart_event_t CreateEvent(bool manualReset = false, bool initialState = false);
	int DestroyEvent(neosmart_event_t event);
	int WaitForEvent(neosmart_event_t event, uint32_t milliseconds = -1);
	int SetEvent(neosmart_event_t event);
	int ResetEvent(neosmart_event_t event);
}

--- 
+++ 
@@ -5,12 +5,17 @@
 
 namespace neosmart
 {
+    //Type declarations
 	struct neosmart_event_t_;
 	typedef neosmart_event_t_ * neosmart_event_t;
 	
+    //WIN32-style pevent functions
 	neosmart_event_t CreateEvent(bool manualReset = false, bool initialState = false);
 	int DestroyEvent(neosmart_event_t event);
 	int WaitForEvent(neosmart_event_t event, uint32_t milliseconds = -1);
 	int SetEvent(neosmart_event_t event);
 	int ResetEvent(neosmart_event_t event);
+    
+    //posix-style functions
+    //TBD
 }
TBD: Add posix-styled functions for using neosmart_event_t objects
