]> git.ipfire.org Git - thirdparty/openvpn.git/commit
pool: convert pool 'type' to enum
authorAntonio Quartulli <antonio@openvpn.net>
Fri, 8 Jun 2018 05:20:12 +0000 (13:20 +0800)
committerGert Doering <gert@greenie.muc.de>
Fri, 8 Jun 2018 13:37:21 +0000 (15:37 +0200)
commit3e1606fe86ba1b09d05ba828b5e4e280ceddd30a
tree9c45a6be2442868620c45607c147e5bd4d564ad9
parent5d2cd1222e06291021cf5e793f585d5f1485ae9b
pool: convert pool 'type' to enum

The pool 'type' member is actually an enumered type, therefore
declare it as 'enum' to improve static code analisys and
readability.

Signed-off-by: Antonio Quartulli <antonio@openvpn.net>
Acked-by: Gert Doering <gert@greenie.muc.de>
Message-Id: <20180608052017.6696-4-a@unstable.cc>
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg17000.html
Signed-off-by: Gert Doering <gert@greenie.muc.de>
src/openvpn/pool.c
src/openvpn/pool.h