projects
/
lcr.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Ports can now be specified by number or by name.
[lcr.git]
/
lcrsocket.h
diff --git
a/lcrsocket.h
b/lcrsocket.h
index
735b610
..
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;
@@
-77,6
+78,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 {