diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2006-11-20 23:37:02 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2006-11-20 23:37:02 +0000 |
commit | 606b3fd68d08e3a89780710253e60bb373efe5e2 (patch) | |
tree | f6cd290d9c1d643e5d8f55d12e746faabf05e5bd /libgpsd.xml | |
parent | 18b083720c9e2d6fa4c4cc2fc54699f19abb116f (diff) | |
download | gpsd-606b3fd68d08e3a89780710253e60bb373efe5e2.tar.gz |
Pull the "configurable" bit out of the context structure & make it per-driver...
...set by an argument to gpsd_active(). Changes the libgpsd(3) API,
but not the client-side one.
Diffstat (limited to 'libgpsd.xml')
-rw-r--r-- | libgpsd.xml | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libgpsd.xml b/libgpsd.xml index 85fa1143..0ae155bd 100644 --- a/libgpsd.xml +++ b/libgpsd.xml @@ -34,7 +34,8 @@ C: </funcprototype> <funcprototype> <funcdef>int <function>gpsd_activate</function></funcdef> - <paramdef>struct gps_device_t * <parameter>session</parameter></paramdef> + <paramdef>struct gps_device_t *<parameter>session</parameter></paramdef> + <paramdef>bool <parameter>reconfigurable</parameter></paramdef> </funcprototype> <funcprototype> <funcdef>void <function>gpsd_deactivate</function></funcdef> @@ -97,8 +98,7 @@ of its members.</para> <varlistentry> <term><structfield>gpsd_device</structfield></term> <listitem> -<para>This member should hold the path name of the device; it defaults to -<filename>/dev/gps</filename>.</para> +<para>This member should hold the path name of the device.</para> </listitem> </varlistentry> <varlistentry> @@ -124,7 +124,7 @@ and a rawness level.</para> </variablelist> <para><function>gpsd_activate()</function> -initializes the connection to the GPS. +initializes the connection to the GPS. <function>gpsd_deactivate()</function> closes the connection. These functions are provided so that long-running programs can release a connection when there is no |