[vala] linux: add ioctls and structures for n_gsm



commit 5544add449d76529de085297c045de08ade34d5b
Author: Michael 'Mickey' Lauer <mickey vanille-media de>
Date:   Sat Mar 26 13:29:41 2011 +0100

    linux: add ioctls and structures for n_gsm
    
    n_gsm is a new line discipline that implements the 3GPP 07.10
    multiplexing protocol in the kernel.

 vapi/linux.vapi |   26 ++++++++++++++++++++++++++
 1 files changed, 26 insertions(+), 0 deletions(-)
---
diff --git a/vapi/linux.vapi b/vapi/linux.vapi
index 9f6bfb1..9407d36 100644
--- a/vapi/linux.vapi
+++ b/vapi/linux.vapi
@@ -833,6 +833,32 @@ namespace Linux {
     }
 
     /*
+     * Gsm
+     */
+    namespace Gsm {
+
+        [CCode (cname = "GSMIOC_GETCONF", cheader_filename = "linux/gsmmux.h")]
+        public const int GSMIOC_GETCONF;
+        [CCode (cname = "GSMIOC_SETCONF", cheader_filename = "linux/gsmmux.h")]
+        public const int GSMIOC_SETCONF;
+
+        [CCode (cname = "struct gsm_config", cheader_filename = "linux/gsmmux.h")]
+        public struct Config {
+            public uint adaption;
+            public uint encapsulation;
+            public uint initiator;
+            public uint t1;
+            public uint t2;
+            public uint t3;
+            public uint n2;
+            public uint mru;
+            public uint mtu;
+            public uint k;
+            public uint i;
+        }
+    }
+
+    /*
      * Inotify
      */
     [CCode (cname = "struct inotify_event", cheader_filename = "sys/inotify.h")]



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