summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2011-03-24 08:46:59 -0400
committerEric S. Raymond <esr@thyrsus.com>2011-03-24 08:46:59 -0400
commitd29266b5ece4cc5fd865f97947333574b9186e72 (patch)
tree949536fe3fb463afc95d6651ce2b0fb3248fef2a /www
parenta9cd46bb96ab64d63fa803cc23398feaa33fc34f (diff)
downloadgpsd-d29266b5ece4cc5fd865f97947333574b9186e72.tar.gz
Document the unpack() method in C and Python APIs.
We're not bumping the minor API number because the C library has had this all along. Alas, it can't be made to fit the RAII model of the C++ binding. All regression tests pass.
Diffstat (limited to 'www')
-rw-r--r--www/client-howto.txt4
1 files changed, 3 insertions, 1 deletions
diff --git a/www/client-howto.txt b/www/client-howto.txt
index e3610c2e..56abac7b 100644
--- a/www/client-howto.txt
+++ b/www/client-howto.txt
@@ -1,6 +1,6 @@
= GPSD Client HOWTO =
Eric S. Raymond <esr@thyrsus.com>
-v1.8, March 2011
+v1.9, March 2011
This document is mastered in asciidoc format. If you are reading it
in HTML, you can find the original at
@@ -348,6 +348,8 @@ Set watch policy. What you should use instead of send().
Blocking check with timeout to see in input is waiting.
|gps_read() |gpsmm.read() |gps.read() |
Nonblocking read for data from the daemon.
+|gps_unpack() | |gps.unpack() |
+Parse JSON from a specified buffer into a session structure
|gps_close() |gpsmm.~gpsmm() |gps.close() |
Close the daemon socket and end the session.
|gps_data() |gpsmm.data() |gps.data() |