dcrud  0.0.0
Distributed data and services
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros
ICallback.h
Go to the documentation of this file.
1 #pragma once
2 #ifdef __cplusplus
3 extern "C" {
4 #endif
5 
6 #include <dcrud/Arguments.h>
7 
8 UTIL_ADT( dcrudICallback );
9 
10 typedef void (* dcrudICallback_function)(
11  dcrudICallback This,
12  const char * intrfc,
13  const char * operation,
14  dcrudArguments results );
15 
16 dcrudICallback dcrudICallback_new ( dcrudICallback_function callback, void * userData );
17 void dcrudICallback_delete ( dcrudICallback * This );
18 void dcrudICallback_callback ( dcrudICallback This, const char * intrfc, const char * operation, dcrudArguments results );
19 void * dcrudICallback_getUserData( dcrudICallback This );
20 
21 #ifdef __cplusplus
22 }
23 #endif
UTIL_ADT(dcrudICallback)
void(* dcrudICallback_function)(dcrudICallback This, const char *intrfc, const char *operation, dcrudArguments results)
Definition: ICallback.h:10
void dcrudICallback_callback(dcrudICallback This, const char *intrfc, const char *operation, dcrudArguments results)
void dcrudICallback_delete(dcrudICallback *This)
void * dcrudICallback_getUserData(dcrudICallback This)
dcrudICallback dcrudICallback_new(dcrudICallback_function callback, void *userData)