// thie file defines the messages sent too and from the gaas client.
function gaasStatus_clientsend($params)
{
- return $params[0];
+ return $params;
}
function gaasStatus_clientrecv($params)
}
// pretty simple, it either works or doesnt, we just pass on the result
+// im leaving this function here as an example of how you deal
+// with data coming back from the server but prior to returning
+// to the client. if it just returns the data back to the client
+// you doing have to define a recving function
function gaasInitServer_clientrecv($params)
{
return $params;
function gaasSetADLogin_clientsend($params)
{
+ $msg["domain"] = $params[2];
+ $msg["user"] = $params[0];
+ $msg["pass"] = $params[1];
+ return $msg;
}
-function gaasSetADLogin_clientrecv($params)
+function gaasSetClientGroup_clientsend($params)
{
-
+ $msg["clientgroup"] = $params[0];
+ return $msg;
}
+
+function gaasSetAdminGroup_clientsend($params)
+{
+ $msg["admingroup"] = $params[0];
+ return $msg;
+}
+
+function gaasProvisionUser_clientsend($params)
+{
+ return $msg;
+}
+
?>
\ No newline at end of file