return resp;
}
-void kds_s2000w_client_init()
-{
- debug_printf(ALL, "kds_s2000w_client_init");
-
- curl = curl_easy_init();
-}
-
-void kds_s2000w_client_free()
-{
- debug_printf(ALL, "kds_s2000w_client_free");
-
- curl_easy_cleanup(curl);
- curl = NULL;
-}
-
void kds_s2000w_client_response_free(response* response)
{
debug_printf(ALL, "kds_s2000w_client_response_free");
response = NULL;
}
+void kds_s2000w_client_init()
+{
+ debug_printf(ALL, "kds_s2000w_client_init");
+
+ curl = curl_easy_init();
+}
+
+void kds_s2000w_client_free()
+{
+ debug_printf(ALL, "kds_s2000w_client_free");
+
+ curl_easy_cleanup(curl);
+ curl = NULL;
+}
+
int kds_s2000w_client_open_session(response* response)
{
debug_printf(ALL, "kds_s2000w_client_open_session");