From 871a829c4784db11d65c094710fcaf9cfddeacfe Mon Sep 17 00:00:00 2001 From: miteruzo Date: Tue, 4 Jul 2023 12:35:50 +0900 Subject: [PATCH] =?UTF-8?q?=E3=83=A6=E3=83=BC=E3=82=B6=E7=AE=A1=E7=90=86?= =?UTF-8?q?=E3=82=92=E8=BF=BD=E5=8A=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- modules/user.mod.hsp | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 modules/user.mod.hsp diff --git a/modules/user.mod.hsp b/modules/user.mod.hsp new file mode 100644 index 0000000..49101a6 --- /dev/null +++ b/modules/user.mod.hsp @@ -0,0 +1,33 @@ +#module \ +User + +#define URL (CONFIG_SERVER_URL + "/make_user.php") + +#defcfunc local \ +New + id.insNum = 0 + pass.insNum = "" + + insNum++ + + Return insNum - 1 + +#deffunc local \ +Make \ + int p_insId,\ + local data + HTTPLoad URL + HTTPInfo data + + id.p_insId = 0 + pass.p_insId = "" + + Return + +#deffunc local \ +Get \ + int p_insId + Return + +#global +