summaryrefslogtreecommitdiff
path: root/libgpsmm.h
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2009-09-17 10:16:23 +0000
committerEric S. Raymond <esr@thyrsus.com>2009-09-17 10:16:23 +0000
commit6dd560b389a7ed2dbbfcb6485342745ceedbbe91 (patch)
tree642527bb30bf0507434f018fcc0f0c8a1654a53b /libgpsmm.h
parent9cdbb998794f19a64b5597002cbf8ade0938357a (diff)
downloadgpsd-6dd560b389a7ed2dbbfcb6485342745ceedbbe91.tar.gz
Disentangle the packet raw hook used on the client side...
...from the internals of gpsd. Besides being better factoring, this will give us better control of the daemon's report-generation policy in the future. All regression tests pass. Codebase splints clean.
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 29200e93..6ccaa9fc 100644
--- a/libgpsmm.h
+++ b/libgpsmm.h
@@ -21,7 +21,7 @@ class gpsmm {
struct gps_data_t* query(const char *request); //put a command to gpsd and return the updated struct
struct gps_data_t* stream(int); //set watcher and policy flags
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, size_t len, int level)); //set a callback funcition, called each time new data arrives
+ 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);