version 1.8, 2009/03/20 18:41:16 |
version 1.10, 2016/06/30 01:14:00 |
|
|
/* -*- mode: C; coding: euc-japan -*- */ |
/* -*- mode: C; coding: euc-japan -*- */ |
/* $OpenXM: OpenXM/src/ox_toolkit/oxf_old.c,v 1.7 2003/09/15 09:31:42 ohara Exp $ */ |
/* $OpenXM: OpenXM/src/ox_toolkit/oxf_old.c,v 1.9 2015/08/27 03:03:34 ohara Exp $ */ |
|
|
/* このモジュールは互換性のためのものです。*/ |
/* このモジュールは互換性のためのものです。*/ |
|
|
#include <stdio.h> |
#include <stdio.h> |
#include <stdlib.h> |
#include <stdlib.h> |
#include <string.h> |
#include <string.h> |
#include <unistd.h> |
|
#include <fcntl.h> |
#include <fcntl.h> |
|
#include <time.h> |
|
|
|
#if defined(_MSC_VER) || defined(__MINGW32__) |
|
#include <io.h> |
|
#define MAXHOSTNAMELEN 256 |
|
#else |
|
#include <unistd.h> |
#include <sys/file.h> |
#include <sys/file.h> |
#include <sys/param.h> |
#include <sys/param.h> |
#include <time.h> |
#endif |
|
|
#if defined(__sun__) |
#if defined(__sun__) |
#include <netdb.h> |
#include <netdb.h> |
Line 106 void set_OpenXM_HOME() |
|
Line 112 void set_OpenXM_HOME() |
|
} |
} |
} |
} |
|
|
|
#if !defined(_MSC_VER) |
void ox_exec_local(char* ctl_prog, char* dat_prog, int portControl, int portStream, char *passwd) |
void ox_exec_local(char* ctl_prog, char* dat_prog, int portControl, int portStream, char *passwd) |
{ |
{ |
char ctl[128], dat[128]; |
char ctl[128], dat[128]; |
Line 212 OXFILE *ox_start_remote_with_ssh(char *dat_prog, char* |
|
Line 219 OXFILE *ox_start_remote_with_ssh(char *dat_prog, char* |
|
ssh_ox_server(remote_host, "ox", dat_prog, 1200, 1300); |
ssh_ox_server(remote_host, "ox", dat_prog, 1200, 1300); |
return ox_start_insecure(remote_host, 1200, 1300); |
return ox_start_insecure(remote_host, 1200, 1300); |
} |
} |
|
#endif |