version 1.3, 1999/12/14 09:29:13 |
version 1.4, 1999/12/15 05:57:35 |
|
|
/* -*- mode: C; coding: euc-japan -*- */ |
/* -*- mode: C; coding: euc-japan -*- */ |
/* $OpenXM: OpenXM/src/ox_toolkit/ox.c,v 1.2 1999/12/13 02:27:15 ohara Exp $ */ |
/* $OpenXM: OpenXM/src/ox_toolkit/ox.c,v 1.3 1999/12/14 09:29:13 ohara Exp $ */ |
|
|
/* |
/* |
関数の名前付け規約(その2): |
関数の名前付け規約(その2): |
Line 799 ox_file_t ox_start(char* host, char* ctl_prog, char* d |
|
Line 799 ox_file_t ox_start(char* host, char* ctl_prog, char* d |
|
short portStream = 0; |
short portStream = 0; |
ox_file_t sv = NULL; |
ox_file_t sv = NULL; |
char *dir; |
char *dir; |
char *oxlog = "/home/ohara/OpenXM/bin/oxlog"; |
char *oxlog = "oxlog"; |
|
|
if ((dir = search_ox(ctl_prog)) == NULL) { |
if ((dir = search_ox(ctl_prog)) == NULL) { |
fprintf(stderr, "client:: %s not found.\n", ctl_prog); |
fprintf(stderr, "client:: %s not found.\n", ctl_prog); |
return NULL; |
return NULL; |
} |
} |
|
|
sv = malloc(sizeof(__ox_file_struct)); |
sv = malloc(sizeof(__ox_file_struct)); |
sv->control = mysocketListen(host, &portControl); |
sv->control = mysocketListen(host, &portControl); |
sv->stream = mysocketListen(host, &portStream); |
sv->stream = mysocketListen(host, &portStream); |