summaryrefslogtreecommitdiff
path: root/sd_socket.h
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2011-05-04 02:03:11 -0400
committerEric S. Raymond <esr@thyrsus.com>2011-05-04 02:03:11 -0400
commit0be9738a5d5914463f8809cd63863b1ba60220b4 (patch)
tree02097c30adf05db63af34019b2b63033d60ffba4 /sd_socket.h
parenta731eac62323e6dfad0bc42555ab47b7631f68f0 (diff)
downloadgpsd-0be9738a5d5914463f8809cd63863b1ba60220b4.tar.gz
Oops, sd_socket.h should have been added to the repo with systemd support.
Diffstat (limited to 'sd_socket.h')
-rw-r--r--sd_socket.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/sd_socket.h b/sd_socket.h
new file mode 100644
index 00000000..67363ff7
--- /dev/null
+++ b/sd_socket.h
@@ -0,0 +1,13 @@
+/*
+ * This file is Copyright (c) 2011 by Eckhart Wörner
+ * BSD terms apply: see the file COPYING in the distribution root for details.
+ */
+
+#ifndef GPSD_SD_SOCKET_H
+#define GPSD_SD_SOCKET_H
+
+#define SD_SOCKET_FDS_START 3
+
+int sd_get_socket_count(void);
+
+#endif