blob: 17e053fd86ceb5e6821a76de24dd49f06f31f318 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
#ifndef _IVYXTLOOP_H
#define _IVYXTLOOP_H
#ifdef __cplusplus
extern "C" {
#endif
#include <X11/Intrinsic.h>
/* general Handle */
#define ANYPORT 0
#ifdef WIN32
#include <windows.h>
#define HANDLE SOCKET
#else
#define HANDLE int
#endif
#include "ivychannel.h"
extern void BusXtChannelInit(void);
extern Channel BusXtChannelSetUp(
HANDLE fd,
void *data,
ChannelHandleDelete handle_delete,
ChannelHandleRead handle_read
);
extern void BusXtChannelClose( Channel channel );
extern void BusXtChannelAppContext( XtAppContext cntx );
#ifdef __cplusplus
}
#endif
#endif
|