]> source.dussan.org Git - rspamd.git/commit
Rework inet_address structure.
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Thu, 12 Mar 2015 14:17:14 +0000 (14:17 +0000)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Thu, 12 Mar 2015 14:17:14 +0000 (14:17 +0000)
commita943f89d45c1ee9073d894aee7d28077187120b7
tree534b1f25b8dec5b93237792352dd0628d4f76b63
parente80283ac81f3677ed70f084275f157781d0ebba1
Rework inet_address structure.

- Now addresses are opaque.
- Save memory by splitting unix and inet sockaddrs.
- Rework all functions related to inet addrs.
- Use ptr arrays instead of home-made static arrays.
src/libutil/addr.c
src/libutil/addr.h