* USE OR PERFORMANCE OF THIS SOFTWARE.
*
* $Log: wsh.c,v $
- * Revision 1.3 1995/10/23 16:55:41 adam
+ * Revision 1.4 1995/10/27 15:12:12 adam
+ * IrTcl incorporated in the gateway.
+ * Better separation of script types.
+ * Z39.50 gateway scripts entered.
+ *
+ * Revision 1.3 1995/10/23 16:55:41 adam
* A lot of changes - really.
*
* Revision 1.2 1995/10/20 14:02:42 adam
#include <unistd.h>
#include <ctype.h>
-#include "winterp.h"
+#include "whtml.h"
+#include "wtcl.h"
+#include "wirtcl.h"
#define TIMEOUT_SHORT 60
#define TIMEOUT_MEDIUM 1800
gw_log_session (wcl->id);
if (!strcmp (*argv, "egwtcl"))
w_interp = w_interp_create (w_interp_tcl, wcl, NULL);
+ else if (!strcmp (*argv, "egwirtcl"))
+ w_interp = w_interp_create (w_interp_irtcl, wcl, NULL);
else if (!strcmp (*argv, "egwhtml"))
w_interp = w_interp_create (w_interp_html, wcl, NULL);
else
script = parms = parms_buf;
while (*parms && *parms != '/')
parms++;
- if (*parms == '/')
+ if (*parms)
*parms++ = '\0';
if (*script)
{