]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
Skinny: reorder
authorMathieu Parent <math.parent@gmail.com>
Wed, 24 Feb 2010 11:59:34 +0000 (11:59 +0000)
committerMathieu Parent <math.parent@gmail.com>
Wed, 24 Feb 2010 11:59:34 +0000 (11:59 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16760 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/mod/endpoints/mod_skinny/mod_skinny.c

index 5a9601c8bf59e3306d9d017e98308a592d7decbb..ce4069d0779df4c2a6836d17a43617b345ace1de 100644 (file)
@@ -45,22 +45,6 @@ switch_endpoint_interface_t *skinny_endpoint_interface;
 static switch_memory_pool_t *module_pool = NULL;
 static int running = 1;
 
-typedef enum {
-       TFLAG_IO = (1 << 0),
-       TFLAG_INBOUND = (1 << 1),
-       TFLAG_OUTBOUND = (1 << 2),
-       TFLAG_DTMF = (1 << 3),
-       TFLAG_VOICE = (1 << 4),
-       TFLAG_HANGUP = (1 << 5),
-       TFLAG_LINEAR = (1 << 6),
-       TFLAG_CODEC = (1 << 7),
-       TFLAG_BREAK = (1 << 8)
-} TFLAGS;
-
-typedef enum {
-       GFLAG_MY_CODEC_PREFS = (1 << 0)
-} GFLAGS;
-
 static struct {
        /* prefs */
        int debug;
@@ -108,7 +92,27 @@ SWITCH_DECLARE_GLOBAL_STRING_FUNC(set_global_codec_string, globals.codec_string)
 SWITCH_DECLARE_GLOBAL_STRING_FUNC(set_global_codec_rates_string, globals.codec_rates_string);
 
 /*****************************************************************************/
-/* SKINNY MESSAGES */
+/* CHANNEL TYPES */
+/*****************************************************************************/
+
+typedef enum {
+       TFLAG_IO = (1 << 0),
+       TFLAG_INBOUND = (1 << 1),
+       TFLAG_OUTBOUND = (1 << 2),
+       TFLAG_DTMF = (1 << 3),
+       TFLAG_VOICE = (1 << 4),
+       TFLAG_HANGUP = (1 << 5),
+       TFLAG_LINEAR = (1 << 6),
+       TFLAG_CODEC = (1 << 7),
+       TFLAG_BREAK = (1 << 8)
+} TFLAGS;
+
+typedef enum {
+       GFLAG_MY_CODEC_PREFS = (1 << 0)
+} GFLAGS;
+
+/*****************************************************************************/
+/* SKINNY MESSAGE TYPES */
 /*****************************************************************************/
 
 /* KeepAliveMessage */