attempt to fix solaris openzap build

git-svn-id: http://svn.openzap.org/svn/openzap/trunk@591 a93c3328-9c30-0410-af19-c9cd2b2d52af
This commit is contained in:
Michael Jerris 2008-10-09 19:24:39 +00:00
parent 8bc032c6bb
commit d95b0b0442
1 changed files with 18 additions and 18 deletions

View File

@ -187,40 +187,40 @@ enum wanpipe_tdm_api_events {
typedef struct { typedef struct {
u_int8_t type; uint8_t type;
u_int8_t mode; uint8_t mode;
u_int32_t time_stamp; uint32_t time_stamp;
u_int8_t channel; uint8_t channel;
u_int32_t chan_map; uint32_t chan_map;
u_int8_t span; uint8_t span;
union { union {
struct { struct {
u_int8_t alarm; uint8_t alarm;
} te1_alarm; } te1_alarm;
struct { struct {
u_int8_t rbs_bits; uint8_t rbs_bits;
} te1_rbs; } te1_rbs;
struct { struct {
u_int8_t state; uint8_t state;
u_int8_t sig; uint8_t sig;
} rm_hook; } rm_hook;
struct { struct {
u_int8_t state; uint8_t state;
} rm_ring; } rm_ring;
struct { struct {
u_int8_t type; uint8_t type;
} rm_tone; } rm_tone;
struct { struct {
u_int8_t digit; /* DTMF: digit */ uint8_t digit; /* DTMF: digit */
u_int8_t port; /* DTMF: SOUT/ROUT */ uint8_t port; /* DTMF: SOUT/ROUT */
u_int8_t type; /* DTMF: PRESET/STOP */ uint8_t type; /* DTMF: PRESET/STOP */
} dtmf; } dtmf;
struct { struct {
u_int16_t polarity; uint16_t polarity;
u_int16_t ohttimer; uint16_t ohttimer;
} rm_common; } rm_common;
struct{ struct{
u_int16_t status; uint16_t status;
} linkstatus; } linkstatus;
} wp_tdm_api_event_u; } wp_tdm_api_event_u;
#define wp_tdm_api_event_type type #define wp_tdm_api_event_type type