diff options
-rw-r--r-- | client.c | 8 | ||||
-rw-r--r-- | icclient/client.h | 3 |
2 files changed, 11 insertions, 0 deletions
@@ -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) diff --git a/icclient/client.h b/icclient/client.h index 53d5d77..40fdfda 100644 --- a/icclient/client.h +++ b/icclient/client.h @@ -6,6 +6,9 @@ extern "C" { #endif bool icclient_init(const char *url, const char *certificate); + void icclient_user_newaccount(const char *username, const char *password + , const char *verify, const char *successpage + , const char *nextpage, const char *failpage); void icclient_login(const char *username, const char *password , const char *successpage, const char *nextpage , const char *failpage); |