=================================================================== RCS file: /home/cvs/OpenXM/src/ox_toolkit/zclient.c,v retrieving revision 1.5 retrieving revision 1.6 diff -u -p -r1.5 -r1.6 --- OpenXM/src/ox_toolkit/zclient.c 2003/02/04 20:43:55 1.5 +++ OpenXM/src/ox_toolkit/zclient.c 2003/09/15 09:31:42 1.6 @@ -1,5 +1,5 @@ /* -*- mode: C -*- */ -/* $OpenXM: OpenXM/src/ox_toolkit/zclient.c,v 1.4 2003/01/13 12:03:13 ohara Exp $ */ +/* $OpenXM: OpenXM/src/ox_toolkit/zclient.c,v 1.5 2003/02/04 20:43:55 ohara Exp $ */ /* A sample implementation of an OpenXM client with OpenXM C library */ @@ -9,6 +9,8 @@ #include #include "ox_toolkit.h" +int oxc_start(char *remote_host, int port, char *passwd); + static OXFILE *connection(int listened, char *passwd) { OXFILE *oxfp = oxf_connect_passive(listened); @@ -22,7 +24,7 @@ static OXFILE *connection(int listened, char *passwd) OXFILE *open_server(char *remote_host) { - short port; + int port; int listen; char *passwd = generate_otp();