projects
/
lcr.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'master' of ssh://schlaile@git.misdn.org/var/git/lcr
[lcr.git]
/
lcrsocket.h
diff --git
a/lcrsocket.h
b/lcrsocket.h
index
19fa835
..
e7d51c5
100644
(file)
--- a/
lcrsocket.h
+++ b/
lcrsocket.h
@@
-9,7
+9,7
@@
** **
\*****************************************************************************/
** **
\*****************************************************************************/
-#define SOCKET_NAME "
/var/run
/LCR.socket"
+#define SOCKET_NAME "
%s
/LCR.socket"
/* structures that define message between admin-tool and pbx */
/* structures that define message between admin-tool and pbx */
@@
-65,6
+65,7
@@
struct admin_response_state {
struct admin_response_interface {
char interface_name[32];
int portnum;
struct admin_response_interface {
char interface_name[32];
int portnum;
+ char portname[64];
int block;
int ntmode;
int ptp;
int block;
int ntmode;
int ptp;
@@
-76,7
+77,8
@@
struct admin_response_interface {
int los, ais, rdi, slip_tx, slip_rx;
int channels;
char busy[256]; /* if port is idle(0) busy(1) */
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 */
+ int mode[256];
};
struct admin_response_remote {
};
struct admin_response_remote {
@@
-84,14
+86,14
@@
struct admin_response_remote {
};
struct admin_response_join {
};
struct admin_response_join {
- unsigned
long
serial; /* join serial number */
+ unsigned
int
serial; /* join serial number */
char remote[32]; /* remote application name */
char remote[32]; /* remote application name */
- unsigned
long
partyline;
+ unsigned
int
partyline;
};
struct admin_response_epoint {
};
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;
// int join_notify; /* if relation notified on hold */
// int join_hold; /* if relation on hold */
int rx_state;
@@
-108,9
+110,9
@@
struct admin_response_epoint {
};
struct admin_response_port {
};
struct admin_response_port {
- unsigned
long
serial; /* port serial number */
+ unsigned
int
serial; /* port serial number */
char name[64]; /* name of port */
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 */
int state;
int isdn; /* if port is isdn */
int isdn_chan; /* bchannel number */
@@
-148,7
+150,7
@@
struct admin_trace_rsp {
struct admin_msg {
int type; /* type of message */
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 */
};
union parameter param; /* parameter union */
};