]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
add codeset enum.
authorMichael Jerris <mike@jerris.com>
Mon, 28 May 2007 02:59:34 +0000 (02:59 +0000)
committerMichael Jerris <mike@jerris.com>
Mon, 28 May 2007 02:59:34 +0000 (02:59 +0000)
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@167 a93c3328-9c30-0410-af19-c9cd2b2d52af

libs/openzap/src/isdn/include/Q931.h

index 83b94df8a8e31660dded02dffaf37f0dc3accb8a..1ac19ed7dd96a9b575a32445edaf2a43c99152a1 100644 (file)
@@ -330,6 +330,20 @@ const char *q931_error_to_name(q931_error_t error);
 #define Q931mes_STATUS_ENQUIRY       0x75 /* 0111 0101                   */
 #define Q931mes_SEGMENT              0x60 /* 0110 0000                   */
 
+/* Codesets */
+
+typedef enum {
+
+       Q931_CODESET_0                  = ( 0 ),
+       Q931_CODESET_1                  = ( 1 << 8 ),
+       Q931_CODESET_2                  = ( 2 << 8 ),
+       Q931_CODESET_3                  = ( 3 << 8 ),
+       Q931_CODESET_4                  = ( 4 << 8 ),
+       Q931_CODESET_5                  = ( 5 << 8 ),
+       Q931_CODESET_6                  = ( 6 << 8 ),
+       Q931_CODESET_7                  = ( 7 << 8 )
+
+} q931_codeset_t
 
 /* Single octet information elements                                */
 #define Q931ie_SHIFT                            0x90 /* 1001 ----       */