From a35f3505dd4003ce667cedbaf99a555369232817 Mon Sep 17 00:00:00 2001 From: Jon Schlueter Date: Sat, 5 Mar 2011 13:40:40 -0500 Subject: spellchecking of explan_gpsd.c.xml --- doc/explan_gpsd.c.xml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'doc') diff --git a/doc/explan_gpsd.c.xml b/doc/explan_gpsd.c.xml index d32ccc68..024b4f1f 100644 --- a/doc/explan_gpsd.c.xml +++ b/doc/explan_gpsd.c.xml @@ -50,7 +50,7 @@ void gpsd_report(int errlevel, const char *fmt, ... ) This code is used for error reporting, but is dependant on SQUELCH_DISABLE so that embedded systems (for example) are not - burdened with unneccessary noise. The first thing to check is if the + burdened with unnecessary noise. The first thing to check is if the error level offered is high enough to be of interest (controlled by the debug level we are running at).If we are interested, the first step is to protect the code with a mutex if we @@ -93,7 +93,7 @@ warning if the error indicates that gpsd may already be active on the socket.If we are using a stream type socket and we are unable to listen to the port we exit - with -1.The last possibilty is a successful set of + with -1.The last possibility is a successful set of operations which is signalled by returning the socket fd number. @@ -153,7 +153,7 @@ static void deactivate_device(struct gps_device_t *device) Deactivate device, but leave it in the device pool; do - not frede it. This means it will be available to be watched on + not free it. This means it will be available to be watched on subsequent client opens. @@ -189,7 +189,7 @@ static bool privileged_user(struct gps_device_t *device) - Scan all susbcribers and count all who are connected to + Scan all subscribers and count all who are connected to the device. If only the one user is connected, return true, otherwise return false. @@ -197,7 +197,7 @@ static void handle_request(struct subscriber_t* sub, char *buf, const char **after, char *reply, size_t replylen) Perform a single GPSD JSON command. Accept the command - response into a reply buffer, and update the after ponterr to point + response into a reply buffer, and update the after pointer to point just after the parsed JSON object. @@ -237,7 +237,7 @@ local mutex structure for use by the program.A while() loop reads in any command line arguments which are options and handles the options. Most set an - internal variable to contol action when running, either to a fixed + internal variable to control action when running, either to a fixed value or to the associated option's parameter.Carry out a series of calls to routines to set things up ready for the main task (e.g. opening a control socket if one is needed). We also take @@ -293,7 +293,7 @@ handle_gpsd_request().If we care about DBUS, send the fix to the DBUS.Note that this small section of code is presently disabled pending - development of the DGNSS function. If DGNSS is avalable + development of the DGNSS function. If DGNSS is available and we have a fix, we poll a DGNSS report via dgnss_autoconnect().Loop round all clients and process active ones. We check for input from them and if @@ -315,7 +315,7 @@ we reach here, we are out of the endless while loop. We check if the signal was SIGHUP and restart the program if it was. If it is any other signal, we deallocate all channels and wrap - up any devices. Finally we check for the existance of a control + up any devices. Finally we check for the existence of a control socket or a pid file and delete them. -- cgit v1.2.1