version 1.10, 2004/09/17 08:46:10 |
version 1.11, 2004/09/17 11:11:59 |
|
|
/*$OpenXM: OpenXM/src/kan96xx/plugin/oxx.hh,v 1.9 2003/11/17 05:45:47 takayama Exp $*/ |
/*$OpenXM: OpenXM/src/kan96xx/plugin/oxx.hh,v 1.10 2004/09/17 08:46:10 takayama Exp $*/ |
else if (strcmp(key,"oxCreateClient") == 0) { |
else if (strcmp(key,"oxCreateClient") == 0) { |
if (size < 4) errorKan1("%s\n","[(oxCreateClient) ip dataport controlport (optional pass)] 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."); |
if (size == 4) { |
if (size == 4) { |
rob = KoxCreateClient(getoa(obj,1),getoa(obj,2),getoa(obj,3)); |
rob = KoxCreateClient(getoa(obj,1),getoa(obj,2),getoa(obj,3),NullObject); |
}else if (size == 5) { |
}else if (size == 5) { |
rob = KoxCreateClient(getoa(obj,1),getoa(obj,2),getoa(obj,3),getoa(obj,4)); |
rob = KoxCreateClient(getoa(obj,1),getoa(obj,2),getoa(obj,3),getoa(obj,4)); |
} |
} |
Line 11 else if (strcmp(key,"oxCreateClient") == 0) { |
|
Line 11 else if (strcmp(key,"oxCreateClient") == 0) { |
|
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."); |
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),NullObject); |
/* dummy */ |
/* dummy */ |
} |
} |
else if (strcmp(key,"oxReq") == 0) { |
else if (strcmp(key,"oxReq") == 0) { |