diff options
author | ꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id> | 2019-09-26 11:19:10 +0800 |
---|---|---|
committer | ꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id> | 2019-09-26 11:19:10 +0800 |
commit | 737bd34f39e9a3d14d170633e07c555d9e26d026 (patch) | |
tree | d67249324c3a1f7f3aab66d65af66abcc4cb22d3 /main.c | |
parent | b2073e82d797557321a803332204d96f21e2cb22 (diff) |
Build product code again
Diffstat (limited to 'main.c')
-rw-r--r-- | main.c | 9 |
1 files changed, 6 insertions, 3 deletions
@@ -2,7 +2,7 @@ #include <stdlib.h> #include <string.h> #include <stdbool.h> -#include <icclient/admin.h> +#include <icclient/product.h> #include <icclient/client.h> int main(void) @@ -27,10 +27,13 @@ int main(void) icclient_init(url, NULL); free(url); - icclient_admin_login(name, pass, NULL, NULL, NULL); + icclient_login(name, pass, NULL, NULL, NULL); free(name); free(pass); - icclient_admin_logout(); + icclient_logout(); + + icclient_product_all(NULL, NULL); + icclient_cleanup(); } |