[vala] linux: Add socket options



commit f2bfcf010ba8af3ca598ab2062fb597d72eeddf7
Author: Vito Piserchia <johndoe metatype it>
Date:   Fri Jun 17 20:51:26 2011 +0200

    linux: Add socket options
    
    Fixes bug 652735.

 vapi/linux.vapi |   34 ++++++++++++++++++++++++++++++++++
 1 files changed, 34 insertions(+), 0 deletions(-)
---
diff --git a/vapi/linux.vapi b/vapi/linux.vapi
index a3f850a..37bcb0d 100644
--- a/vapi/linux.vapi
+++ b/vapi/linux.vapi
@@ -3233,6 +3233,40 @@ namespace Linux {
         public const int SOL_RDS;
         [CCode (cheader_filename = "linux/socket.h")]
         public const int SOL_IUCV;
+        [CCode (cheader_filename = "sys/socket.h")]
+        public const int SOL_SOCKET;
+        [CCode (cheader_filename = "sys/socket.h")]
+        public const int SO_DEBUG;
+        [CCode (cheader_filename = "sys/socket.h")]
+        public const int SO_REUSEADDR;
+        [CCode (cheader_filename = "sys/socket.h")]
+        public const int SO_TYPE;
+        [CCode (cheader_filename = "sys/socket.h")]
+        public const int SO_ERROR;
+        [CCode (cheader_filename = "sys/socket.h")]
+        public const int SO_DONTROUTE;
+        [CCode (cheader_filename = "sys/socket.h")]
+        public const int SO_BROADCAST;
+        [CCode (cheader_filename = "sys/socket.h")]
+        public const int SO_SNDBUF;
+        [CCode (cheader_filename = "sys/socket.h")]
+        public const int SO_RCVBUF;
+        [CCode (cheader_filename = "sys/socket.h")]
+        public const int SO_SNDBUFFORCE;
+        [CCode (cheader_filename = "sys/socket.h")]
+        public const int SO_RCVBUFFORCE;
+        [CCode (cheader_filename = "sys/socket.h")]
+        public const int SO_KEEPALIVE;
+        [CCode (cheader_filename = "sys/socket.h")]
+        public const int SO_OOBINLINE;
+        [CCode (cheader_filename = "sys/socket.h")]
+        public const int SO_NO_CHECK;
+        [CCode (cheader_filename = "sys/socket.h")]
+        public const int SO_PRIORITY;
+        [CCode (cheader_filename = "sys/socket.h")]
+        public const int SO_LINGER;
+        [CCode (cheader_filename = "sys/socket.h")]
+        public const int SO_BSDCOMPAT;
     }
 
     /*



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]