[BACK]Return to tcpf.c CVS log [TXT][DIR] Up to [local] / OpenXM_contrib2 / asir2000 / io

Diff for /OpenXM_contrib2/asir2000/io/tcpf.c between version 1.1 and 1.3

version 1.1, 1999/12/03 07:39:11 version 1.3, 1999/12/21 04:20:42
Line 1 
Line 1 
 /* $OpenXM: OpenXM/src/asir99/io/tcpf.c,v 1.8 1999/11/19 10:41:08 noro Exp $ */  /* $OpenXM: OpenXM_contrib2/asir2000/io/tcpf.c,v 1.2 1999/12/13 01:56:04 noro Exp $ */
 #if INET  #if INET
 #include "ca.h"  #include "ca.h"
 #include "parse.h"  #include "parse.h"
Line 93  struct ftab tcp_tab[] = {
Line 93  struct ftab tcp_tab[] = {
         {"ox_pop0_local",Pox_pop0_local,1},          {"ox_pop0_local",Pox_pop0_local,1},
         {"ox_pop_cmo",Pox_pop_cmo,1},          {"ox_pop_cmo",Pox_pop_cmo,1},
         {"ox_pop0_cmo",Pox_pop0_cmo,1},          {"ox_pop0_cmo",Pox_pop0_cmo,1},
         {"ox_get",Pox_get,1},          {"ox_get",Pox_get,-1},
         {"ox_pops",Pox_pops,-2},          {"ox_pops",Pox_pops,-2},
   
         {"ox_push_vl",Pox_push_vl,1},          {"ox_push_vl",Pox_push_vl,1},
Line 403  char *control_port_str,*server_port_str;
Line 403  char *control_port_str,*server_port_str;
         gethostname(localhost,BUFSIZ);          gethostname(localhost,BUFSIZ);
         if ( use_unix ) {          if ( use_unix ) {
                 if ( !fork() ) {                  if ( !fork() ) {
                           setpgid(0,getpid());
                         if ( dname )                          if ( dname )
                                 execlp("xterm","xterm","-name",OX_XTERM,"-display",dname,                                  execlp("xterm","xterm","-name",OX_XTERM,"-display",dname,
                                         "-geometry","60x10","-e",launcher,".",conn_str,                                          "-geometry","60x10","-e",launcher,".",conn_str,
Line 735  void Pox_get(arg,rp)
Line 736  void Pox_get(arg,rp)
 NODE arg;  NODE arg;
 Obj *rp;  Obj *rp;
 {  {
         int index = QTOS((Q)ARG0(arg));          int index;
         int s;          int s;
   
         valid_mctab_index(index);          if ( !arg ) {
         s = m_c_tab[index].c;                  /* client->server */
         ox_flush_stream_force(s);                  ox_get_result(0,rp);
         ox_get_result(s,rp);          } else {
                   /* server->client */
                   index = QTOS((Q)ARG0(arg));
                   valid_mctab_index(index);
                   s = m_c_tab[index].c;
                   ox_flush_stream_force(s);
                   ox_get_result(s,rp);
           }
 }  }
   
 void Pox_pops(arg,rp)  void Pox_pops(arg,rp)

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.3

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>