summaryrefslogtreecommitdiff
path: root/libgpsmm.h
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2009-11-20 14:28:38 +0000
committerEric S. Raymond <esr@thyrsus.com>2009-11-20 14:28:38 +0000
commit6b6a5d59bb6a2189404fb8b525d20b191a0e0977 (patch)
tree46a72ba3f80d4821da04de04806ce8618a589273 /libgpsmm.h
parent560c63feaf6bc550da65e370a8b58214556a7c0a (diff)
downloadgpsd-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.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libgpsmm.h b/libgpsmm.h
index b90ee619..68d2c6ca 100644
--- a/libgpsmm.h
+++ b/libgpsmm.h
@@ -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