summaryrefslogtreecommitdiff
path: root/client.c
diff options
context:
space:
mode:
authorꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id>2019-09-27 08:30:31 +0800
committerꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id>2019-09-27 08:30:31 +0800
commite175a798b247aae05f807b919d9cb1c50968ac42 (patch)
treee58e7cc74a049dbc7fc52aea6862737180cc78d3 /client.c
parentde7fefc270ef3fd8552773e8e6424ad5885b3062 (diff)
newaccount function
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)