[svn-commits] branch 1.2 r1206 - in /branches/1.2: ./ include/
include/apilib/ include/oct6...
svn-commits at lists.digium.com
svn-commits at lists.digium.com
Fri Jul 7 11:04:00 MST 2006
Author: russell
Date: Fri Jul 7 13:03:59 2006
New Revision: 1206
URL: http://svn.digium.com/view/zaptel?rev=1206&view=rev
Log:
merge vpm450m support
Added:
branches/1.2/OCT6114-128D.ima (with props)
branches/1.2/fw2h.c (with props)
branches/1.2/include/
branches/1.2/include/apilib/
branches/1.2/include/apilib/octapi_bt0.h (with props)
branches/1.2/include/apilib/octapi_largmath.h (with props)
branches/1.2/include/apilib/octapi_llman.h (with props)
branches/1.2/include/oct6100api/
branches/1.2/include/oct6100api/oct6100_adpcm_chan_inst.h (with props)
branches/1.2/include/oct6100api/oct6100_adpcm_chan_priv.h (with props)
branches/1.2/include/oct6100api/oct6100_adpcm_chan_pub.h (with props)
branches/1.2/include/oct6100api/oct6100_api.h (with props)
branches/1.2/include/oct6100api/oct6100_api_inst.h (with props)
branches/1.2/include/oct6100api/oct6100_apimi.h (with props)
branches/1.2/include/oct6100api/oct6100_apiud.h (with props)
branches/1.2/include/oct6100api/oct6100_channel_inst.h (with props)
branches/1.2/include/oct6100api/oct6100_channel_priv.h (with props)
branches/1.2/include/oct6100api/oct6100_channel_pub.h (with props)
branches/1.2/include/oct6100api/oct6100_chip_open_inst.h (with props)
branches/1.2/include/oct6100api/oct6100_chip_open_priv.h (with props)
branches/1.2/include/oct6100api/oct6100_chip_open_pub.h (with props)
branches/1.2/include/oct6100api/oct6100_chip_stats_inst.h (with props)
branches/1.2/include/oct6100api/oct6100_chip_stats_priv.h (with props)
branches/1.2/include/oct6100api/oct6100_chip_stats_pub.h (with props)
branches/1.2/include/oct6100api/oct6100_conf_bridge_inst.h (with props)
branches/1.2/include/oct6100api/oct6100_conf_bridge_priv.h (with props)
branches/1.2/include/oct6100api/oct6100_conf_bridge_pub.h (with props)
branches/1.2/include/oct6100api/oct6100_debug_inst.h (with props)
branches/1.2/include/oct6100api/oct6100_debug_priv.h (with props)
branches/1.2/include/oct6100api/oct6100_debug_pub.h (with props)
branches/1.2/include/oct6100api/oct6100_defines.h (with props)
branches/1.2/include/oct6100api/oct6100_errors.h (with props)
branches/1.2/include/oct6100api/oct6100_events_inst.h (with props)
branches/1.2/include/oct6100api/oct6100_events_priv.h (with props)
branches/1.2/include/oct6100api/oct6100_events_pub.h (with props)
branches/1.2/include/oct6100api/oct6100_interrupts_inst.h (with props)
branches/1.2/include/oct6100api/oct6100_interrupts_priv.h (with props)
branches/1.2/include/oct6100api/oct6100_interrupts_pub.h (with props)
branches/1.2/include/oct6100api/oct6100_memory_priv.h (with props)
branches/1.2/include/oct6100api/oct6100_miscellaneous_priv.h (with props)
branches/1.2/include/oct6100api/oct6100_mixer_inst.h (with props)
branches/1.2/include/oct6100api/oct6100_mixer_priv.h (with props)
branches/1.2/include/oct6100api/oct6100_mixer_pub.h (with props)
branches/1.2/include/oct6100api/oct6100_phasing_tsst_inst.h (with props)
branches/1.2/include/oct6100api/oct6100_phasing_tsst_priv.h (with props)
branches/1.2/include/oct6100api/oct6100_phasing_tsst_pub.h (with props)
branches/1.2/include/oct6100api/oct6100_playout_buf_inst.h (with props)
branches/1.2/include/oct6100api/oct6100_playout_buf_priv.h (with props)
branches/1.2/include/oct6100api/oct6100_playout_buf_pub.h (with props)
branches/1.2/include/oct6100api/oct6100_remote_debug_inst.h (with props)
branches/1.2/include/oct6100api/oct6100_remote_debug_priv.h (with props)
branches/1.2/include/oct6100api/oct6100_remote_debug_pub.h (with props)
branches/1.2/include/oct6100api/oct6100_tlv_inst.h (with props)
branches/1.2/include/oct6100api/oct6100_tlv_priv.h (with props)
branches/1.2/include/oct6100api/oct6100_tone_detection_inst.h (with props)
branches/1.2/include/oct6100api/oct6100_tone_detection_priv.h (with props)
branches/1.2/include/oct6100api/oct6100_tone_detection_pub.h (with props)
branches/1.2/include/oct6100api/oct6100_tsi_cnct_inst.h (with props)
branches/1.2/include/oct6100api/oct6100_tsi_cnct_priv.h (with props)
branches/1.2/include/oct6100api/oct6100_tsi_cnct_pub.h (with props)
branches/1.2/include/oct6100api/oct6100_tsst_inst.h (with props)
branches/1.2/include/oct6100api/oct6100_tsst_priv.h (with props)
branches/1.2/include/oct6100api/oct6100_version.h (with props)
branches/1.2/include/octdef.h (with props)
branches/1.2/include/octmac.h (with props)
branches/1.2/include/octosdependant.h (with props)
branches/1.2/include/octrpc/
branches/1.2/include/octrpc/oct6100_rpc_protocol.h (with props)
branches/1.2/include/octrpc/rpc_protocol.h (with props)
branches/1.2/include/octtype.h (with props)
branches/1.2/include/octtypevx.h (with props)
branches/1.2/include/octtypewin.h (with props)
branches/1.2/octapi_bt0_private.h (with props)
branches/1.2/octapi_llman_private.h (with props)
branches/1.2/octvpm.h (with props)
branches/1.2/vpm450m.c (with props)
branches/1.2/vpm450m.h (with props)
branches/1.2/wct4xxp_base.c (contents, props changed)
- copied, changed from r1198, branches/1.2/wct4xxp.c
Removed:
branches/1.2/wct4xxp.c
Modified:
branches/1.2/Makefile
Modified: branches/1.2/Makefile
URL: http://svn.digium.com/view/zaptel/branches/1.2/Makefile?rev=1206&r1=1205&r2=1206&view=diff
==============================================================================
--- branches/1.2/Makefile (original)
+++ branches/1.2/Makefile Fri Jul 7 13:03:59 2006
@@ -5,9 +5,11 @@
#
#
+
+HOSTCC=gcc
+ifeq ($(PWD),)
PWD:=$(shell pwd)
-
-HOSTCC=gcc
+endif
# If you want to build for a kernel other than the current kernel, set KVERS
ifndef KVERS
KVERS:=$(shell uname -r)
@@ -22,7 +24,7 @@
endif
KINCLUDES:=$(KSRC)/include
-CFLAGS+=-I. -O4 -g -Wall -DBUILDING_TONEZONE #-DTONEZONE_DRIVER
+CFLAGS+=-I. -Iinclude -O4 -g -Wall -DBUILDING_TONEZONE #-DTONEZONE_DRIVER
CFLAGS_PPC:=$(shell if uname -m | grep -q ppc; then echo "-fsigned-char"; fi)
CFLAGS_X86-64:=$(shell if uname -m | grep -q x86_64; then echo "-m64"; fi)
CFLAGS+=$(CFLAGS_PPC) $(CFLAGS_X86-64)
@@ -45,7 +47,6 @@
CFLAGS+=-DSTANDALONE_ZAPATA
KMAKE:= $(MAKE) -C $(KSRC) SUBDIRS=$(PWD)
KMAKE_INST:= $(KMAKE) INSTALL_MOD_PATH=$(INSTALL_PREFIX) INSTALL_MOD_DIR=misc modules_install
-EXTRA_CFLAGS:=-I$(src)
ROOT_PREFIX=
INSTALL_PREFIX:=$(DESTDIR)
@@ -110,7 +111,9 @@
MOD_DESTDIR:=zaptel
+EXTRA_CFLAGS:=-I$(PWD)/include -I$(PWD)/include/oct6100api
obj-m:=$(MODULESO)
+wct4xxp-objs:=wct4xxp_base.o vpm450m.o
# Also build xpp in the subdirectory xpp/ . But only for >=2.6.10 and only
# for i386. On other archs the module will probably build but panic.
@@ -128,9 +131,9 @@
all: $(BUILDVER) $(LIBTONEZONE_SO)
-linux24: prereq $(MODULESO) $(BINS)
-
-linux26: prereq $(BINS)
+linux24: prereq vpm450m_fw.h $(MODULESO) $(BINS)
+
+linux26: prereq vpm450m_fw.h $(BINS)
@echo $(KSRC)
@if [ -z "$(KSRC)" -o ! -d "$(KSRC)" ]; then echo "You do not appear to have the sources for the $(KVERS) kernel installed."; exit 1 ; fi
$(KMAKE) modules
@@ -170,8 +173,14 @@
ztdummy.o: ztdummy.h
-$(MODULESO): %.o: %.c zaptel.h
- $(HOSTCC) $(KFLAGS) -o $@ -c $<
+$(filter-out wct4xxp.o,$(MODULESO)) wct4xxp_base.o: %.o: %.c zaptel.h
+ $(CC) $(KFLAGS) -o $@ -c $<
+
+vpm450m.o: vpm450m.c zaptel.h
+ $(CC) $(KFLAGS) -I$(PWD)/include -I$(PWD)/include/oct6100api -o $@ -c $<
+
+wct4xxp.o: wct4xxp_base.o vpm450m.o
+ $(LD) -r -o $@ wct4xxp_base.o vpm450m.o
tor2ee.o: tor2-hw.h
@@ -198,6 +207,11 @@
gendigits: gendigits.o
$(CC) -o $@ $^ -lm
+
+fw2h: CFLAGS=
+
+vpm450m_fw.h: OCT6114-128D.ima fw2h
+ ./fw2h $< $@
zaptel.c: tones.h
@@ -372,15 +386,6 @@
grep ^C update.out | cut -b4- ; \
fi ; \
rm -f update.out; \
- elif [ -d CVS ]; then \
- echo "Updating from CVS..." ; \
- cvs -q -z3 update -Pd | tee update.out; \
- rm -f .version; \
- if [ `grep -c ^C update.out` -gt 0 ]; then \
- echo ; echo "The following files have conflicts:" ; \
- grep ^C update.out | cut -d' ' -f2- ; \
- fi ; \
- rm -f update.out; \
else \
echo "Not under version control"; \
fi
@@ -400,5 +405,6 @@
rm -f fxotune
rm -f core
rm -f ztcfg-shared fxstest
+ rm -f fw2h vpm450m_fw.h
FORCE:
Added: branches/1.2/OCT6114-128D.ima
URL: http://svn.digium.com/view/zaptel/branches/1.2/OCT6114-128D.ima?rev=1206&view=auto
==============================================================================
Binary file - no diff available.
Propchange: branches/1.2/OCT6114-128D.ima
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: branches/1.2/fw2h.c
URL: http://svn.digium.com/view/zaptel/branches/1.2/fw2h.c?rev=1206&view=auto
==============================================================================
--- branches/1.2/fw2h.c (added)
+++ branches/1.2/fw2h.c Fri Jul 7 13:03:59 2006
@@ -1,0 +1,47 @@
+#include <fcntl.h>
+#include <stdio.h>
+#include <stdlib.h>
+#include <unistd.h>
+#include <string.h>
+#include <errno.h>
+int main(int argc, char *argv[])
+{
+ char *c;
+ int fd;
+ FILE *f;
+ int res;
+ int x;
+ unsigned char buf[1024];
+ if (argc != 3) {
+ fprintf(stderr, "Usage: fw2h <infile> <outfile>");
+ exit(1);
+ }
+ fd = open(argv[1], O_RDONLY);
+ if (fd < 0) {
+ fprintf(stderr, "Unable to open '%s': %s\n", argv[1], strerror(errno));
+ exit(1);
+ }
+ f = fopen(argv[2], "w+");
+ if (!f) {
+ fprintf(stderr, "Unable to open '%s' for writing: %s\n", argv[2], strerror(errno));
+ exit(1);
+ }
+ c = strrchr(argv[2], '.');
+ if (c) *c = '\0';
+ fprintf(f, "static unsigned char %s[] = {\t", argv[2]);
+ while ((res = read(fd, buf, sizeof(buf))) > 0) {
+ for (x = 0; x < res; x++) {
+ if (!(x % 16))
+ fprintf(f, "\n\t");
+ fprintf(f, "0x%02x, ", buf[x]);
+ }
+ }
+ fprintf(f, "\n};\n");
+ if (res < 0) {
+ fprintf(stderr, "Error reading file: %s\n", strerror(errno));
+ exit(1);
+ }
+ fclose(f);
+ close(fd);
+ exit(0);
+}
Propchange: branches/1.2/fw2h.c
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: branches/1.2/fw2h.c
------------------------------------------------------------------------------
svn:keywords = Author Date Id Revision
Propchange: branches/1.2/fw2h.c
------------------------------------------------------------------------------
svn:mime-type = text/plain
Added: branches/1.2/include/apilib/octapi_bt0.h
URL: http://svn.digium.com/view/zaptel/branches/1.2/include/apilib/octapi_bt0.h?rev=1206&view=auto
==============================================================================
--- branches/1.2/include/apilib/octapi_bt0.h (added)
+++ branches/1.2/include/apilib/octapi_bt0.h Fri Jul 7 13:03:59 2006
@@ -1,0 +1,70 @@
+/*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\
+
+File: octapi_bt0.h
+
+Copyright (c) 2001 Octasic Inc. All rights reserved.
+
+Description:
+
+This source code is Octasic Confidential. Use of and access to this code
+is covered by the Octasic Device Enabling Software License Agreement.
+Acknowledgement of the Octasic Device Enabling Software License was
+required for access to this code. A copy was also provided with the release.
+
+
+$Octasic_Release: OCT610xAPI-01.00-PR37 $
+
+$Octasic_Revision: 10 $
+
+\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
+#ifndef __OCTAPI_BT0_H__
+#define __OCTAPI_BT0_H__
+
+
+#include "octdef.h"
+
+
+#define OCTAPI_BT0_BASE 0xFFFF0000
+#define OCTAPI_BT0_KEY_SIZE_NOT_MUTLIPLE_OF_UINT32 OCTAPI_BT0_BASE+0x0001
+#define OCTAPI_BT0_DATA_SIZE_NOT_MUTLIPLE_OF_UINT32 OCTAPI_BT0_BASE+0x0002
+#define OCTAPI_BT0_MALLOC_FAILED OCTAPI_BT0_BASE+0x0003
+#define OCTAPI_BT0_NO_NODES_AVAILABLE OCTAPI_BT0_BASE+0x0004
+#define OCTAPI_BT0_KEY_ALREADY_IN_TREE OCTAPI_BT0_BASE+0x0005
+#define OCTAPI_BT0_KEY_NOT_IN_TREE OCTAPI_BT0_BASE+0x0006
+
+/* Possible result for Find Or Add function.*/
+#define OCTAPI0_BT0_NODE_FOUND 0
+#define OCTAPI0_BT0_NODE_ADDDED 1
+
+#define OCTAPI_BT0_NO_SMALLER_KEY 0xAAAAAAAA
+
+
+#ifdef __cplusplus
+extern "C" {
+#endif /* __cplusplus*/
+
+#define octapi_bt0_get_size( number_of_items, key_size, data_size, b_size ) OctApiBt0GetSize( (UINT32) number_of_items,(UINT32) key_size, (UINT32) data_size, (PUINT32) b_size )
+#define octapi_bt0_init(b, number_of_items, key_size, data_size) OctApiBt0Init( (void **) b,(UINT32) number_of_items,(UINT32) key_size, (UINT32) data_size )
+#define octapi_bt0_add_node( b, key, data ) OctApiBt0AddNode( (void *) b,(void *) key,(void **) data )
+#define octapi_bt0_remove_node( b, key ) OctApiBt0RemoveNode( (void *) b,(void *) key )
+#define octapi_bt0_query_node( b, key, data ) OctApiBt0QueryNode( (void *) b,(void *) key,(void **) data )
+#define octapi_bt0_get_first_node( b,key, data ) OctApiBt0GetFirstNode( (void *) b,(void **) key, (void **) data )
+
+
+static UINT32 OctApiBt0GetSize( UINT32 number_of_items,UINT32 key_size, UINT32 data_size, UINT32 * b_size );
+static UINT32 OctApiBt0Init( void ** b,UINT32 number_of_items,UINT32 key_size, UINT32 data_size );
+UINT32 OctApiBt0AddNode( void * b,void * key,void ** data );
+UINT32 OctApiBt0RemoveNode( void * b,void * key );
+UINT32 OctApiBt0QueryNode( void * b,void * key,void ** data );
+UINT32 OctApiBt0GetFirstNode( void * b,void ** key, void ** data );
+UINT32 OctApiBt0FindOrAddNode(void * b,void * key,void ** data, UINT32 *fnct_result);
+
+UINT32 OctApiBt0AddNodeReportPrevNodeData(void * b,void * key,void ** data, void ** prev_data, UINT32 *fnct_result );
+
+#ifdef __cplusplus
+}
+#endif /* __cplusplus*/
+
+
+
+#endif /*__OCTAPI_BT0_H__*/
Propchange: branches/1.2/include/apilib/octapi_bt0.h
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: branches/1.2/include/apilib/octapi_bt0.h
------------------------------------------------------------------------------
svn:keywords = Author Date Id Revision
Propchange: branches/1.2/include/apilib/octapi_bt0.h
------------------------------------------------------------------------------
svn:mime-type = text/plain
Added: branches/1.2/include/apilib/octapi_largmath.h
URL: http://svn.digium.com/view/zaptel/branches/1.2/include/apilib/octapi_largmath.h?rev=1206&view=auto
==============================================================================
--- branches/1.2/include/apilib/octapi_largmath.h (added)
+++ branches/1.2/include/apilib/octapi_largmath.h Fri Jul 7 13:03:59 2006
@@ -1,0 +1,62 @@
+/*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\
+
+File: octapi_largmath.h
+
+Copyright (c) 2001 Octasic Inc. All rights reserved.
+
+Description:
+
+This source code is Octasic Confidential. Use of and access to this code
+is covered by the Octasic Device Enabling Software License Agreement.
+Acknowledgement of the Octasic Device Enabling Software License was
+required for access to this code. A copy was also provided with the release.
+
+
+$Octasic_Release: OCT610xAPI-01.00-PR37 $
+
+$Octasic_Revision: 5 $
+
+\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
+#ifndef __OCTAPI_LARGMATH_H__
+#define __OCTAPI_LARGMATH_H__
+
+
+
+#include "octdef.h"
+
+
+
+#define OCTAPI_LM_DIVISION_BY_ZERO 0xFFFF
+#define OCTAPI_LM_OVERFLOW 0xFFFE
+#define OCTAPI_LM_ARRAY_SIZE_MISMATCH 0xFFFD
+
+#define OCTAPI_LM_MAX_OPTIMIZE_MUL 10
+
+#ifdef __cplusplus
+extern "C" {
+#endif /* __cplusplus*/
+
+#define octapi_lm_add( a, alen, b, blen, z, zlen) OctApiLmAdd( (PUINT32) a, (USHORT) alen, (PUINT32) b, (USHORT) blen, (PUINT32) z, (USHORT) zlen )
+#define octapi_lm_subtract( a, alen, bneg, blen, z, zlen, neg) OctApiLmSubtract( (PUINT32) a, (USHORT) alen, (PUINT32) bneg, (USHORT) blen, (PUINT32) z, (USHORT) zlen, (USHORT*) neg )
+#define octapi_lm_compare( a, alen, bneg, blen, neg) OctApiLmCompare( (PUINT32) a, (USHORT) alen, (PUINT32) bneg, (USHORT) blen, (USHORT*) neg )
+#define octapi_lm_multiply( a, b, ablen, z) OctApiLmMultiply( (PUINT32) a, (PUINT32) b, (USHORT) ablen, (PUINT32) z )
+#define octapi_lm_divide( n, d, q, r, ndqrlen) OctApiLmDivide( (PUINT32) n, (PUINT32) d, (PUINT32) q, (PUINT32) r, (USHORT) ndqrlen )
+#define octapi_lm_shiftright1( a, alen) OctApiLmShiftRight1( (PUINT32) a, (USHORT) alen )
+#define octapi_lm_shiftn( a, alen, shiftleft, shiftn) OctApiLmShiftn( (PUINT32) a, (USHORT) alen, (USHORT) shiftleft, (USHORT) shiftn )
+#define octapi_lm_getmsb( a, alen, msb_pos) OctApiLmGetMsb( (PUINT32) a, (USHORT) alen, (USHORT*) msb_pos )
+
+
+static UINT32 OctApiLmAdd( PUINT32 a, USHORT alen, PUINT32 b, USHORT blen, PUINT32 z, USHORT zlen );
+static UINT32 OctApiLmSubtract( PUINT32 a, USHORT alen, PUINT32 bneg, USHORT blen, PUINT32 z, USHORT zlen, PUSHORT neg );
+UINT32 OctApiLmCompare( PUINT32 a, USHORT alen, PUINT32 bneg, USHORT blen, PUSHORT neg );
+UINT32 OctApiLmMultiply( PUINT32 a, PUINT32 b, USHORT ablen, PUINT32 z );
+UINT32 OctApiLmDivide( PUINT32 n, PUINT32 d, PUINT32 q, PUINT32 r, USHORT ndqrlen );
+UINT32 OctApiLmShiftRight1( PUINT32 a, USHORT alen );
+UINT32 OctApiLmShiftn( PUINT32 a, USHORT alen, USHORT shiftleft, USHORT shiftn );
+UINT32 OctApiLmGetMsb( PUINT32 a, USHORT alen, PUSHORT msb_pos );
+
+#ifdef __cplusplus
+}
+#endif /* __cplusplus*/
+
+#endif /*__OCTAPI_LARGMATH_H__*/
Propchange: branches/1.2/include/apilib/octapi_largmath.h
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: branches/1.2/include/apilib/octapi_largmath.h
------------------------------------------------------------------------------
svn:keywords = Author Date Id Revision
Propchange: branches/1.2/include/apilib/octapi_largmath.h
------------------------------------------------------------------------------
svn:mime-type = text/plain
Added: branches/1.2/include/apilib/octapi_llman.h
URL: http://svn.digium.com/view/zaptel/branches/1.2/include/apilib/octapi_llman.h?rev=1206&view=auto
==============================================================================
--- branches/1.2/include/apilib/octapi_llman.h (added)
+++ branches/1.2/include/apilib/octapi_llman.h Fri Jul 7 13:03:59 2006
@@ -1,0 +1,127 @@
+/*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\
+
+File: octapi_llman.h
+
+Copyright (c) 2001 Octasic Inc. All rights reserved.
+
+Description:
+
+This source code is Octasic Confidential. Use of and access to this code
+is covered by the Octasic Device Enabling Software License Agreement.
+Acknowledgement of the Octasic Device Enabling Software License was
+required for access to this code. A copy was also provided with the release.
+
+
+$Octasic_Release: OCT610xAPI-01.00-PR37 $
+
+$Octasic_Revision: 7 $
+
+\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
+#include "octdef.h"
+
+/* Error defines*/
+#define OCTAPI_LLM_MEMORY_NOT_ALLOCATED 0xFFFFFFFF
+#define OCTAPI_LLM_NO_STRUCTURES_LEFT 0xFFFFFFFE
+#define OCTAPI_LLM_BLOCKNUM_OUT_OF_RANGE 0xFFFFFFFD
+#define OCTAPI_LLM_ELEMENT_ALREADY_ASSIGNED 0xFFFFFFFC
+#define OCTAPI_LLM_ELEMENT_NOT_FOUND 0xFFFFFFFB
+#define OCTAPI_LLM_LIST_EMPTY 0xFFFFFFFA
+#define OCTAPI_LLM_INVALID_LIST_HANDLE 0xFFFFFFF9
+#define OCTAPI_LLM_TREE_NODE_ABSENT 0xFFFFFFF8
+#define OCTAPI_LLM_INTERNAL_ERROR0 0xFFFFFFF7
+#define OCTAPI_LLM_INTERNAL_ERROR1 0xFFFFFFF6
+#define OCTAPI_LLM_INVALID_PARAMETER 0xFFFFFFF5
+
+#define OCTAPI_LLM2_MEMORY_NOT_ALLOCATED 0xFEFFFFFF
+#define OCTAPI_LLM2_NO_STRUCTURES_LEFT 0xFEFFFFFE
+#define OCTAPI_LLM2_BLOCKNUM_OUT_OF_RANGE 0xFEFFFFFD
+#define OCTAPI_LLM2_ELEMENT_ALREADY_ASSIGNED 0xFEFFFFFC
+#define OCTAPI_LLM2_ELEMENT_NOT_FOUND 0xFEFFFFFB
+#define OCTAPI_LLM2_LIST_EMPTY 0xFEFFFFFA
+#define OCTAPI_LLM2_INVALID_LIST_HANDLE 0xFEFFFFF9
+#define OCTAPI_LLM2_TREE_NODE_ABSENT 0xFEFFFFF8
+#define OCTAPI_LLM2_INTERNAL_ERROR0 0xFEFFFFF7
+#define OCTAPI_LLM2_INTERNAL_ERROR1 0xFEFFFFF6
+#define OCTAPI_LLM2_INVALID_PARAMETER 0xFEFFFFF5
+
+/* Other defines*/
+#define OCTAPI_LLM_LIST_APPEND 0xFFFFFFFF
+#define OCTAPI_LLM2_INSERT_ERROR 0xFFFFFFFF
+#define OCTAPI_LLM2_INSERT_FIRST_NODE 0xFFFF0000
+#define OCTAPI_LLM2_INSERT_LIST_NODE 0xFFFF0001
+#define OCTAPI_LLM2_INSERT_LAST_NODE 0xFFFF0002
+#define OCTAPI_LLM2_INSERT_BEFORE_LAST_NODE 0xFFFF0003
+#define OCTAPI_LLM2_REMOVE_ERROR 0xFFFFFFFF
+#define OCTAPI_LLM2_REMOVE_FIRST_NODE 0xFFFF0004
+#define OCTAPI_LLM2_REMOVE_LIST_NODE 0xFFFF0005
+#define OCTAPI_LLM2_REMOVE_LAST_NODE 0xFFFF0006
+#define OCTAPI_LLM2_REMOVE_BEFORE_LAST_NODE 0xFFFF0007
+
+#ifdef __cplusplus
+extern "C" {
+#endif /* __cplusplus*/
+
+#define octapi_llm_alloc_get_size( number_of_items, l_size) OctapiLlmAllocGetSize( (UINT32) number_of_items,(PUINT32) l_size )
+#define octapi_llm_alloc_init( l, number_of_items) OctapiLlmAllocInit( (PVOID*) l,(UINT32) number_of_items)
+#define octapi_llm_alloc_info( l, allocated_items, available_items) OctapiLlmAllocInfo( (PVOID) l, (PUINT32) allocated_items, (PUINT32) available_items )
+#define octapi_llm_alloc_alloc( l, blocknum) OctapiLlmAllocAlloc( (PVOID) l, (PUINT32) blocknum )
+#define octapi_llm_alloc_dealloc( l, blocknum) OctapiLlmAllocDealloc( (PVOID) l,(UINT32) blocknum )
+#define octapi_llm_list_get_size( number_of_items, number_of_lists, user_info_size, l_size) OctApiLlmListGetSize( (UINT32) number_of_items,(UINT32) number_of_lists,(UINT32) user_info_size,(PUINT32) l_size )
+#define octapi_llm_list_init( l, number_of_items, number_of_lists, user_info_size) OctApiLlmListInit( (PVOID*) l,(UINT32) number_of_items,(UINT32) number_of_lists,(UINT32) user_info_size )
+#define octapi_llm_list_info( l, allocated_lists, allocated_items, free_lists, free_items ) OctApiLlmListInfo( (PVOID) l,(PUINT32) allocated_lists,(PUINT32) allocated_items,(PUINT32) free_lists,(PUINT32) free_items )
+#define octapi_llm_list_create( l, list_handle) OctApiLlmListCreate( (PVOID) l,(PUINT32) list_handle )
+#define octapi_llm_list_create_full( l, list_length, plist_handle) OctApiLlmListCreateFull( (PVOID) l, (UINT32) list_length, (PUINT32) plist_handle )
+#define octapi_llm_list_append_items( l, list_handle, num_items) OctApiLlmListAppendItems( (PVOID) l, (UINT32) list_handle, (UINT32) num_items )
+#define octapi_llm_list_append_and_set_items( l, list_handle, num_items, data_list) OctApiLlmListAppendAndSetItems( (PVOID) l, (UINT32) list_handle, (UINT32) num_items, (PVOID) data_list )
+#define octapi_llm_list_delete( l, list_handle ) OctApiLlmListDelete( (PVOID) l,(UINT32) list_handle )
+#define octapi_llm_list_length( l, list_handle, number_of_items_in_list) OctApiLlmListLength( (PVOID) l,(UINT32) list_handle, (PUINT32) number_of_items_in_list )
+#define octapi_llm_list_insert_item( l, list_handle, item_number, item_data_pnt) OctApiLlmListInsertItem( (PVOID) l,(UINT32) list_handle,(UINT32) item_number,(PVOID*) item_data_pnt )
+#define octapi_llm_list_remove_item( l, list_handle, item_number) OctApiLlmListRemoveItem( (PVOID) l,(UINT32) list_handle,(UINT32) item_number )
+#define octapi_llm_list_item_data( l, list_handle, item_number, item_data_pnt) OctApiLlmListItemData( (PVOID) l,(UINT32) list_handle,(UINT32) item_number,(PVOID*) item_data_pnt )
+#define octapi_llm_list_copy_data( l, list_handle, start_item, data_length, pdata_list) OctApiLlmListCopyData( (PVOID) l, (UINT32) list_handle, (UINT32) start_item, (UINT32) data_length, (PVOID) pdata_list )
+#define octapi_llm_list_set_items( l, list_handle, start_item, data_length, pdata_list) OctApiLlmListSetItems( (PVOID) l, (UINT32) list_handle, (UINT32) start_item, (UINT32) data_length, (PVOID) pdata_list )
+
+
+/* Alloc man.*/
+static UINT32 OctapiLlmAllocGetSize( UINT32 number_of_items,PUINT32 l_size );
+static UINT32 OctapiLlmAllocInit( PVOID* l,UINT32 number_of_items);
+static UINT32 OctapiLlmAllocInfo( PVOID l, PUINT32 allocated_items, PUINT32 available_items );
+static UINT32 OctapiLlmAllocAlloc( PVOID l, PUINT32 blocknum );
+static UINT32 OctapiLlmAllocDealloc( PVOID l,UINT32 blocknum );
+
+/* Time managed alloc man.*/
+UINT32 OctApiTllmAllocGetSize( UINT32 number_of_items, PUINT32 l_size );
+UINT32 OctApiTllmAllocInit( PVOID* l, UINT32 number_of_items );
+UINT32 OctApiTllmAllocInfo( PVOID l, PUINT32 allocated_items, PUINT32 available_items );
+UINT32 OctApiTllmAllocAlloc( PVOID l, PUINT32 blocknum, UINT32 current_time[2] );
+UINT32 OctApiTllmAllocDealloc( PVOID l, UINT32 blocknum, UINT32 timeout_value, UINT32 current_time[2] );
+
+/* List man.*/
+UINT32 OctApiLlmListGetSize( UINT32 number_of_items,UINT32 number_of_lists,UINT32 user_info_size,PUINT32 l_size );
+UINT32 OctApiLlmListInit( PVOID* l,UINT32 number_of_items,UINT32 number_of_lists,UINT32 user_info_size );
+UINT32 OctApiLlmListInfo( PVOID l,PUINT32 allocated_lists,PUINT32 allocated_items,PUINT32 free_lists,PUINT32 free_items );
+UINT32 OctApiLlmListCreate( PVOID l,PUINT32 list_handle );
+UINT32 OctApiLlmListCreateFull( PVOID l, UINT32 list_length, UINT32* plist_handle );
+UINT32 OctApiLlmListAppendItems( PVOID l, UINT32 list_handle, UINT32 num_items );
+UINT32 OctApiLlmListAppendAndSetItems( PVOID l, UINT32 list_handle, UINT32 num_items, PVOID data_list );
+UINT32 OctApiLlmListDelete( PVOID l,UINT32 list_handle );
+UINT32 OctApiLlmListLength( PVOID l,UINT32 list_handle, PUINT32 number_of_items_in_list );
+UINT32 OctApiLlmListInsertItem( PVOID l,UINT32 list_handle,UINT32 item_number,PVOID* item_data_pnt );
+UINT32 OctApiLlmListRemoveItem( PVOID l,UINT32 list_handle,UINT32 item_number );
+UINT32 OctApiLlmListItemData( PVOID l,UINT32 list_handle,UINT32 item_number,PVOID* item_data_pnt );
+UINT32 OctApiLlmListCopyData( PVOID l, UINT32 list_handle, UINT32 start_item, UINT32 data_length, PVOID pdata_list );
+UINT32 OctApiLlmListSetItems( PVOID l, UINT32 list_handle, UINT32 start_item, UINT32 data_length, PVOID pdata_list );
+
+/* Second list manager using a key to order info in the list.*/
+UINT32 OctApiLlm2ListGetSize( UINT32 number_of_items,UINT32 number_of_lists,UINT32 user_info_size,PUINT32 l_size );
+UINT32 OctApiLlm2ListInit( PVOID* l,UINT32 number_of_items,UINT32 number_of_lists,UINT32 user_info_size );
+UINT32 OctApiLlm2ListCreate( PVOID l,PUINT32 list_handle );
+UINT32 OctApiLlm2ListLength( PVOID l,UINT32 list_handle, PUINT32 number_of_items_in_list );
+UINT32 OctApiLlm2ListInsertItem(void * l,UINT32 list_handle,UINT32 item_key,void ** item_data_pnt, void ** prev_item_data_pnt, void ** prev_prev_item_data_pnt, PUINT32 insert_status_pnt );
+UINT32 OctApiLlm2ListRemoveItem(void * l,UINT32 list_handle,UINT32 item_key, PUINT32 prev_item_key_pnt, PUINT32 prev_prev_item_key_pnt, PUINT32 remove_status_pnt );
+UINT32 OctApiLlm2ListItemData( PVOID l,UINT32 list_handle,UINT32 item_key,PVOID* item_data_pnt, PUINT32 item_number );
+
+
+#ifdef __cplusplus
+}
+#endif /* __cplusplus*/
Propchange: branches/1.2/include/apilib/octapi_llman.h
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: branches/1.2/include/apilib/octapi_llman.h
------------------------------------------------------------------------------
svn:keywords = Author Date Id Revision
Propchange: branches/1.2/include/apilib/octapi_llman.h
------------------------------------------------------------------------------
svn:mime-type = text/plain
Added: branches/1.2/include/oct6100api/oct6100_adpcm_chan_inst.h
URL: http://svn.digium.com/view/zaptel/branches/1.2/include/oct6100api/oct6100_adpcm_chan_inst.h?rev=1206&view=auto
==============================================================================
--- branches/1.2/include/oct6100api/oct6100_adpcm_chan_inst.h (added)
+++ branches/1.2/include/oct6100api/oct6100_adpcm_chan_inst.h Fri Jul 7 13:03:59 2006
@@ -1,0 +1,74 @@
+/*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\
+
+File: oct6100_adpcm_chan_inst.h
+
+ Copyright (c) 2001-2005 Octasic Inc.
+
+Description:
+
+ File containing all defines, macros, and structures pertaining to the file
+ oct6100_adpcm_chan.c. All elements defined in this file are for public
+ usage of the API. All private elements are defined in the
+ oct6100_adpcm_chan_priv.h file.
+
+This file is part of the Octasic OCT6100 GPL API . The OCT6100 GPL API is
+free software; you can redistribute it and/or modify it under the terms of
+the GNU General Public License as published by the Free Software Foundation;
+either version 2 of the License, or (at your option) any later version.
+
+The OCT6100 GPL API is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
+or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
+for more details.
+
+You should have received a copy of the GNU General Public License
+along with the OCT6100 GPL API; if not, write to the Free Software
+Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
+
+$Octasic_Release: OCT612xAPI-01.00-PR38 $
+
+$Octasic_Revision: 5 $
+
+\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
+
+#ifndef __OCT6100_ADPCM_CHAN_INST_H__
+#define __OCT6100_ADPCM_CHAN_INST_H__
+
+/***************************** INCLUDE FILES *******************************/
+
+/***************************** DEFINES *************************************/
+
+/***************************** TYPES ***************************************/
+
+typedef struct _OCT6100_API_ADPCM_CHAN_
+{
+ /* Flag specifying whether the entry is used or not. */
+ UINT8 fReserved;
+
+ /* Count used to manage entry handles allocated to user. */
+ UINT8 byEntryOpenCnt;
+
+ /* TSI chariot memory entry. */
+ UINT16 usTsiMemIndex;
+
+ /* ADPCM memory entry. */
+ UINT16 usAdpcmMemIndex;
+
+ /* Input and output timeslot information. */
+ UINT16 usInputTimeslot;
+ UINT16 usInputStream;
+ UINT8 byInputNumTssts;
+ UINT8 byInputPcmLaw;
+
+ UINT16 usOutputTimeslot;
+ UINT16 usOutputStream;
+ UINT8 byOutputNumTssts;
+ UINT8 byOutputPcmLaw;
+
+ /* Internal info for quick access to structures associated to this TSI cnct. */
+ UINT16 usInputTsstIndex;
+ UINT16 usOutputTsstIndex;
+
+} tOCT6100_API_ADPCM_CHAN, *tPOCT6100_API_ADPCM_CHAN;
+
+#endif /* __OCT6100_ADPCM_CHAN_INST_H__ */
Propchange: branches/1.2/include/oct6100api/oct6100_adpcm_chan_inst.h
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: branches/1.2/include/oct6100api/oct6100_adpcm_chan_inst.h
------------------------------------------------------------------------------
svn:keywords = Author Date Id Revision
Propchange: branches/1.2/include/oct6100api/oct6100_adpcm_chan_inst.h
------------------------------------------------------------------------------
svn:mime-type = text/plain
Added: branches/1.2/include/oct6100api/oct6100_adpcm_chan_priv.h
URL: http://svn.digium.com/view/zaptel/branches/1.2/include/oct6100api/oct6100_adpcm_chan_priv.h?rev=1206&view=auto
==============================================================================
--- branches/1.2/include/oct6100api/oct6100_adpcm_chan_priv.h (added)
+++ branches/1.2/include/oct6100api/oct6100_adpcm_chan_priv.h Fri Jul 7 13:03:59 2006
@@ -1,0 +1,131 @@
+/*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\
+
+File: oct6100_adpcm_chan_priv.h
+
+ Copyright (c) 2001-2005 Octasic Inc.
+
+Description:
+
+ File containing all private defines, macros, structures and prototypes
+ pertaining to the file oct6100_adpcm_chan.c. All elements defined in this
+ file are for private usage of the API. All public elements are defined
+ in the oct6100_adpcm_chan_pub.h file.
+
+This file is part of the Octasic OCT6100 GPL API . The OCT6100 GPL API is
+free software; you can redistribute it and/or modify it under the terms of
+the GNU General Public License as published by the Free Software Foundation;
+either version 2 of the License, or (at your option) any later version.
+
+The OCT6100 GPL API is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
+or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
+for more details.
+
+You should have received a copy of the GNU General Public License
+along with the OCT6100 GPL API; if not, write to the Free Software
+Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
+
+$Octasic_Release: OCT612xAPI-01.00-PR38 $
+
+$Octasic_Revision: 5 $
+
+\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
+
+#ifndef __OCT6100_ADPCM_CHAN_PRIV_H__
+#define __OCT6100_ADPCM_CHAN_PRIV_H__
+
+/***************************** INCLUDE FILES *******************************/
+
+/***************************** DEFINES *************************************/
+
+/* ADPCM channel list pointer macros. */
+#define mOCT6100_GET_ADPCM_CHAN_LIST_PNT( pSharedInfo, pList ) \
+ pList = ( tPOCT6100_API_ADPCM_CHAN )(( PVOID )pSharedInfo + pSharedInfo->ulAdpcmChanListOfst );
+
+#define mOCT6100_GET_ADPCM_CHAN_ENTRY_PNT( pSharedInfo, pEntry, ulIndex ) \
+ pEntry = (( tPOCT6100_API_ADPCM_CHAN )(( PVOID )pSharedInfo + pSharedInfo->ulAdpcmChanListOfst)) + ulIndex;
+
+#define mOCT6100_GET_ADPCM_CHAN_ALLOC_PNT( pSharedInfo, pAlloc ) \
+ pAlloc = ( PVOID )(( PVOID )pSharedInfo + pSharedInfo->ulAdpcmChanAllocOfst);
+
+/***************************** TYPES ***************************************/
+
+
+/************************** FUNCTION PROTOTYPES *****************************/
+
+static UINT32 Oct6100ApiGetAdpcmChanSwSizes(
+ IN tPOCT6100_CHIP_OPEN f_pOpenChip,
+ OUT tPOCT6100_API_INSTANCE_SIZES f_pInstSizes );
+
+static UINT32 Oct6100ApiAdpcmChanSwInit(
+ IN OUT tPOCT6100_INSTANCE_API f_pApiInstance );
+
+
+UINT32 Oct6100AdpcmChanOpenSer(
+ IN OUT tPOCT6100_INSTANCE_API f_pApiInstance,
+ IN OUT tPOCT6100_ADPCM_CHAN_OPEN f_pAdpcmChanOpen );
+
+UINT32 Oct6100ApiCheckAdpcmChanParams(
+ IN OUT tPOCT6100_INSTANCE_API f_pApiInstance,
+ IN OUT tPOCT6100_ADPCM_CHAN_OPEN f_pAdpcmChanOpen );
+
+UINT32 Oct6100ApiReserveAdpcmChanResources(
+ IN OUT tPOCT6100_INSTANCE_API f_pApiInstance,
+ IN OUT tPOCT6100_ADPCM_CHAN_OPEN f_pAdpcmChanOpen,
+ OUT PUINT16 f_pusTsiChanIndex,
+ OUT PUINT16 f_pusAdpcmMemIndex,
+ OUT PUINT16 f_pusTsiMemIndex,
+ OUT PUINT16 f_pusInputTsstIndex,
+ OUT PUINT16 f_pusOutputTsstIndex );
+
+UINT32 Oct6100ApiWriteAdpcmChanStructs(
+ IN OUT tPOCT6100_INSTANCE_API f_pApiInstance,
+ IN OUT tPOCT6100_ADPCM_CHAN_OPEN f_pAdpcmChanOpen,
+ IN UINT16 f_usAdpcmMemIndex,
+ IN UINT16 f_usTsiMemIndex,
+ IN UINT16 f_usInputTsstIndex,
+ IN UINT16 f_usOutputTsstIndex );
+
+UINT32 Oct6100ApiUpdateAdpcmChanEntry(
+ IN OUT tPOCT6100_INSTANCE_API f_pApiInstance,
+ IN OUT tPOCT6100_ADPCM_CHAN_OPEN f_pAdpcmChanOpen,
+ IN UINT16 f_usTsiChanIndex,
+ IN UINT16 f_usAdpcmMemIndex,
+ IN UINT16 f_usTsiMemIndex,
+ IN UINT16 f_usInputTsstIndex,
+ IN UINT16 f_usOutputTsstIndex );
+
+UINT32 Oct6100AdpcmChanCloseSer(
+ IN OUT tPOCT6100_INSTANCE_API f_pApiInstance,
+ IN tPOCT6100_ADPCM_CHAN_CLOSE f_pAdpcmChanClose );
+
+UINT32 Oct6100ApiAssertAdpcmChanParams(
+ IN OUT tPOCT6100_INSTANCE_API f_pApiInstance,
+ IN tPOCT6100_ADPCM_CHAN_CLOSE f_pAdpcmChanClose,
+ OUT PUINT16 f_pusTsiChanIndex,
+ OUT PUINT16 f_pusAdpcmMemIndex,
+ OUT PUINT16 f_pusTsiMemIndex,
+ OUT PUINT16 f_pusInputTsstIndex,
+ OUT PUINT16 f_pusOutputTsstIndex );
+
+UINT32 Oct6100ApiInvalidateAdpcmChanStructs(
+ IN OUT tPOCT6100_INSTANCE_API f_pApiInstance,
+ IN UINT16 f_usAdpcmChanIndex,
+ IN UINT16 f_usInputTsstIndex,
+ IN UINT16 f_usOutputTsstIndex );
+
+UINT32 Oct6100ApiReleaseAdpcmChanResources(
+ IN OUT tPOCT6100_INSTANCE_API f_pApiInstance,
+ IN UINT16 f_usTsiChanIndex,
+ IN UINT16 f_usAdpcmMemIndex,
+ IN UINT16 f_usTsiMemIndex );
+
+UINT32 Oct6100ApiReserveAdpcmChanEntry(
+ IN OUT tPOCT6100_INSTANCE_API f_pApiInstance,
+ OUT PUINT16 f_pusAdpcmChanIndex );
+
+UINT32 Oct6100ApiReleaseAdpcmChanEntry(
+ IN OUT tPOCT6100_INSTANCE_API f_pApiInstance,
+ IN UINT16 f_usAdpcmChanIndex );
+
+#endif /* __OCT6100_ADPCM_CHAN_PRIV_H__ */
Propchange: branches/1.2/include/oct6100api/oct6100_adpcm_chan_priv.h
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: branches/1.2/include/oct6100api/oct6100_adpcm_chan_priv.h
------------------------------------------------------------------------------
svn:keywords = Author Date Id Revision
Propchange: branches/1.2/include/oct6100api/oct6100_adpcm_chan_priv.h
------------------------------------------------------------------------------
svn:mime-type = text/plain
Added: branches/1.2/include/oct6100api/oct6100_adpcm_chan_pub.h
URL: http://svn.digium.com/view/zaptel/branches/1.2/include/oct6100api/oct6100_adpcm_chan_pub.h?rev=1206&view=auto
==============================================================================
--- branches/1.2/include/oct6100api/oct6100_adpcm_chan_pub.h (added)
+++ branches/1.2/include/oct6100api/oct6100_adpcm_chan_pub.h Fri Jul 7 13:03:59 2006
@@ -1,0 +1,90 @@
+/*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\
+
+File: oct6100_adpcm_chan_pub.h
+
+ Copyright (c) 2001-2005 Octasic Inc.
+
+Description:
+
+ File containing all defines, macros, and structures pertaining to the file
+ oct6100_adpcm_chan.c. All elements defined in this file are for public
+ usage of the API. All private elements are defined in the
+ oct6100_adpcm_chan_priv.h file.
+
+This file is part of the Octasic OCT6100 GPL API . The OCT6100 GPL API is
+free software; you can redistribute it and/or modify it under the terms of
+the GNU General Public License as published by the Free Software Foundation;
+either version 2 of the License, or (at your option) any later version.
+
+The OCT6100 GPL API is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
+or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
+for more details.
+
+You should have received a copy of the GNU General Public License
+along with the OCT6100 GPL API; if not, write to the Free Software
+Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
+
+$Octasic_Release: OCT612xAPI-01.00-PR38 $
+
+$Octasic_Revision: 4 $
+
+\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
+
+#ifndef __OCT6100_ADPCM_CHAN_PUB_H__
+#define __OCT6100_ADPCM_CHAN_PUB_H__
+
+/***************************** INCLUDE FILES *******************************/
+
+
+/***************************** DEFINES *************************************/
+
+
+/***************************** TYPES ***************************************/
+
+typedef struct _OCT6100_ADPCM_CHAN_OPEN_
+{
+ PUINT32 pulChanHndl;
+
+ UINT32 ulInputTimeslot;
+ UINT32 ulInputStream;
+ UINT32 ulInputNumTssts;
+ UINT32 ulInputPcmLaw;
+
+ UINT32 ulOutputTimeslot;
+ UINT32 ulOutputStream;
+ UINT32 ulOutputNumTssts;
+ UINT32 ulOutputPcmLaw;
+
[... 42496 lines stripped ...]
More information about the svn-commits
mailing list