summaryrefslogtreecommitdiff
path: root/portland/dapi/lib/comm.h
diff options
context:
space:
mode:
Diffstat (limited to 'portland/dapi/lib/comm.h')
-rw-r--r--portland/dapi/lib/comm.h50
1 files changed, 0 insertions, 50 deletions
diff --git a/portland/dapi/lib/comm.h b/portland/dapi/lib/comm.h
deleted file mode 100644
index c1543e5..0000000
--- a/portland/dapi/lib/comm.h
+++ /dev/null
@@ -1,50 +0,0 @@
-#ifndef DAPI_COMM_H
-#define DAPI_COMM_H
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-typedef struct DapiConnection DapiConnection;
-
-DapiConnection* dapi_connect( void );
-void dapi_close( DapiConnection* conn );
-int dapi_socket( DapiConnection* conn );
-
-DapiConnection* dapi_connectAndInit( void );
-
-int dapi_bindSocket( void );
-DapiConnection* dapi_acceptSocket( int sock );
-
-typedef struct DapiWindowInfo
- {
- int flags;
- long window;
- } DapiWindowInfo;
-
-/* TODO generovat? */
-typedef struct
- {
- int count;
- int* data;
- } intarr;
-
-typedef struct
- {
- int count;
- char** data;
- } stringarr;
-
-void dapi_windowInfoInitWindow( DapiWindowInfo* winfo, long window );
-
-void dapi_freeWindowInfo( DapiWindowInfo winfo );
-void dapi_freestringarr( stringarr arr );
-void dapi_freeintarr( intarr arr );
-
-#include <dapi/comm_generated.h>
-
-#ifdef __cplusplus
-}
-#endif
-
-#endif