]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
add a couple missing structs for config.
authorMichael Jerris <mike@jerris.com>
Mon, 18 Jun 2007 20:37:07 +0000 (20:37 +0000)
committerMichael Jerris <mike@jerris.com>
Mon, 18 Jun 2007 20:37:07 +0000 (20:37 +0000)
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@271 a93c3328-9c30-0410-af19-c9cd2b2d52af

libs/openzap/src/include/zap_zt.h

index 9f3287f6a4f89ea5792477c0f8ad88ba7ae48467..1920364e74c87665f253eb86ef8a0014ae5f75a5 100644 (file)
@@ -110,6 +110,26 @@ struct zt_maintinfo {
        int span_no;                                            /* span number                                                                                  */
        int command;                                            /* Maintenance mode to set (from zt_maintenance_mode_t) */
 };
+\r
+struct zt_lineconfig {\r
+/* Used in ZT_SPANCONFIG */\r
+       int span;                                                       /* Which span number (0 to use name)            */\r
+       char name[20];                                          /* Name of span to use                                          */\r
+       int lbo;                                                        /* line build-outs                                                      */\r
+       int lineconfig;                                         /* line config parameters (framing, coding) */\r
+       int sync;                                                       /* what level of sync source we are                     */\r
+}\r
+\r
+struct zt_chanconfig {\r
+/* Used in ZT_CHANCONFIG */\r
+       int chan;                                                       /* Channel we're applying this to (0 to use name)                                                                               */\r
+       char name[40];                                          /* Name of channel to use                                                                                                                               */\r
+       int sigtype;                                            /* Signal type                                                                                                                                                  */\r
+       int deflaw;                                                     /* Default law (ZT_LAW_DEFAULT, ZT_LAW_MULAW, or ZT_LAW_ALAW                                                    */\r
+       int master;                                                     /* Master channel if sigtype is ZT_SLAVE                                                                                                */\r
+       int idlebits;                                           /* Idle bits (if this is a CAS channel) or channel to monitor (if this is DACS channel) */\r
+       char netdev_name[16];                           /* name for the hdlc network device                                                                                                             */\r
+}
 
 /* Enumerations */