summaryrefslogtreecommitdiff
path: root/portland/dapi/lib/calls.h
diff options
context:
space:
mode:
authorLubos Lunak <l.lunak@ suse.cz>2006-03-02 00:40:23 +0000
committerLubos Lunak <l.lunak@ suse.cz>2006-03-02 00:40:23 +0000
commite8c89f91da607a0257a408d25c763b9124b7ff50 (patch)
treee7a8a29f77a0c4d19c9849dcc0f72b79a337f907 /portland/dapi/lib/calls.h
parent0e8061b3fcfabbac1e71c904f1ba3813a9085767 (diff)
Initial dapi commit.
Diffstat (limited to 'portland/dapi/lib/calls.h')
-rw-r--r--portland/dapi/lib/calls.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/portland/dapi/lib/calls.h b/portland/dapi/lib/calls.h
new file mode 100644
index 0000000..f2d4606
--- /dev/null
+++ b/portland/dapi/lib/calls.h
@@ -0,0 +1,20 @@
+#ifndef DAPI_CALLS_H
+#define DAPI_CALLS_H
+
+#include "comm.h"
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+#include "../kde/gen/calls_generated.h"
+
+typedef void (*DapiSyncCallback)( DapiConnection* conn, int command, int seq );
+
+void dapi_setSyncCallback( DapiConnection* conn, DapiSyncCallback callback );
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif