summaryrefslogtreecommitdiff
path: root/libgpsmm.h
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2005-05-24 10:12:26 +0000
committerEric S. Raymond <esr@thyrsus.com>2005-05-24 10:12:26 +0000
commite8a108fc351ac34f32385ed3018f4e036b4a5a0b (patch)
treef2c2785e09d7007276cf7c725e237ec6491166d8 /libgpsmm.h
parent44958a2a8a4ba4c9d3f0c2fecffe0b95722db5f6 (diff)
downloadgpsd-e8a108fc351ac34f32385ed3018f4e036b4a5a0b.tar.gz
Support R=2.
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 d41404b8..d3853407 100644
--- a/libgpsmm.h
+++ b/libgpsmm.h
@@ -28,7 +28,7 @@ class gpsmm {
struct gps_data_t* open(void); //open() with default values
struct gps_data_t* query(const char *request); //put a command to gpsd and return the updated struct
struct gps_data_t* poll(void); //block until gpsd returns new data, then return the updated struct
- int set_callback(void (*hook)(struct gps_data_t *sentence, char *buf)); //set a callback funcition, called each time new data arrives
+ int set_callback(void (*hook)(struct gps_data_t *sentence, char *buf, int level)); //set a callback funcition, called each time new data arrives
int del_callback(void); //delete the callback function
void clear_fix(void);