/*
* Dolda Connect - Modular multiuser Direct Connect-style client
- * Copyright (C) 2004 Fredrik Tolf (fredrik@dolda2000.com)
+ * Copyright (C) 2004 Fredrik Tolf <fredrik@dolda2000.com>
*
* 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
#define _NET_H
#include <sys/socket.h>
+#include <sys/un.h>
#define SOCK_LST 0 /* Listening */
#define SOCK_SYN 1 /* Connecting */
int close;
struct sockaddr *remote;
socklen_t remotelen;
+ struct
+ {
+ uid_t uid;
+ gid_t gid;
+ } ucred;
union
{
struct