summaryrefslogtreecommitdiff
path: root/src/minidentd/mgetuid-default.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/minidentd/mgetuid-default.c')
-rw-r--r--src/minidentd/mgetuid-default.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/minidentd/mgetuid-default.c b/src/minidentd/mgetuid-default.c
new file mode 100644
index 0000000..6c9ae9b
--- /dev/null
+++ b/src/minidentd/mgetuid-default.c
@@ -0,0 +1,15 @@
+/* ISC license. */
+
+#include <errno.h>
+#include <skalibs/uint16.h>
+#include <skalibs/uint32.h>
+#include "mgetuid.h"
+
+int mgetuid (ip46_t const *localaddr, uint16 localport, ip46_t const *remoteaddr, uint16 remoteport)
+{
+ (void)localaddr ;
+ (void)localport ;
+ (void)remoteaddr ;
+ (void)remoteport ;
+ return (errno = ENOSYS, -2) ;
+}