diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2011-09-30 06:30:42 -0400 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2011-09-30 06:30:42 -0400 |
commit | 34f69cc5d21caffe643a7faa9c045979a40cc792 (patch) | |
tree | ca21d9c3aa19c30b716c9253447c5e34f1b360e7 /libgps.h | |
parent | 82cd8cd019dec313938cba222871d32dbe5d449b (diff) | |
download | gpsd-34f69cc5d21caffe643a7faa9c045979a40cc792.tar.gz |
Magic-number elimination.
All three exports work.
Diffstat (limited to 'libgps.h')
-rw-r--r-- | libgps.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -23,6 +23,9 @@ enum export_t { #endif /* DBUS_EXPORT_ENABLE */ }; +/* values to poke in the gps_fd member if we get it via something special */ +#define SHM_PSEUDO_FD -1 +#define DBUS_PSEUDO_FD -2 extern int gps_sock_open(/*@null@*/const char *, /*@null@*/const char *, /*@out@*/struct gps_data_t *); |