summaryrefslogtreecommitdiff
path: root/net_gnss_dispatch.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2009-09-10 15:26:56 +0000
committerEric S. Raymond <esr@thyrsus.com>2009-09-10 15:26:56 +0000
commit7fc1d175c531a8398f4118f6877788fa7345cf8a (patch)
treea1cee62c8ad5266adf38d66f90bf5f9b54188fbc /net_gnss_dispatch.c
parent966620dc6b1da27fad1e4ac97fd8f3e444cc579a (diff)
downloadgpsd-7fc1d175c531a8398f4118f6877788fa7345cf8a.tar.gz
Dyke out the remotegpsd code.
The proxying concept is OK but the design is broken and the implementation has at least two bugs that are crash landings. Chris can do better than this.
Diffstat (limited to 'net_gnss_dispatch.c')
-rw-r--r--net_gnss_dispatch.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/net_gnss_dispatch.c b/net_gnss_dispatch.c
index 581a595d..ca8286fd 100644
--- a/net_gnss_dispatch.c
+++ b/net_gnss_dispatch.c
@@ -14,7 +14,6 @@
#define NETGNSS_DGPSIP "dgpsip://"
#define NETGNSS_NTRIP "ntrip://"
-#define NETGNSS_GPSD "gpsd://"
/* Where to find the list of DGPSIP correction servers, if there is one */
#define DGPSIP_SERVER_LIST "/usr/share/gpsd/dgpsip-servers"
@@ -24,7 +23,6 @@ bool netgnss_uri_check(char *name)
{
return
strncmp(name, NETGNSS_NTRIP, strlen(NETGNSS_NTRIP)) == 0
- || strncmp(name, NETGNSS_GPSD, strlen(NETGNSS_GPSD)) == 0
|| strncmp(name, NETGNSS_DGPSIP, strlen(NETGNSS_DGPSIP)) == 0;
}
@@ -41,9 +39,6 @@ int netgnss_uri_open(struct gps_context_t *context, char *netgnss_service)
if (strncmp(netgnss_service, NETGNSS_DGPSIP, strlen(NETGNSS_DGPSIP))==0)
return dgpsip_open(context, netgnss_service + strlen(NETGNSS_DGPSIP));
- if (strncmp(netgnss_service, NETGNSS_GPSD, strlen(NETGNSS_GPSD))==0)
- return remotegpsd_open(context, netgnss_service + strlen(NETGNSS_GPSD));
-
#ifndef REQUIRE_DGNSS_PROTO
return dgpsip_open(context, netgnss_service);
#else