[BACK]Return to oxx.hh CVS log [TXT][DIR] Up to [local] / OpenXM / src / kan96xx / plugin

Diff for /OpenXM/src/kan96xx/plugin/oxx.hh between version 1.1 and 1.4

version 1.1, 1999/10/08 02:12:05 version 1.4, 2000/12/03 07:29:40
Line 1 
Line 1 
   /*$OpenXM: OpenXM/src/kan96xx/plugin/oxx.hh,v 1.3 2000/02/24 12:33:48 takayama Exp $*/
 else if (strcmp(key,"oxCreateClient") == 0) {  else if (strcmp(key,"oxCreateClient") == 0) {
   if (size != 4) errorKan1("%s\n","[(oxCreateClient) ip dataport controlport] extension client.");    if (size != 4) errorKan1("%s\n","[(oxCreateClient) ip dataport controlport] extension client.");
     if (SecureMode) errorKan1("%s\n","Security violation for oxCreateClient.");
   rob = KoxCreateClient(getoa(obj,1),getoa(obj,2),getoa(obj,3));    rob = KoxCreateClient(getoa(obj,1),getoa(obj,2),getoa(obj,3));
 }  }
 else if (strcmp(key,"oxCreateClientFile") == 0) {  else if (strcmp(key,"oxCreateClientFile") == 0) {
   if (size != 3) errorKan1("%s\n","[(oxCreateClientFile) fname mode] extension client.");    if (size != 3) errorKan1("%s\n","[(oxCreateClientFile) fname mode] extension client.");
     if (SecureMode) errorKan1("%s\n","Security violation for oxCreateClientFile.");
   rob = KoxCreateClient(getoa(obj,1),getoa(obj,2),getoa(obj,2));    rob = KoxCreateClient(getoa(obj,1),getoa(obj,2),getoa(obj,2));
                                                  /* dummy */                                                   /* dummy */
 }  }
Line 38  else if (strcmp(key,"oxMultiSelect") == 0) {
Line 41  else if (strcmp(key,"oxMultiSelect") == 0) {
   rob = KoxMultiSelect(getoa(obj,1),getoa(obj,2));    rob = KoxMultiSelect(getoa(obj,1),getoa(obj,2));
 }  }
 else if (strcmp(key,"oxWatch") == 0) {  else if (strcmp(key,"oxWatch") == 0) {
   if (size != 2) errorKan1("%s\n","[(oxWatch) client] extension obj");    if (size > 2) errorKan1("%s\n","[(oxWatch) client] extension obj");
   rob = KoxWatch(getoa(obj,1),rob); /* rob is dummy for now. */    if (size == 2) {
           rob = KoxWatch(getoa(obj,1),rob); /* rob is dummy for now. */
     }else {
           rob = KoxWatch(KpoInteger(1),rob);
     }
 }  }
 else if (strcmp(key,"oxCloseClient") == 0) {  else if (strcmp(key,"oxCloseClient") == 0) {
   if (size != 2) errorKan1("%s\n","[(oxCloseClient) client] extension obj");    if (size != 2) errorKan1("%s\n","[(oxCloseClient) client] extension obj");
Line 63  else if (strcmp(key,"oxGenPass") == 0) {
Line 70  else if (strcmp(key,"oxGenPass") == 0) {
 }  }
 else if (strcmp(key,"oxGetPort") == 0) {  else if (strcmp(key,"oxGetPort") == 0) {
   if (size != 2) errorKan1("%s\n","[(oxGetPort) host] extension obj");    if (size != 2) errorKan1("%s\n","[(oxGetPort) host] extension obj");
     if (SecureMode) errorKan1("%s\n","Security violation for oxGetPort.");
   rob = KoxGetPort(getoa(obj,1));    rob = KoxGetPort(getoa(obj,1));
 }  }
 else if (strcmp(key,"oxCreateClient2") == 0) {  else if (strcmp(key,"oxCreateClient2") == 0) {
   if (size != 4) errorKan1("%s\n","[(oxCreateClient2) peer ipmask pass] extension client.");    if (size != 4) errorKan1("%s\n","[(oxCreateClient2) peer ipmask pass] extension client.");
     if (SecureMode) errorKan1("%s\n","Security violation for oxCreateClient2.");
   rob = KoxCreateClient2(getoa(obj,1),getoa(obj,2),getoa(obj,3));    rob = KoxCreateClient2(getoa(obj,1),getoa(obj,2),getoa(obj,3));
 }  }
 else if (strcmp(key,"oxPrintMessage") == 0) {  else if (strcmp(key,"oxPrintMessage") == 0) {
Line 91  else if (strcmp(key,"oxPrintMessage") == 0) {
Line 100  else if (strcmp(key,"oxPrintMessage") == 0) {
       errorKan1("%s\n","[(oxPrintMessge) level] extension obj, integer level");        errorKan1("%s\n","[(oxPrintMessge) level] extension obj, integer level");
     OXprintMessage = KopInteger(obj1);      OXprintMessage = KopInteger(obj1);
     rob = KpoInteger(OXprintMessage);      rob = KpoInteger(OXprintMessage);
     }
   }
   else if (strcmp(key,"oxPushCMD") == 0) {
     if (size == 3) {
       lockCtrlCForOx();
       rob = KoxPushCMD(getoa(obj,1),getoa(obj,2));
       unlockCtrlCForOx();
     }else {
       errorKan1("%s\n","[(oxPushCMD) client SM_id] extension result.");
     }
   }
   else if (strcmp(key,"oxPushCMO") == 0) {
     if (size == 3) {
       lockCtrlCForOx();
       rob = KoxPushCMO(getoa(obj,1),getoa(obj,2));
       unlockCtrlCForOx();
     }else {
       errorKan1("%s\n","[(oxPushCMO) client obj] extension result.");
   }    }
 }  }
   

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

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