X-Git-Url: http://git.dolda2000.com/gitweb/?a=blobdiff_plain;f=daemon%2Fnet.h;h=2e7e2d9f0855358c08aea3e76a7884dbe469f502;hb=302a260054ea38d3cb97be6d1a3010082c09265d;hp=7d6398193a4be2d49f8dfeeecee6b0e75282abed;hpb=cab0b442977697b876127cda082b1262ece2714b;p=doldaconnect.git diff --git a/daemon/net.h b/daemon/net.h index 7d63981..2e7e2d9 100644 --- a/daemon/net.h +++ b/daemon/net.h @@ -1,6 +1,6 @@ /* * Dolda Connect - Modular multiuser Direct Connect-style client - * Copyright (C) 2004 Fredrik Tolf (fredrik@dolda2000.com) + * Copyright (C) 2004 Fredrik Tolf * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -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