+
+
+
+char *gss_request(char *json_string)
+{
+ /* Variables */
+ GSSRequest *req = new GSSRequest(string(json_string));
+
+ /* Error checking */
+ // An empty json_string could be an error, but GSSRequest does
+ // a good job of handling it.
+
+ /* Setup */
+ /* Main processing */
+ req->execute();
+ return strdup(req->getResponse().c_str());
+}
+
+void deallocate_reply(char *reply)
+{
+ delete(reply);
+}