summaryrefslogtreecommitdiff
path: root/gps.h
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2011-01-25 13:32:06 -0500
committerEric S. Raymond <esr@thyrsus.com>2011-01-25 13:32:06 -0500
commit5f4a2717737a4c8c5a94ca70f47893db83a7cc30 (patch)
tree0ee988275f485af925468e5640bc9c0e506bb526 /gps.h
parente1b64326fdd3037c5a380e9e85e549350bb4bde5 (diff)
downloadgpsd-5f4a2717737a4c8c5a94ca70f47893db83a7cc30.tar.gz
The raw_hook mwember and set_raw_hook are gone; client API cleanup is done.
Diffstat (limited to 'gps.h')
-rw-r--r--gps.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/gps.h b/gps.h
index c100a4c7..fb7807ab 100644
--- a/gps.h
+++ b/gps.h
@@ -1327,8 +1327,6 @@ struct gps_data_t {
ssize_t waiting;
char buffer[GPS_BUFFER_MAX * 2];
- void (*raw_hook)(struct gps_data_t *, char *, size_t len); /* Raw-mode hook for GPS data. */
-
/* pack things never reported together to reduce structure size */
#define UNION_SET (RTCM2_SET|RTCM3_SET|SUBFRAME_SET|AIS_SET|VERSION_SET|DEVICELIST_SET|ERROR_SET)
gps_mask_t auxmask; /* for future expansion */
@@ -1361,8 +1359,6 @@ extern int gps_send(struct gps_data_t *, const char *, ... );
extern int gps_read(/*@out@*/struct gps_data_t *);
extern bool gps_waiting(struct gps_data_t *);
extern int gps_stream(struct gps_data_t *, unsigned int, /*@null@*/void *);
-extern void gps_set_raw_hook(struct gps_data_t *,
- void (*)(struct gps_data_t *, char *, size_t));
extern char /*@observer@*/ *gps_errstr(const int);
/* this only needs to be visible for the unit tests */