diff options
author | fcolin | 1999-04-27 15:08:12 +0000 |
---|---|---|
committer | fcolin | 1999-04-27 15:08:12 +0000 |
commit | 205d1934fa561b4bef6749fc173c6e8e24d8bbba (patch) | |
tree | 76d2239251e460bc64553419dfbbe58f19da4d74 /src/ivytcl.h | |
parent | bb48d4fd6f448c3d054d44ce27724390520626e6 (diff) | |
download | ivy-c-205d1934fa561b4bef6749fc173c6e8e24d8bbba.zip ivy-c-205d1934fa561b4bef6749fc173c6e8e24d8bbba.tar.gz ivy-c-205d1934fa561b4bef6749fc173c6e8e24d8bbba.tar.bz2 ivy-c-205d1934fa561b4bef6749fc173c6e8e24d8bbba.tar.xz |
ivytcl.h
Diffstat (limited to 'src/ivytcl.h')
-rwxr-xr-x | src/ivytcl.h | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/src/ivytcl.h b/src/ivytcl.h new file mode 100755 index 0000000..068bac6 --- /dev/null +++ b/src/ivytcl.h @@ -0,0 +1,56 @@ +/* + * Ivy, C interface + * + * Copyright (C) 1997-1999 + * Centre d'Études de la Navigation Aérienne + * + * Main loop based on X Toolkit + * + * Authors: François-Régis Colin <colin@cenatoulouse.dgac.fr> + * Stéphane Chatty <chatty@cenatoulouse.dgac.fr> + * + * $Id$ + * + * Please refer to file version.h for the + * copyright notice regarding this software + */ + +#ifndef IVYTCLLOOP_H +#define IVYTCLLOOP_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 IvyTclChannelInit(void); + +extern Channel IvyTclChannelSetUp( + HANDLE fd, + void *data, + ChannelHandleDelete handle_delete, + ChannelHandleRead handle_read +); + +extern void IvyTclChannelClose( Channel channel ); + +#ifdef __cplusplus +} +#endif + +#endif + |