diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-02-20 16:48:51 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-02-20 16:48:51 +0000 |
commit | 91f49b9cebee05b72f1cd99e437a85e66cb99fa3 (patch) | |
tree | 4519e3ba65333676935726cb6e0ac79a56cc57c9 /src/libutil/addr.h | |
parent | 4c1ca6cd627ddf2dc994cadf6a3ec058c960bed4 (diff) | |
download | rspamd-91f49b9cebee05b72f1cd99e437a85e66cb99fa3.tar.gz rspamd-91f49b9cebee05b72f1cd99e437a85e66cb99fa3.zip |
Allow customizations for unix sockets.
Issue: #182
Reported by: @AlexeySa
Diffstat (limited to 'src/libutil/addr.h')
-rw-r--r-- | src/libutil/addr.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/libutil/addr.h b/src/libutil/addr.h index c907d80c2..b5282e34c 100644 --- a/src/libutil/addr.h +++ b/src/libutil/addr.h @@ -40,7 +40,11 @@ union sa_union { typedef struct _rspamd_inet_addr_s { union sa_union addr; socklen_t slen; - int af; + gint af; + /* Unix socket specific */ + gint mode; + uid_t owner; + gid_t group; } rspamd_inet_addr_t; /** |