add a couple missing structs for config.
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@271 a93c3328-9c30-0410-af19-c9cd2b2d52af
This commit is contained in:
parent
1795451255
commit
846175f898
|
@ -110,6 +110,26 @@ struct zt_maintinfo {
|
|||
int span_no; /* span number */
|
||||
int command; /* Maintenance mode to set (from zt_maintenance_mode_t) */
|
||||
};
|
||||
|
||||
struct zt_lineconfig {
|
||||
/* Used in ZT_SPANCONFIG */
|
||||
int span; /* Which span number (0 to use name) */
|
||||
char name[20]; /* Name of span to use */
|
||||
int lbo; /* line build-outs */
|
||||
int lineconfig; /* line config parameters (framing, coding) */
|
||||
int sync; /* what level of sync source we are */
|
||||
}
|
||||
|
||||
struct zt_chanconfig {
|
||||
/* Used in ZT_CHANCONFIG */
|
||||
int chan; /* Channel we're applying this to (0 to use name) */
|
||||
char name[40]; /* Name of channel to use */
|
||||
int sigtype; /* Signal type */
|
||||
int deflaw; /* Default law (ZT_LAW_DEFAULT, ZT_LAW_MULAW, or ZT_LAW_ALAW */
|
||||
int master; /* Master channel if sigtype is ZT_SLAVE */
|
||||
int idlebits; /* Idle bits (if this is a CAS channel) or channel to monitor (if this is DACS channel) */
|
||||
char netdev_name[16]; /* name for the hdlc network device */
|
||||
}
|
||||
|
||||
/* Enumerations */
|
||||
|
||||
|
|
Loading…
Reference in New Issue