Jeff Latimer lats@yless4u.com.au writes:
+typedef enum NET_FW_PROFILE_TYPE_ +{
- NET_FW_PROFILE_DOMAIN = 1,
- NET_FW_PROFILE_STANDARD = 2,
- NET_FW_PROFILE_CURRENT = 3,
- NET_FW_PROFILE_TYPE_MAX = 4
+} NET_FW_PROFILE_TYPE;
+typedef enum NET_FW_IP_VERSION_ +{
- NET_FW_IP_VERSION_V4 = 1,
- NET_FW_IP_VERSION_V6 = 2,
- NET_FW_IP_VERSION_ANY = 3,
- NET_FW_IP_VERSION_MAX = 4
+} NET_FW_IP_VERSION;
There's no reason to initialize the enum values explicitly, particularly since all your values are wrong...