diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2009-11-20 14:28:38 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2009-11-20 14:28:38 +0000 |
commit | 6b6a5d59bb6a2189404fb8b525d20b191a0e0977 (patch) | |
tree | 46a72ba3f80d4821da04de04806ce8618a589273 /libgpsmm.h | |
parent | 560c63feaf6bc550da65e370a8b58214556a7c0a (diff) | |
download | gpsd-6b6a5d59bb6a2189404fb8b525d20b191a0e0977.tar.gz |
Client library debugging can now nbe enabled at runtime.
That is, if the CLIENTDEBUG_ENABLE feature switch is on. All
regression tests pass.
Diffstat (limited to 'libgpsmm.h')
-rw-r--r-- | libgpsmm.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -24,7 +24,7 @@ class gpsmm { int set_callback(void (*hook)(struct gps_data_t *sentence, char *buf, size_t len)); //set a callback funcition, called each time new data arrives int del_callback(void); //delete the callback function void clear_fix(void); - + void enable_debug(int, FILE*); private: struct gps_data_t *gps_data; struct gps_data_t *to_user; //we return the user a copy of the internal structure. This way she can modify it without |