diff options
author | Jon Schlueter <jon.schlueter@gmail.com> | 2011-02-21 13:26:53 -0500 |
---|---|---|
committer | Jon Schlueter <jon.schlueter@gmail.com> | 2011-02-21 14:08:33 -0500 |
commit | f6a987466c0fd4eb0829a3e4490281f56d4f7428 (patch) | |
tree | 03b680f045b2c0a92c448ce1fc8ccd4088868ed5 /doc | |
parent | 91924bb6fdd9c0707dbde82f57f76fd1bc74d153 (diff) | |
download | gpsd-f6a987466c0fd4eb0829a3e4490281f56d4f7428.tar.gz |
notify_watchers take a const char * sentence
Diffstat (limited to 'doc')
-rw-r--r-- | doc/explan_gpsd.c.xml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/explan_gpsd.c.xml b/doc/explan_gpsd.c.xml index c9b8c6ea..90db499d 100644 --- a/doc/explan_gpsd.c.xml +++ b/doc/explan_gpsd.c.xml @@ -143,7 +143,7 @@ <entry><para>Check if we have a high enough debug level active to warrant printing out the information we are about to send to the client.</para><para>Make the actual <function>write()</function> call and if that was successful, return the counter value from that operation.</para><para>If we have suffered some kind of failure, try to analyse it.</para><para>On a short write, detach the client and return a 0.</para><para>Trap <function>EAGAIN</function> or <function>EINTR</function> and return a 0.</para><para>Trap <function>EBADF</function> or a <function>EWOULDBLOCK</function> where the client has not read data for more than a reasonable amount of time and generate a suitable report.</para><para>For all other errors, generate a general error. In these last several cases, call <function>detach_cient()</function>.</para><para>Finally, return the status (-1 in this case).</para></entry> </row> <row> - <entry><function>static void notify_watchers(struct gps_device_t *device, char *sentence, ...)</function></entry> + <entry><function>static void notify_watchers(struct gps_device_t *device, const char *sentence, ...)</function></entry> <entry><para>For every possible subscriber, check if the subscriber is in watcher mode and is interested in the gps device indicated in the calling parameter <function>gps_device_t</function>.</para><para>If so, send the data via a call to <function>throttled_write()</function>.</para></entry> </row> <row> |