summaryrefslogtreecommitdiffstats
path: root/src/libutil/addr.h
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2015-02-20 16:48:51 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2015-02-20 16:48:51 +0000
commit91f49b9cebee05b72f1cd99e437a85e66cb99fa3 (patch)
tree4519e3ba65333676935726cb6e0ac79a56cc57c9 /src/libutil/addr.h
parent4c1ca6cd627ddf2dc994cadf6a3ec058c960bed4 (diff)
downloadrspamd-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.h6
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;
/**