3 // thie file defines the messages sent too and from the gaas client.
4 function gaasStatus_clientsend($params)
9 function gaasStatus_clientrecv($params)
15 // INIT server message
17 // AD: "AD", "user", "pass", "domain", "client def", "admin def"
18 // IN: "IN", "user", "pass"
19 function gaasInitServer_clientsend($params)
21 $msg["backend"] = $params[0];
22 $msg["user"] = $params[1];
23 $msg["pass"] = $params[2];
25 if($msg["backend"] == "AD") {
26 $msg["domain"] = $params[3];
27 $msg["clientdef"] = $params[4];
28 $msg["admindef"] = $params[4];
29 } else if($msg["backend"] == "IN") {
30 // we dont do anything
32 // invalid backend type
39 // pretty simple, it either works or doesnt, we just pass on the result
40 function gaasInitServer_clientrecv($params)