From: John Hodge Date: Thu, 6 Jan 2011 00:05:55 +0000 (+0800) Subject: Fiddling with protocol (might redesign it a bit) X-Git-Url: https://git.ucc.asn.au/?a=commitdiff_plain;h=a3b265fadf5761d8e8a14357db5402d04d65796e;p=tpg%2Fopendispense2.git Fiddling with protocol (might redesign it a bit) --- diff --git a/proto.txt b/proto.txt index 8c1dbed..8707697 100644 --- a/proto.txt +++ b/proto.txt @@ -56,12 +56,9 @@ s 201 Items ...\n --- Get Item Information --- c ITEM_INFO \n s 202 Item \n ---- Set Balance --- -c SET \n -s 200 Set OK\n or 403 Not allowed\n or 404 Bad User\n ---- Get Users Balances --- +--- Get Users' Balances --- c ENUM_USERS[ ]\n -s 201 Users ...\n +s 201 Users :: :: ...\n --- Get a User's Balance --- c USERINFO\n -s 202 User \n +s 202 User \n