diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2009-09-17 10:16:23 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2009-09-17 10:16:23 +0000 |
commit | 6dd560b389a7ed2dbbfcb6485342745ceedbbe91 (patch) | |
tree | 642527bb30bf0507434f018fcc0f0c8a1654a53b /libgpsmm.h | |
parent | 9cdbb998794f19a64b5597002cbf8ade0938357a (diff) | |
download | gpsd-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.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); |