1 /* 2 * Copyright 2005, Ingo Weinhold, bonefish@users.sf.net. 3 * Distributed under the terms of the MIT License. 4 */ 5 #ifndef _KERNEL_SELECT_SYNC_POOL_H 6 #define _KERNEL_SELECT_SYNC_POOL_H 7 8 #include <SupportDefs.h> 9 10 struct selectsync; 11 typedef struct select_sync_pool select_sync_pool; 12 13 14 #ifdef __cplusplus 15 extern "C" { 16 #endif 17 18 19 status_t add_select_sync_pool_entry(select_sync_pool **pool, selectsync *sync, 20 uint8 event); 21 status_t remove_select_sync_pool_entry(select_sync_pool **pool, 22 selectsync *sync, uint8 event); 23 void delete_select_sync_pool(select_sync_pool *pool); 24 void notify_select_event_pool(select_sync_pool *pool, uint8 event); 25 26 27 #ifdef __cplusplus 28 } 29 #endif 30 31 32 #endif // _KERNEL_SELECT_SYNC_POOL_H 33