Subversion Repositories HelenOS

Rev

Rev 3448 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 3448 Rev 3474
Line 33... Line 33...
33
 */
33
 */
34
 
34
 
35
#ifndef TRACE_H_
35
#ifndef TRACE_H_
36
#define TRACE_H_
36
#define TRACE_H_
37
 
37
 
-
 
38
#include <sys/types.h>
-
 
39
 
38
/**
40
/**
39
 * Classes of events that can be displayed. Can be or-ed together.
41
 * Classes of events that can be displayed. Can be or-ed together.
40
 */
42
 */
41
typedef enum {
43
typedef enum {
42
   
44
   
Line 46... Line 48...
46
    DM_SYSTEM   = 8,    /**< Sysipc protocol */
48
    DM_SYSTEM   = 8,    /**< Sysipc protocol */
47
    DM_USER     = 16    /**< User IPC protocols */
49
    DM_USER     = 16    /**< User IPC protocols */
48
 
50
 
49
} display_mask_t;
51
} display_mask_t;
50
 
52
 
-
 
53
typedef enum {
-
 
54
    V_VOID,
-
 
55
    V_INTEGER,
-
 
56
    V_PTR,
-
 
57
    V_HASH,
-
 
58
    V_ERRNO,
-
 
59
    V_INT_ERRNO,
-
 
60
    V_CHAR
-
 
61
} val_type_t;
-
 
62
 
51
/** Combination of events to print. */
63
/** Combination of events to print. */
52
extern display_mask_t display_mask;
64
extern display_mask_t display_mask;
53
 
65
 
-
 
66
void val_print(sysarg_t val, val_type_t v_type);
-
 
67
 
54
#endif
68
#endif
55
 
69
 
56
/** @}
70
/** @}
57
 */
71
 */