From e175a798b247aae05f807b919d9cb1c50968ac42 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=A6=8C=20=EA=A6=AB=EA=A6=B6=20=EA=A6=8F=EA=A7=80?= =?UTF-8?q?=EA=A6=A6=EA=A6=BF=20=EA=A6=A7=20=EA=A6=AE=20=EA=A6=91=20?= =?UTF-8?q?=EA=A6=A9=20=EA=A6=AD=EA=A7=80?= Date: Fri, 27 Sep 2019 08:30:31 +0800 Subject: newaccount function --- client.c | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'client.c') 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) -- cgit v1.2.3