1 /* 2 3 silcasync_i.h 4 5 Author: Pekka Riikonen <priikone@silcnet.org> 6 7 Copyright (C) 2005 Pekka Riikonen 8 9 The contents of this file are subject to one of the Licenses specified 10 in the COPYING file; You may not use this file except in compliance 11 with the License. 12 13 The software distributed under the License is distributed on an "AS IS" 14 basis, in the hope that it will be useful, but WITHOUT WARRANTY OF ANY 15 KIND, either expressed or implied. See the COPYING file for more 16 information. 17 18 */ 19 20 #ifndef SILCASYNC_I_H 21 #define SILCASYNC_I_H 22 23 #ifndef SILCASYNC_H 24 #error "Do not include this header directly" 25 #endif 26 27 /* Async operation context */ 28 struct SilcAsyncOperationObject { 29 SilcAsyncOperationAbort abort_cb; 30 SilcAsyncOperationPause pause_cb; 31 void *context; 32 unsigned int allocated : 1; 33 }; 34 35 #endif /* SILCASYNC_I_H */ 36