projects
/
lcr.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added layer1 hold feature. Requires new mISDN and mISDNuser package from git.
[lcr.git]
/
lcrsocket.h
diff --git
a/lcrsocket.h
b/lcrsocket.h
index
735b610
..
69b8c7d
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,9
+65,12
@@
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;
+ int l1hold;
+ int l2hold;
int pri;
int extension;
int use; /* number of ports that use this interface */
int pri;
int extension;
int use; /* number of ports that use this interface */
@@
-77,6
+80,7
@@
struct admin_response_interface {
int channels;
char busy[256]; /* if port is idle(0) busy(1) */
unsigned int port[256]; /* current port */
int channels;
char busy[256]; /* if port is idle(0) busy(1) */
unsigned int port[256]; /* current port */
+ int mode[256];
};
struct admin_response_remote {
};
struct admin_response_remote {