X-Git-Url: http://lists.indexdata.com/cgi-bin?a=blobdiff_plain;f=ir-tcl.h;h=39b24344088a48449defaaa8ec7b7d9851845952;hb=d446a56fc51edc47a986b8a7e6c0b7c90065a431;hp=f74bb2aa8e75dd693d37a63b6ba50c3d4bb37531;hpb=a78acc150da77d8c6ef548642dc29622427687a0;p=ir-tcl-moved-to-github.git diff --git a/ir-tcl.h b/ir-tcl.h index f74bb2a..39b2434 100644 --- a/ir-tcl.h +++ b/ir-tcl.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 1995, Index Data. + * Copyright (c) 1995-1996, Index Data. * * Permission to use, copy, modify, distribute, and sell this software and * its documentation, in whole or in part, for any purpose, is hereby granted, @@ -24,7 +24,32 @@ * OF THIS SOFTWARE. * * $Log: ir-tcl.h,v $ - * Revision 1.8 1995-06-19 13:06:08 adam + * Revision 1.15 1996-07-26 09:15:09 adam + * IrTcl version 1.2 patch level 1. + * + * Revision 1.14 1996/02/21 10:16:19 adam + * Simplified select handling. Only one function ir_tcl_select_set has + * to be externally defined. + * + * Revision 1.13 1996/02/19 15:41:54 adam + * Better log messages. + * Minor improvement of connect method. + * + * Revision 1.12 1996/02/05 17:58:04 adam + * Ported ir-tcl to use the beta releases of tcl7.5/tk4.1. + * + * Revision 1.11 1995/09/21 13:11:52 adam + * Support of dynamic loading. + * Test script uses load command if necessary. + * + * Revision 1.10 1995/06/22 07:15:59 adam + * Version number moved to Makefile.in + * Some work on autoconf. + * + * Revision 1.9 1995/06/19 13:54:21 adam + * New version. + * + * Revision 1.8 1995/06/19 13:06:08 adam * New define: IR_TCL_VERSION. * * Revision 1.7 1995/05/29 08:44:23 adam @@ -49,15 +74,9 @@ #ifndef IR_TCL_H #define IR_TCL_H -#define IR_TCL_VERSION "0.1" - -int ir_tcl_init (Tcl_Interp *interp); - -void ir_select_add (int fd, void *obj); -void ir_select_add_write (int fd, void *obj); -void ir_select_remove (int fd, void *obj); -void ir_select_remove_write (int fd, void *obj); -void ir_select_read (ClientData clientData); -void ir_select_write (ClientData clientData); +int Irtcl_Init (Tcl_Interp *interp); +void *ir_tcl_malloc (size_t size); +void ir_tcl_select_set (void (*f)(ClientData clientData, int r, int w, int e), + int fd, ClientData clientData, int r, int w, int e); #endif