diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2017-01-10 02:17:16 +0000 |
---|---|---|
committer | Laurent Bercot <ska-skaware@skarnet.org> | 2017-01-10 02:17:16 +0000 |
commit | 334d807b924427434b42d4fbae745d3d1b38a218 (patch) | |
tree | 6daf12c1e2fa07d2ac6255ef4439e2fb95a57f57 /src/minidentd/mgetuid-default.c | |
parent | 43cb3ee4227de70e0225e9ac142b4d397f93cc41 (diff) | |
download | s6-networking-334d807b924427434b42d4fbae745d3d1b38a218.tar.xz |
Types fix, first pass
XXX marks what must change when skalibs changes.
Also started writing functions for client certificate support
in sbearssl, but it's not working yet (need more high-level
support from BearSSL before it can work)
Diffstat (limited to 'src/minidentd/mgetuid-default.c')
-rw-r--r-- | src/minidentd/mgetuid-default.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/minidentd/mgetuid-default.c b/src/minidentd/mgetuid-default.c index 6c9ae9b..5c9f1d2 100644 --- a/src/minidentd/mgetuid-default.c +++ b/src/minidentd/mgetuid-default.c @@ -1,11 +1,12 @@ /* ISC license. */ +#include <sys/types.h> +#include <stdint.h> #include <errno.h> -#include <skalibs/uint16.h> -#include <skalibs/uint32.h> +#include <skalibs/ip46.h> #include "mgetuid.h" -int mgetuid (ip46_t const *localaddr, uint16 localport, ip46_t const *remoteaddr, uint16 remoteport) +uid_t mgetuid (ip46_t const *localaddr, uint16_t localport, ip46_t const *remoteaddr, uint16_t remoteport) { (void)localaddr ; (void)localport ; |