summaryrefslogtreecommitdiff
path: root/libgps.xml
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2009-09-24 03:42:03 +0000
committerEric S. Raymond <esr@thyrsus.com>2009-09-24 03:42:03 +0000
commit513076a18269f4cdc20b6a532614f0c69b62f126 (patch)
tree20221204ceca55e7da23c0d3b306618019089b1f /libgps.xml
parent92eee28ad490fd851f554b8b5d0722273961e283 (diff)
downloadgpsd-513076a18269f4cdc20b6a532614f0c69b62f126.tar.gz
gps_stream() gets a third argument for future expansion.
We shouldn't try to explain the transition schedule in two different places.
Diffstat (limited to 'libgps.xml')
-rw-r--r--libgps.xml4
1 files changed, 3 insertions, 1 deletions
diff --git a/libgps.xml b/libgps.xml
index 8399e7b3..c3638136 100644
--- a/libgps.xml
+++ b/libgps.xml
@@ -73,6 +73,7 @@ C:
<funcdef>int <function>gps_stream</function></funcdef>
<paramdef>struct gps_data_t *<parameter>gpsdata</parameter></paramdef>
<paramdef>unsigned int<parameter>flags</parameter></paramdef>
+ <paramdef>void *<parameter>data</parameter></paramdef>
</funcprototype>
<funcprototype>
<funcdef>char *<function>gps_errstr</function></funcdef>
@@ -169,7 +170,8 @@ insulates your code from whether your client library and your
<application>gpsd</application> are using old or new protocol.
The second argument is a flag mask that sets various policy bits;
see gps.h for description. Calling <function>gps_stream()</function>
-more than once with different flag masks is allowed. </para>
+more than once with different flag masks is allowed.The third
+argument is not presently used but reserved for expansion.</para>
<para><function>gps_set_raw_hook()</function> takes a function you
specify and run it (synchronously) on the raw data pulled by a