struct iax_session *session; /* Applicable session */
int datalen; /* Length of raw data */
struct iax_ies ies; /* IE's for IAX2 frames */
- unsigned char data[0]; /* Raw data if applicable */
+ unsigned char data[]; /* Raw data if applicable */
};
#if defined(__cplusplus)
unsigned short seqno; /* Packet number */
char type; /* Frame type */
unsigned char csub; /* Compressed subclass */
- char data[0];
+ char data[];
};
/* Mini header is used only for voice frames -- delivered unreliably */
unsigned short ts; /* 16-bit Timestamp (high 16 bits from last IAX_full_hdr) */
/* Frametype implicitly VOICE_FRAME */
/* subclass implicit from last IAX_full_hdr */
- char data[0];
+ char data[];
};
#endif
#define switch_event_fire_data(event, data) switch_event_fire_detailed(__FILE__, (char * )__FUNCTION__, __LINE__, event, data)
///\}
+#ifdef __cplusplus
+}
+#endif
+
#endif
const struct switch_api_interface *next;
};
+#ifdef __cplusplus
+}
+#endif
+
#endif