summaryrefslogtreecommitdiff
path: root/netlib.c
Commit message (Collapse)AuthorAgeFilesLines
* Add gps_errstr() to the client API so client code doesn't have toEric S. Raymond2009-08-261-0/+13
| | | | reinvent it all the time. Use it in gpsmon.
* system call failure should be tested against -1, rather than "< 0"Chris Kuethe2009-07-091-2/+2
|
* Splint cleanup and removal of some unneeded headers.Eric S. Raymond2009-01-211-0/+2
|
* C syntax fix...Chris Kuethe2008-08-181-0/+2
| | | | | ...work around declarations after statements by putting this inside its own scope. pacifies gcc2...
* Don't die if getprotobyname fails. Patch from Ulf Lamping on gpsd-devChris Kuethe2007-10-181-9/+13
|
* More splint cleanups.Eric S. Raymond2007-06-021-2/+4
| | | | | | There is a remote possibility the packet.c patch could change the behavior of the TSIP driver, but I think the code was just broken -- see the dangling else in the "before" part of the diff.
* splint cleanups, and move a static to wre it belongs in the driver structure.Eric S. Raymond2007-06-011-0/+2
|
* Change return ttype of gpsd_write to be what the Garmin driver was expecting;Eric S. Raymond2007-06-011-0/+2
| | | | | it actually makes more sense this way. (Fixes what may have been a subtle bug.)
* splint cleanups, including a tweak to Makefile.am...Eric S. Raymond2007-05-311-2/+2
| | | | | | ...to make sure that gpsd.h is always regenerated when splint or other tools want to see C sources.
* generic function to get the ip of the client, as a string.Chris Kuethe2007-04-141-0/+17
|
* make this compile again on linux. Chris Kuethe2007-01-221-1/+1
| | | | | all the #if HAVE_something tests depend on definitions from gpsd_config.h, which depends on definitions from sys/types.h.
* Add support for setting IP TOS and TCP options to reduce transit delay. Chris Kuethe2007-01-221-2/+21
| | | | This may be useful on congested networks
* Rename config.h so it can be installed as gpsd_config.h...Chris Kuethe2006-10-261-3/+4
| | | | | | ...for those who want to build their own apps linked against libgps and want the headers to work. Works on OpenBSD, tested by Jeff Francis on OS X and Linux
* Add subversion ID tags near the beginning of every file.Chris Kuethe2006-09-211-0/+1
| | | | First line where possible, second line for scripts called with #!
* 75 splint warnings with all -unrecog directives removed.Eric S. Raymond2005-06-071-2/+2
|
* 78 splint warnings.Eric S. Raymond2005-06-071-2/+2
|
* 698 splint warnings.Eric S. Raymond2005-05-271-2/+2
|
* 879 splint warnings.Eric S. Raymond2005-05-271-1/+1
|
* Make a start at cleaning up splint warnings.Eric S. Raymond2005-05-261-4/+4
|
* Large step towards enabling sirfmon to run as a client...Eric S. Raymond2005-05-251-0/+2
| | | | ...but it doesn't quite work yet.
* Add a prototype to pacify the compiler.Eric S. Raymond2005-03-071-0/+1
|
* add missing close() on error conditions.Gary E. Miller2005-03-061-2/+6
|
* Consify some arguments.Eric S. Raymond2005-01-011-1/+1
|
* Move config.h include into gpsd.h so we can never foo up the structure Eric S. Raymond2004-12-301-1/+0
| | | | definition by forgetting it.
* Make sure all files that need config.h inclusion have it.Eric S. Raymond2004-10-051-0/+1
|
* BSD port fixes and more code cleanup.Eric S. Raymond2004-10-041-1/+0
|
* Tighten up more code.Eric S. Raymond2004-09-301-2/+1
|
* Yet more cleanup and compaction.Eric S. Raymond2004-09-291-14/+5
|
* Remove some redundant structure members.Eric S. Raymond2004-09-291-1/+0
|
* Better handling of network errors.Eric S. Raymond2004-09-281-1/+1
|
* Clean up things so gpscli_report() is no longer required on client side.Eric S. Raymond2004-08-241-35/+12
|
* There is no longer any good reason for passivesock to be in theEric S. Raymond2004-08-231-55/+0
| | | | client-side library.
* Get rid of some obviously bogus code.Eric S. Raymond2004-08-231-3/+1
|
* Improve some error messages.Eric S. Raymond2004-08-201-4/+4
| | | | (First commit under Subversion!)
* Better error message.Eric S. Raymond2004-08-181-1/+2
|
* Split new gps.h from gpsd.h.Eric S. Raymond2004-08-171-0/+1
|
* gps.c and xgpsspeed.c are rewritten to use the new library interface.Eric S. Raymond2004-08-141-22/+28
| | | | | | | As a result, xgpsspeed now actually works. The distribution now includes a libgpsd.3 manual page. Fixed an embarassing little bug in the Makefile install production -- comma rather than period in a man-page name.
* Header consolidation. Sinse there is really only one contextEric S. Raymond2004-08-131-15/+12
| | | | | structure now that carries the entire library state, pull it into one header.
* Namespace control. Give all library functions an appropriate prefix.Eric S. Raymond2004-08-131-16/+16
|
* ESR's gpsd patch #4: This is the one that nukes globals.Eric S. Raymond2004-08-111-0/+2
| | | | | | | | | | | | | | | | | There is exactly one (1) global variable left after this patch. It is called "session", and is a per-GPS-session object that looks like this: struct session_t { int debug; struct longlat initpos; int device_type; struct OUTDATA gNMEAdata; }; The next step is for the device-type field to stop being an enum and become an object pointer -- or as close to an object pointer as you get in C, anyway. It will refer to a driver object.
* removed include of varargs.hRemco Treffkorn2003-12-201-1/+0
|
* various changes/fixes on the way to a better mousetrapRemco Treffkorn2002-10-271-0/+6
| | | | support for bigendian archs with dgps
* Added SO_REUSEADDR to socket optionsRemco Treffkorn2002-10-171-0/+5
|
* *** empty log message ***Remco Treffkorn2002-02-061-1/+0
|
* *** empty log message ***Remco Treffkorn1998-08-181-0/+5
|
* *** empty log message ***Remco Treffkorn1998-08-181-0/+5
|
* *** empty log message ***Remco Treffkorn1998-08-181-0/+1
|
* *** empty log message ***Remco Treffkorn1998-08-181-14/+7
|
* Initial revisionRemco Treffkorn1998-08-181-0/+120