summaryrefslogtreecommitdiffstats
path: root/joinpbx.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 /joinpbx.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 'joinpbx.h')
-rw-r--r--joinpbx.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/joinpbx.h b/joinpbx.h
index c9e79d1..9106251 100644
--- a/joinpbx.h
+++ b/joinpbx.h
@@ -38,7 +38,7 @@ enum { /* states that results from last notification */
struct join_relation { /* relation to an interface */
struct join_relation *next; /* next node */
int type; /* type of relation */
- unsigned long epoint_id; /* interface to link join to */
+ unsigned int epoint_id; /* interface to link join to */
int channel_state; /* if audio is available */
int rx_state; /* current state of what we received from endpoint */
int tx_state; /* current state of what we sent to endpoint */
@@ -49,7 +49,7 @@ class JoinPBX : public Join
public:
JoinPBX(class Endpoint *epoint);
~JoinPBX();
- void message_epoint(unsigned long epoint_id, int message, union parameter *param);
+ void message_epoint(unsigned int epoint_id, int message, union parameter *param);
int handler(void);
int release(struct join_relation *relation, int location, int cause);
@@ -67,14 +67,14 @@ class JoinPBX : public Join
int j_partyline_jingle; /* also play jingle on join/leave */
void bridge(void);
- void bridge_data(unsigned long epoint_from, struct join_relation *relation_from, union parameter *param);
+ void bridge_data(unsigned int epoint_from, struct join_relation *relation_from, union parameter *param);
void remove_relation(struct join_relation *relation);
struct join_relation *add_relation(void);
- int out_setup(unsigned long epoint_id, int message, union parameter *param, char *newnumber);
+ int out_setup(unsigned int epoint_id, int message, union parameter *param, char *newnumber);
void play_jingle(int in);
};
void joinpbx_debug(class JoinPBX *joinpbx, char *function);
-int joinpbx_countrelations(unsigned long join_id);
+int joinpbx_countrelations(unsigned int join_id);
int track_notify(int oldstate, int notify);