summaryrefslogtreecommitdiff
path: root/lib/comm.h
blob: e20f0904e19b06a59b562c0a81a5f619a6ffb91a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#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 );

int dapi_bindSocket( void );
DapiConnection* dapi_acceptSocket( int sock );

#include "../kde/gen/comm_generated.h"

#ifdef __cplusplus
}
#endif

#endif