summaryrefslogtreecommitdiffstats
path: root/lcrsocket.h
diff options
context:
space:
mode:
authorSuper User2008-06-14 08:34:50 +0200
committerSuper User2008-06-14 08:34:50 +0200
commitd2b113f2c4f11acfaee1b2e0fd2f03744a89f6d4 (patch)
tree8c9e9504a275a43d5a8785dcca7badf28ada5999 /lcrsocket.h
parentfixed dialing-bug when dialing chan_lcr (diff)
downloadlcr-d2b113f2c4f11acfaee1b2e0fd2f03744a89f6d4.tar.gz
lcr-d2b113f2c4f11acfaee1b2e0fd2f03744a89f6d4.tar.xz
lcr-d2b113f2c4f11acfaee1b2e0fd2f03744a89f6d4.zip
changed long to int (64 bit system's compatibilty)
Diffstat (limited to 'lcrsocket.h')
-rw-r--r--lcrsocket.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/lcrsocket.h b/lcrsocket.h
index 19fa835..735b610 100644
--- a/lcrsocket.h
+++ b/lcrsocket.h
@@ -76,7 +76,7 @@ struct admin_response_interface {
int los, ais, rdi, slip_tx, slip_rx;
int channels;
char busy[256]; /* if port is idle(0) busy(1) */
- unsigned long port[256]; /* current port */
+ unsigned int port[256]; /* current port */
};
struct admin_response_remote {
@@ -84,14 +84,14 @@ struct admin_response_remote {
};
struct admin_response_join {
- unsigned long serial; /* join serial number */
+ unsigned int serial; /* join serial number */
char remote[32]; /* remote application name */
- unsigned long partyline;
+ unsigned int partyline;
};
struct admin_response_epoint {
- unsigned long serial;
- unsigned long join; /* link to join */
+ unsigned int serial;
+ unsigned int join; /* link to join */
// int join_notify; /* if relation notified on hold */
// int join_hold; /* if relation on hold */
int rx_state;
@@ -108,9 +108,9 @@ struct admin_response_epoint {
};
struct admin_response_port {
- unsigned long serial; /* port serial number */
+ unsigned int serial; /* port serial number */
char name[64]; /* name of port */
- unsigned long epoint; /* link to epoint */
+ unsigned int epoint; /* link to epoint */
int state;
int isdn; /* if port is isdn */
int isdn_chan; /* bchannel number */
@@ -148,7 +148,7 @@ struct admin_trace_rsp {
struct admin_msg {
int type; /* type of message */
- unsigned long ref; /* reference to individual endpoints */
+ unsigned int ref; /* reference to individual endpoints */
union parameter param; /* parameter union */
};