More changes
[uccvend-snackrom.git] / ROM2 / server.c
index d121168..554e070 100644 (file)
@@ -6,3 +6,13 @@ u8 server_authenticate(u16 uid, u16 pin) {
        /* send msgs to server and stuff */
        return AUTH_GOOD; /* for now */
 }
+
+u8 server_credit_account(u16 uid, u16 pin, u16 amt) {
+       return CREDIT_OK;
+       /* alternatively credit fail? */
+}
+
+u8 server_request(u16 uid, u16 pin, u8 item) {
+       /* send a message to the server asking for item */
+       return REQUEST_OK;
+}

UCC git Repository :: git.ucc.asn.au