diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2010-07-13 23:09:21 -0400 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2010-07-13 23:09:21 -0400 |
commit | 4361766f80dda14f2f6d47184824032d33035695 (patch) | |
tree | 8e6bd11c621b64966f0a72d45727fa4ece23114b /libgps.xml | |
parent | a9db64513a4bfcdfebf0483a1d82e8d411a8f2f3 (diff) | |
download | gpsd-4361766f80dda14f2f6d47184824032d33035695.tar.gz |
First round of changes for API major version 5:
* gps_open() becomes reentrant, what gps_open_r() used to be.
* gps_poll() is removed in favor of gps_read().
Diffstat (limited to 'libgps.xml')
-rw-r--r-- | libgps.xml | 12 |
1 files changed, 3 insertions, 9 deletions
@@ -27,13 +27,7 @@ C: </funcsynopsisinfo> <funcprototype> -<funcdef>struct gps_data_t *<function>gps_open</function></funcdef> - <paramdef>int<parameter>af</parameter></paramdef> - <paramdef>char *<parameter>server</parameter></paramdef> - <paramdef>char * <parameter>port</parameter></paramdef> -</funcprototype> -<funcprototype> -<funcdef>int <function>gps_open_r</function></funcdef> +<funcdef>int <function>gps_open</function></funcdef> <paramdef>char *<parameter>server</parameter></paramdef> <paramdef>char * <parameter>port</parameter></paramdef> <paramdef>struct gps_data_t *<parameter>gpsdata</parameter></paramdef> @@ -321,8 +315,8 @@ command is shipped to it will be the reponse to command.</para> <function>gps_send()</function> but beware that this ties your code to the GPSD wire protocol. It is not recommended.</para> -<para>This API has been stable since GPSD 2.90, except that -<function>gps_waiting()</function> was added in 2.91.</para> +<para>See gthe comment above the symbol GPSD_API_MAJOR_VERSION +in <filename>gps.h</filename> for recent changes.</para> </refsect1> <refsect1 id='see_also'><title>SEE ALSO</title> |