summaryrefslogtreecommitdiff
path: root/client.c
diff options
context:
space:
mode:
Diffstat (limited to 'client.c')
-rw-r--r--client.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/client.c b/client.c
index 608b7e5..9a3857c 100644
--- a/client.c
+++ b/client.c
@@ -29,6 +29,14 @@ bool icclient_init(const char *url, const char *certificate)
return (bool)curl;
}
+void icclient_newaccount(const char *username, const char *password
+ , const char *verify, const char *successpage, const char *nextpage
+ , const char *failpage)
+{
+ login(username, password, verify, "NewAccount", successpage, nextpage
+ , failpage);
+}
+
void icclient_login(const char *username, const char *password
, const char *successpage, const char *nextpage
, const char *failpage)