summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTeddy <[email protected]>2013-08-27 15:57:17 +0800
committerTeddy <[email protected]>2013-08-27 15:57:17 +0800
commit9b2e7086a1ea7e7a2de70a24a3847806d75fa250 (patch)
tree1db77b2d4a261432ac3cb7f5323cc4654dd65f0a
parent6d555f78a87659e53bd3724bf468d9775744f876 (diff)
ptp v0.4a logout support
-rw-r--r--server/piztor/ptp.rst21
1 files changed, 20 insertions, 1 deletions
diff --git a/server/piztor/ptp.rst b/server/piztor/ptp.rst
index cc0d30c..492a44f 100644
--- a/server/piztor/ptp.rst
+++ b/server/piztor/ptp.rst
@@ -1,4 +1,4 @@
-Piztor Transmission Protocol v0.4
+Piztor Transmission Protocol v0.4a
----------------------------------
- General
@@ -141,3 +141,22 @@ Piztor Transmission Protocol v0.4
:``0x00``: gid (value is a 4-byte ``long int``)
:``0x01``: sex (value is a 1-byte ``boolean``: ``0x01`` for male, ``0x00`` for female)
+
+- User Logout
+
+ - Request
+
+ ::
+
+ +--1b--+-----?b------+
+ | 0x04 | AUTH_HEAD |
+ +------+-------------+
+
+ - Response
+
+ ::
+
+ +--1b--+---1b---+
+ | 0x04 | STATUS |
+ +------+--------+
+