]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
linux: Make If* enums public
authorJan Dvořák <mordae@anilinux.org>
Sun, 2 Dec 2012 00:52:50 +0000 (01:52 +0100)
committerLuca Bruno <lucabru@src.gnome.org>
Sun, 2 Dec 2012 08:33:22 +0000 (09:33 +0100)
Fixes bug 689466.

vapi/linux.vapi

index 47ebe57f0ceb457fd97c2cf01c7b2a2ac3b6a3e9..ffa7ce461399e3c03fa5bf89825b842811cc7eb4 100644 (file)
@@ -1335,7 +1335,7 @@ namespace Linux {
         public static int getifaddrs (out IfAddrs ifap);
 
         [CCode (cprefix = "IFA_", has_type_id = false, cheader_filename = "linux/if_addr.h")]
-        enum IfAddrType {
+        public enum IfAddrType {
             UNSPEC,
             ADDRESS,
             LOCAL,
@@ -1352,7 +1352,7 @@ namespace Linux {
         public Linux.Netlink.RtAttr* IFA_RTA (Linux.Network.IfAddrMsg* msg);
 
         [CCode (cprefix = "ARPHRD_", has_type_id = false, cheader_filename = "linux/if_arp.h")]
-        enum IfArpHeaderType {
+        public enum IfArpHeaderType {
             NETROM,
             ETHER,
             EETHER,
@@ -1417,7 +1417,7 @@ namespace Linux {
         }
 
         [CCode (cprefix = "ARPOP_", has_type_id = false, cheader_filename = "linux/if_arp.h")]
-        enum IfArpOpcode {
+        public enum IfArpOpcode {
             REQUEST,
             REPLY,
             RREQUEST,