summaryrefslogtreecommitdiff
path: root/server/ptp.rst
diff options
context:
space:
mode:
authorTeddy <ted.sybil@gmail.com>2013-08-23 14:19:50 +0800
committerTeddy <ted.sybil@gmail.com>2013-08-23 14:19:50 +0800
commitdc4111896079c991548c53724f6f42c3147dd738 (patch)
treecb73f92157bae9a10bd810ca50b1ef64cd096eb8 /server/ptp.rst
parent8d5489095e4b0526e4152f7e3a1e9bc3a758e9bd (diff)
...
Diffstat (limited to 'server/ptp.rst')
-rw-r--r--server/ptp.rst10
1 files changed, 5 insertions, 5 deletions
diff --git a/server/ptp.rst b/server/ptp.rst
index 02a862f..ef7af57 100644
--- a/server/ptp.rst
+++ b/server/ptp.rst
@@ -37,7 +37,7 @@ Piztor Transmission Protocol v0.1
| 0x00 | USER_TOKEN | STATUS |
+-uchar-+-----int----+--uchar--+
- STATUS:
+ ``STATUS`` :
- 0x00 for success
- 0x01 for failure
@@ -60,7 +60,7 @@ Piztor Transmission Protocol v0.1
| 0x01 | STATUS |
+-uchar-+--uchar-+
- STATUS:
+ ``STATUS`` :
- 0x00 for success
- 0x01 for invalid token
@@ -80,10 +80,10 @@ Piztor Transmission Protocol v0.1
::
+--1b---+---1b---+
- | 0x01 | STATUS |
+ | 0x02 | STATUS |
+-uchar-+--uchar-+
- STATUS:
+ ``STATUS`` :
- 0x00 for success
- 0x01 for invalid token
@@ -106,7 +106,7 @@ Piztor Transmission Protocol v0.1
| 0x03 | ENTRY_CNT | LOCATION_ENTRY | ... |
+-uchar-+---int-----+----------------+-----+
- Location Entry:
+ ``LOCATION_ENTRY`` :
::