[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.6 and 1.10

version 1.6, 2000/12/05 12:03:44 version 1.10, 2004/09/17 08:46:10
Line 1 
Line 1 
 /*$OpenXM: OpenXM/src/kan96xx/plugin/oxx.hh,v 1.5 2000/12/03 08:19:55 takayama Exp $*/  /*$OpenXM: OpenXM/src/kan96xx/plugin/oxx.hh,v 1.9 2003/11/17 05:45:47 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 (optional pass)] extension client.");
   if (SecureMode) errorKan1("%s\n","Security violation for oxCreateClient.");    if (SecureMode) errorKan1("%s\n","Security violation for oxCreateClient.");
   rob = KoxCreateClient(getoa(obj,1),getoa(obj,2),getoa(obj,3));    if (size == 4) {
       rob = KoxCreateClient(getoa(obj,1),getoa(obj,2),getoa(obj,3));
     }else if (size == 5) {
       rob = KoxCreateClient(getoa(obj,1),getoa(obj,2),getoa(obj,3),getoa(obj,4));
     }
 }  }
 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.");
Line 48  else if (strcmp(key,"oxWatch") == 0) {
Line 52  else if (strcmp(key,"oxWatch") == 0) {
         rob = KoxWatch(KpoInteger(1),rob);          rob = KoxWatch(KpoInteger(1),rob);
   }    }
 }  }
   else if (strcmp(key,"oxLog") == 0) {
     if (size != 4) errorKan1("%s\n","[(oxLog) client file_in file_out] extension obj");
           rob = KoxLog(getoa(obj,1),getoa(obj,2),getoa(obj,3));
   }
   else if (strcmp(key,"oxLogStop") == 0) {
     if (size != 2) errorKan1("%s\n","[(oxLogStop) client] extension obj ");
     rob = KoxLogStop(getoa(obj,1));
   }
 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");
   rob = KoxCloseClient(getoa(obj,1));    rob = KoxCloseClient(getoa(obj,1));
Line 76  else if (strcmp(key,"oxGetPort") == 0) {
Line 88  else if (strcmp(key,"oxGetPort") == 0) {
 else if (strcmp(key,"oxGetPort1") == 0) {  else if (strcmp(key,"oxGetPort1") == 0) {
   if (size != 2) errorKan1("%s\n","[(oxGetPort1) host] extension obj");    if (size != 2) errorKan1("%s\n","[(oxGetPort1) host] extension obj");
   if (SecureMode) errorKan1("%s\n","Security violation for oxGetPort.");    if (SecureMode) errorKan1("%s\n","Security violation for oxGetPort.");
   rob = KoxGetPort(getoa(obj,1));    rob = KoxGetPort1(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.");
Line 130  else if (strcmp(key,"oxCreateControl_RFC_101") == 0) {
Line 142  else if (strcmp(key,"oxCreateControl_RFC_101") == 0) {
   if (SecureMode) errorKan1("%s\n","Security violation for oxCreateControl_RFC_101.");    if (SecureMode) errorKan1("%s\n","Security violation for oxCreateControl_RFC_101.");
   rob = KoxCreateControl_RFC_101(getoa(obj,1),getoa(obj,2),getoa(obj,3));    rob = KoxCreateControl_RFC_101(getoa(obj,1),getoa(obj,2),getoa(obj,3));
 }  }
   else if (strcmp(key,"oxCreateEngine_RFC_101") == 0) {
     if (size != 5) errorKan1("%s\n","[(oxCreateEngine_RFC_101) peer ipmask pass engineID] extension client.");
     if (SecureMode) errorKan1("%s\n","Security violation for oxCreateEngine_RFC_101.");
     rob = KoxCreateEngine_RFC_101(getoa(obj,1),getoa(obj,2),getoa(obj,3),getoa(obj,4));
   }
   else if (strcmp(key,"oxGetClientList") == 0) {
     if (size != 1) errorKan1("%s\n","[(oxClientList)] extension list_of_clients.");
     rob = KoxGetClientList();
   }
   

Legend:
Removed from v.1.6  
changed lines
  Added in v.1.10

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