1 #ifndef __TEST_EVENT_QUEUE 
   2 #define __TEST_EVENT_QUEUE 
   6 #include <Security/Security.h> 
   8 typedef struct CallbackData
 
  11         SecKeychainEvent event
; 
  12         SecKeychainItemRef itemRef
; 
  13         SecKeychainRef keychain
; 
  19 void TEQ_Enqueue(CallbackData
* cd
); 
  20 bool TEQ_Dequeue(CallbackData
* cd
); 
  21 void TEQ_FlushQueue(); 
  22 int TEQ_ItemsInQueue(); 
  23 void TEQ_Release(CallbackData
* cd
);