catapult: use ws_strtou/i functions.
[metze/wireshark/wip.git] / wiretap / i4b_trace.h
index 2cd4e1b0d2543393b5bbe921f99a93d4ea7e3749..0939c876ebd0ba9c84fc744d752e926fa2f52569 100644 (file)
  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  * SUCH DAMAGE.
  *
- *---------------------------------------------------------------------------
- *
- *     i4b_trace.h - header file for trace data read device
- *     ----------------------------------------------------
- *
- *     $Id$
- *
- *      last edit-date: [Sun Feb 14 10:39:26 1999]
- *
  *---------------------------------------------------------------------------*/
 
 #ifndef _I4B_TRACE_H_
 #define _I4B_TRACE_H_
 
+#include <glib.h>
+
 /*---------------------------------------------------------------------------*
  *     structure of the header at the beginning of every trace mbuf
  *---------------------------------------------------------------------------*/
@@ -44,10 +37,10 @@ typedef struct {
        gint32 unit;            /* controller unit number               */
        gint32 type;            /* type of channel                      */
 #define TRC_CH_I       0               /* Layer 1 INFO's               */
-#define TRC_CH_D       1               /* D channel                    */
+#define TRC_CH_D       1               /* D channel                    */
 #define TRC_CH_B1      2               /* B1 channel                   */
 #define TRC_CH_B2      3               /* B2 channel                   */
-       gint32 dir;             /* direction                            */
+       gint32 dir;             /* direction                            */
 #define FROM_TE        0                       /* user -> network              */
 #define FROM_NT 1                      /* network -> user              */
        gint32 trunc;           /* # of truncated bytes (frame > MCLBYTES) */
@@ -65,14 +58,14 @@ typedef struct {
 #define INFO4_10       6
 
 /*---------------------------------------------------------------------------*
- *     ioctl via /dev/i4btrc device(s):
+ *     ioctl via /dev/i4btrc device(s):
  *     get/set current trace flag settings
  *---------------------------------------------------------------------------*/
 
 #define        I4B_TRC_GET     _IOR('T', 0, int)       /* get trace settings   */
 #define        I4B_TRC_SET     _IOW('T', 1, int)       /* set trace settings   */
 
-#define TRACE_OFF       0x00           /* tracing off          */
+#define TRACE_OFF       0x00           /* tracing off          */
 #define TRACE_I                0x01            /* trace L1 INFO's on   */
 #define TRACE_D_TX     0x02            /* trace D channel on   */
 #define TRACE_D_RX     0x04            /* trace D channel on   */