[asterisk-dev] Dahdi driver - transmit/receive documentation
Russ Meyerriecks
rmeyerriecks at digium.com
Thu Feb 2 10:20:22 CST 2012
On Thu, Feb 02, 2012 at 03:29:28PM +0800, Luke Clifton wrote:
> I have seen the dahdi_transmit() and dahdi_receive() functions which I
> believe do what I want, but I can't be sure.
You're on the right path.
> I think the detail that is eluding me is, what are the [s]readchunk and
> [s]writechunk members of the dahdi channel struct? Do I have to
> allocate memory for them, or do I simple point chan.readchunk to
> chan.sreadchunk?
read and writechunk are your channel data buffers and will need to be
allocated accordingly. See setup_chunks in drivers/dahdi/wct4xxp/base.c as an
example.
> or show me where the ever
> elusive dahdi documentation lies
lol
--
Russ Meyerriecks
Digium, Inc. | Linux Kernel Developer
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
direct: +1 256-428-6025
Check us out at: www.digium.com & www.asterisk.org
More information about the asterisk-dev
mailing list