summaryrefslogtreecommitdiff
path: root/libgps_dbus.c
Commit message (Collapse)AuthorAgeFilesLines
* Fixed incorrect string argument to dbus_message_get_args().Andrey Mazo2013-09-261-1/+1
| | | | | | | | | | | | | | | | | | | | Existing behavior leads to unexpected results because it's actually something like static char gpsd_devname[BUFSIZ]; ... *((char**)&gpsd_devname) = "qqq"; which actually stores address of "qqq" in first several bytes of gpsd_devname[] (at least with gcc and clang). DBus documentation on dbus_message_get_args() [1] states that "The variable argument list should contain the type of the argument followed by a pointer to where the value should be stored." ".. the returned values are constant; do not free them. They point into the DBusMessage." [1] http://dbus.freedesktop.org/doc/api/html/group__DBusMessage.html#gad8953f53ceea7de81cde792e3edd0230 Signed-off-by: Andrey Mazo <mazo@telum.ru>
* Nuke trailing whitespace in C source.Eric S. Raymond2012-09-071-1/+1
|
* Use UNUSED rather than uselessly setting a parameter, which triggers a ↵ukyg9e5r6k7gubiekd62012-09-071-4/+1
| | | | | | compiler warning. Signed-off-by: Eric S. Raymond <esr@thyrsus.com>
* Remove a dependency on the Gnome libraries.Eric S. Raymond2011-10-031-11/+4
|
* Remove duplicate code.Michael Tatarinov2011-09-301-1/+0
| | | | Signed-off-by: Eric S. Raymond <esr@thyrsus.com>
* Magic-number elimination.Eric S. Raymond2011-09-301-2/+2
| | | | All three exports work.
* Re-do runtime dispatch in the client library.Eric S. Raymond2011-09-301-2/+5
|
* Runtime dispatch to methods is working in the client library.Eric S. Raymond2011-09-281-1/+1
|
* Avoid a name collision.Eric S. Raymond2011-09-281-2/+2
|
* First step in runtime export dispatch for the client library.Eric S. Raymond2011-09-281-0/+2
|
* Repair compilation of DBUS + Qt.Eric S. Raymond2011-09-281-0/+1
|
* Get back to a state where the shm export works.Eric S. Raymond2011-09-271-2/+2
|
* Converge the library APIs for different transports more closely.Eric S. Raymond2011-09-271-2/+2
|
* More refactoring.Eric S. Raymond2011-09-271-10/+6
| | | | | gpxlogger currently works with socket and DBUS methods but fails with a segfault in the shm code.
* More refactoring. Bring DBUS API closer to the generic one.Eric S. Raymond2011-09-271-26/+44
|
* Refactoring step and minor fixes.Eric S. Raymond2011-09-271-3/+2
|
* Remove incorrect comment.Eric S. Raymond2011-09-271-1/+0
|
* Belated commit of new file created by gpxlogger refactoring.Eric S. Raymond2011-09-271-0/+133