changed long to int (64 bit system's compatibilty)
[lcr.git] / trace.h
diff --git a/trace.h b/trace.h
index d6bc25d..c0fcab0 100644 (file)
--- a/trace.h
+++ b/trace.h
@@ -26,7 +26,6 @@
 #define L2_RELEASE_CON                 0x0002f101
 #define L2_RELEASE_IND                 0x0002f102
 #define L2_RELEASE_RES                 0x0002f103
-#define L3_UNKNOWN                     0x0003f200
 #define L3_ALERTING_REQ                        0x00030100
 #define L3_ALERTING_IND                        0x00030102
 #define L3_PROCEEDING_REQ              0x00030200
 #define L3_RETRIEVE_ACKNOWLEDGE_IND    0x00033302
 #define L3_RETRIEVE_REJECT_REQ         0x00033700
 #define L3_RETRIEVE_REJECT_IND         0x00033702
-#ifdef SOCKET_MISDN
 #define L3_NEW_L3ID_REQ                        0x0003f000
 #define L3_NEW_L3ID_IND                        0x0003f002
 #define L3_RELEASE_L3ID_REQ            0x0003f100
 #define L3_RELEASE_L3ID_IND            0x0003f102
-#else
-#define L3_NEW_CR_REQ                  0x0003f000
-#define L3_NEW_CR_IND                  0x0003f002
-#define L3_RELEASE_CR_REQ              0x0003f100
-#define L3_RELEASE_CR_IND              0x0003f102
-#endif
 #define L3_TIMEOUT_REQ                 0x0003f200
 #define L3_TIMEOUT_IND                 0x0003f202
+#define L3_UNKNOWN                     0x0003ff00
 
 
 struct trace_element {
@@ -121,11 +114,11 @@ struct trace {
        char caller[64];
        char dialing[64];
        int direction;
-       unsigned long sec, usec;
+       unsigned int sec, usec;
        
        /* type */
        int category;
-       unsigned long serial;
+       unsigned int serial;
        char name[64];
 
        /* elements */