* Copyright (c) 1995-2003, Index Data
* See the file LICENSE for details.
*
- * $Id: client.c,v 1.188 2003-04-29 21:13:08 adam Exp $
+ * $Id: client.c,v 1.189 2003-04-29 21:20:33 adam Exp $
*/
#include <stdio.h>
}
}
-int cmd_open(const char *arg)
-{
- static char cur_host[200];
- if (arg)
- {
- strncpy (cur_host, arg, sizeof(cur_host)-1);
- cur_host[sizeof(cur_host)-1] = 0;
- }
- return session_connect(cur_host);
-}
-
int session_connect(const char *arg)
{
void *add;
return 0;
}
+int cmd_open(const char *arg)
+{
+ static char cur_host[200];
+ if (arg)
+ {
+ strncpy (cur_host, arg, sizeof(cur_host)-1);
+ cur_host[sizeof(cur_host)-1] = 0;
+ }
+ return session_connect(cur_host);
+}
+
void try_reconnect()
{
char* open_command;
oident prefsyn;
int nos = 1;
int oid[OID_SIZE];
- char *p;
char setstring[100];
req->referenceId = set_refid (out);