Debian Codegraph @

src/vendor/inc/c_async_operation.pxd

raw
1 #-------------------------------------------------------------------------
2 # Copyright (c) Microsoft Corporation. All rights reserved.
3 # Licensed under the MIT License. See License.txt in the project root for
4 # license information.
5 #--------------------------------------------------------------------------
6
7
8 cdef extern from "azure_uamqp_c/async_operation.h":
9
10 ctypedef struct ASYNC_OPERATION_HANDLE:
11 pass
12
13 ctypedef void (*ASYNC_OPERATION_CANCEL_HANDLER_FUNC)(ASYNC_OPERATION_HANDLE async_operation)
14
15 ASYNC_OPERATION_HANDLE async_operation_create(ASYNC_OPERATION_CANCEL_HANDLER_FUNC async_operation_cancel_handler, size_t context_size)
16 void async_operation_destroy(ASYNC_OPERATION_HANDLE async_operation)
17 int async_operation_cancel(ASYNC_OPERATION_HANDLE async_operation)