X-Git-Url: http://git.dolda2000.com/gitweb/?a=blobdiff_plain;f=daemon%2Fnet.h;h=64570335fbda108c4b912fe9eb58fa303c67f8ad;hb=33f209a230e66d0691777ced0e0f74c6911c3aaf;hp=7d6398193a4be2d49f8dfeeecee6b0e75282abed;hpb=a88a58735155a66d3dbdbf08fea35ac81ff411b9;p=doldaconnect.git diff --git a/daemon/net.h b/daemon/net.h index 7d63981..6457033 100644 --- a/daemon/net.h +++ b/daemon/net.h @@ -20,6 +20,7 @@ #define _NET_H #include +#include #define SOCK_LST 0 /* Listening */ #define SOCK_SYN 1 /* Connecting */ @@ -54,6 +55,11 @@ struct socket int close; struct sockaddr *remote; socklen_t remotelen; + struct + { + uid_t uid; + gid_t gid; + } ucred; union { struct