summaryrefslogtreecommitdiff
path: root/xpp/xbus-core.h
diff options
context:
space:
mode:
authortzafrir <tzafrir@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2007-09-14 22:29:36 +0000
committertzafrir <tzafrir@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2007-09-14 22:29:36 +0000
commitc91b2cd29653da525d1a37cf680f4a75b2d3b208 (patch)
treef26185291a7ebb24902a2737d6e5b1fed75bb8c1 /xpp/xbus-core.h
parent236601045ee0a95930414d8d5f822d9a61054aae (diff)
New xpp release (Xorcom rev 4648):
* New firmware protocol version: 2.8 . * New firmwares fix input ports offhook. * Cleanup INFO() messages during module loading. * USB: Receive queue with TASKLETS [r4600]. Controlled by rx_tasklet parameter to xpp_usb module (can be changed in runtime). * The pcm_tasklet parameter in xpp module is deprecated: - Does not actually do anything. - If set during module loading, shows an ERR() message. - Also appears in /proc/xpp/sync * FXS: Hardware DTMF detection by default, can be disabled by setting dtmf_detection=0 parameter to xpd_fxs. PCM is muted when DTMF key is pressed. * zapconf: - Can now generate users.conf compatible with asterisk-gui. - Optional command-line arguments denoting which files to generate. Possible values are 'zaptel', 'zapata' and 'users'. - Defaults to creating zaptel and zapata. git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@3019 5390a7c7-147a-4af0-8ec9-7488f05a26cb
Diffstat (limited to 'xpp/xbus-core.h')
-rw-r--r--xpp/xbus-core.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/xpp/xbus-core.h b/xpp/xbus-core.h
index d7df05a..d1a3167 100644
--- a/xpp/xbus-core.h
+++ b/xpp/xbus-core.h
@@ -28,9 +28,11 @@
#define XFRAME_DATASIZE 512
struct xframe {
+ struct list_head frame_list;
atomic_t frame_len;
xbus_t *xbus;
struct timeval tv_created;
+ struct timeval tv_received;
byte *packets; /* max XFRAME_DATASIZE */
};
@@ -69,7 +71,7 @@ xpacket_t *xframe_next_packet(xframe_t *xframe, int len);
xbus_t *xbus_of(int xbus_num);
xpd_t *xpd_of(const xbus_t *xbus, int xpd_num);
xpd_t *xpd_byaddr(const xbus_t *xbus, uint unit, uint subunit);
-xbus_t *xbus_new(xbus_ops_t *ops);
+xbus_t *xbus_new(xbus_ops_t *ops, size_t xframe_size);
void xbus_remove(xbus_t *xbus);
void xbus_activate(xbus_t *xbus);
void xbus_disconnect(xbus_t *xbus);