diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2009-09-24 03:42:03 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2009-09-24 03:42:03 +0000 |
commit | 513076a18269f4cdc20b6a532614f0c69b62f126 (patch) | |
tree | 20221204ceca55e7da23c0d3b306618019089b1f /libgps.xml | |
parent | 92eee28ad490fd851f554b8b5d0722273961e283 (diff) | |
download | gpsd-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.xml | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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 |