summaryrefslogtreecommitdiff
path: root/gpsd.c
diff options
context:
space:
mode:
Diffstat (limited to 'gpsd.c')
-rw-r--r--gpsd.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/gpsd.c b/gpsd.c
index 3b9bb016..c79d84a1 100644
--- a/gpsd.c
+++ b/gpsd.c
@@ -162,6 +162,14 @@ static void onsig(int sig)
signalled = (sig_atomic_t) sig;
}
+ssize_t gpsd_write(struct gps_device_t *session,
+ const char *buf,
+ const size_t len)
+/* pass low-level data to devices straight through */
+{
+ return gpsd_serial_write(session, buf, len);
+}
+
void gpsd_report(const int debuglevel, const int errlevel,
const char *fmt, ...)
{