New define: IR_TCL_VERSION.
[ir-tcl-moved-to-github.git] / ir-tcl.h
1 /*
2  * Copyright (c) 1995, Index Data.
3  *
4  * Permission to use, copy, modify, distribute, and sell this software and
5  * its documentation, in whole or in part, for any purpose, is hereby granted,
6  * provided that:
7  *
8  * 1. This copyright and permission notice appear in all copies of the
9  * software and its documentation. Notices of copyright or attribution
10  * which appear at the beginning of any file must remain unchanged.
11  *
12  * 2. The names of Index Data or the individual authors may not be used to
13  * endorse or promote products derived from this software without specific
14  * prior written permission.
15  *
16  * THIS SOFTWARE IS PROVIDED "AS IS" AND WITHOUT WARRANTY OF ANY KIND,
17  * EXPRESS, IMPLIED, OR OTHERWISE, INCLUDING WITHOUT LIMITATION, ANY
18  * WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
19  * IN NO EVENT SHALL INDEX DATA BE LIABLE FOR ANY SPECIAL, INCIDENTAL,
20  * INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY KIND, OR ANY DAMAGES
21  * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER OR
22  * NOT ADVISED OF THE POSSIBILITY OF DAMAGE, AND ON ANY THEORY OF
23  * LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE
24  * OF THIS SOFTWARE.
25  *
26  * $Log: ir-tcl.h,v $
27  * Revision 1.8  1995-06-19 13:06:08  adam
28  * New define: IR_TCL_VERSION.
29  *
30  * Revision 1.7  1995/05/29  08:44:23  adam
31  * Work on delete of objects.
32  *
33  * Revision 1.6  1995/05/23  15:34:49  adam
34  * Many new settings, userInformationField, smallSetUpperBound, etc.
35  * A number of settings are inherited when ir-set is executed.
36  * This version is incompatible with the graphical test client (client.tcl).
37  *
38  * Revision 1.5  1995/03/20  08:53:27  adam
39  * Event loop in tclmain.c rewritten. New method searchStatus.
40  *
41  * Revision 1.4  1995/03/17  18:26:18  adam
42  * Non-blocking i/o used now. Database names popup as cascade items.
43  *
44  * Revision 1.3  1995/03/17  07:50:28  adam
45  * Headers have changed a little.
46  *
47  */
48
49 #ifndef IR_TCL_H
50 #define IR_TCL_H
51
52 #define IR_TCL_VERSION "0.1"
53
54 int ir_tcl_init (Tcl_Interp *interp);
55
56 void ir_select_add          (int fd, void *obj);
57 void ir_select_add_write    (int fd, void *obj);
58 void ir_select_remove       (int fd, void *obj);
59 void ir_select_remove_write (int fd, void *obj);
60 void ir_select_read         (ClientData clientData);
61 void ir_select_write        (ClientData clientData);
62
63 #endif