From 20a71f3ba955816815f8d6d147ce630ae4764e3a Mon Sep 17 00:00:00 2001 From: "Kevin P. Fleming" Date: Fri, 25 Aug 2006 23:42:20 +0000 Subject: begin the process of filtering out the parts of the API we don't use git-svn-id: http://svn.asterisk.org/svn/octasic_api/oct612x/trunk@8 537310ab-6354-42db-a3cc-247b777f7be6 --- .../oct6100api/oct6100_api/oct6100_memory.c | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) (limited to 'software/octdeviceapi/oct6100api/oct6100_api/oct6100_memory.c') diff --git a/software/octdeviceapi/oct6100api/oct6100_api/oct6100_memory.c b/software/octdeviceapi/oct6100api/oct6100_api/oct6100_memory.c index a7f330b..ed88207 100644 --- a/software/octdeviceapi/oct6100api/oct6100_api/oct6100_memory.c +++ b/software/octdeviceapi/oct6100api/oct6100_api/oct6100_memory.c @@ -74,6 +74,7 @@ f_pOpenChip Pointer to chip configuration struct. f_pInstSizes Pointer to struct containing instance sizes. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100ApiGetMemorySwSizes UINT32 Oct6100ApiGetMemorySwSizes( IN tPOCT6100_CHIP_OPEN f_pOpenChip, OUT tPOCT6100_API_INSTANCE_SIZES f_pInstSizes ) @@ -106,6 +107,7 @@ UINT32 Oct6100ApiGetMemorySwSizes( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -122,6 +124,7 @@ f_pApiInstance Pointer to API instance. This memory is used to keep the present state of the chip and all its resources. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100ApiMemorySwInit UINT32 Oct6100ApiMemorySwInit( IN OUT tPOCT6100_INSTANCE_API f_pApiInstance ) { @@ -157,6 +160,7 @@ UINT32 Oct6100ApiMemorySwInit( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -173,6 +177,7 @@ f_pApiInstance Pointer to API instance. This memory is used to keep the present state of the chip and all its resources. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100ApiBufferPlayoutMemorySwInit UINT32 Oct6100ApiBufferPlayoutMemorySwInit( IN OUT tPOCT6100_INSTANCE_API f_pApiInstance ) { @@ -246,6 +251,7 @@ UINT32 Oct6100ApiBufferPlayoutMemorySwInit( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -262,6 +268,7 @@ f_pApiInstance Pointer to API instance. This memory is used to keep f_pulNewNode The index of the node. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100ApiReserveBufferPlayoutMemoryNode UINT32 Oct6100ApiReserveBufferPlayoutMemoryNode( IN OUT tPOCT6100_INSTANCE_API f_pApiInstance, OUT PUINT32 f_pulNewNode ) @@ -298,6 +305,7 @@ UINT32 Oct6100ApiReserveBufferPlayoutMemoryNode( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -316,6 +324,7 @@ f_pApiInstance Pointer to API instance. This memory is used to keep f_ulOldNode The index of the node. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100ApiReleaseBufferPlayoutMemoryNode UINT32 Oct6100ApiReleaseBufferPlayoutMemoryNode( IN OUT tPOCT6100_INSTANCE_API f_pApiInstance, IN UINT32 f_ulOldNode ) @@ -344,6 +353,7 @@ UINT32 Oct6100ApiReleaseBufferPlayoutMemoryNode( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -363,6 +373,7 @@ f_ulSize Needed size. f_pulMallocAddress Alloc point. This memory can now be used. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100ApiReserveBufferPlayoutMemory UINT32 Oct6100ApiReserveBufferPlayoutMemory( IN OUT tPOCT6100_INSTANCE_API f_pApiInstance, IN UINT32 f_ulSize, @@ -482,6 +493,7 @@ UINT32 Oct6100ApiReserveBufferPlayoutMemory( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -501,6 +513,7 @@ f_pApiInstance Pointer to API instance. This memory is used to keep f_ulMallocAddress Alloc point. The memory at address will be freed. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100ApiReleaseBufferPlayoutMemory UINT32 Oct6100ApiReleaseBufferPlayoutMemory( IN OUT tPOCT6100_INSTANCE_API f_pApiInstance, IN UINT32 f_ulMallocAddress ) @@ -610,6 +623,7 @@ UINT32 Oct6100ApiReleaseBufferPlayoutMemory( return ulResult; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -627,6 +641,7 @@ f_pApiInstance Pointer to API instance. This memory is used to keep f_pusTsiMemIndex Resulting index reserved in the TSI chariot memory. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100ApiReserveTsiMemEntry UINT32 Oct6100ApiReserveTsiMemEntry( IN OUT tPOCT6100_INSTANCE_API f_pApiInstance, OUT PUINT16 f_pusTsiMemIndex ) @@ -674,6 +689,7 @@ UINT32 Oct6100ApiReserveTsiMemEntry( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -691,6 +707,7 @@ f_pApiInstance Pointer to API instance. This memory is used to keep f_usTsiMemIndex Index reserved in the TSI chariot memory. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100ApiReleaseTsiMemEntry UINT32 Oct6100ApiReleaseTsiMemEntry( IN OUT tPOCT6100_INSTANCE_API f_pApiInstance, IN UINT16 f_usTsiMemIndex ) @@ -723,6 +740,7 @@ UINT32 Oct6100ApiReleaseTsiMemEntry( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -741,6 +759,7 @@ f_pApiInstance Pointer to API instance. This memory is used to f_pusConversionMemIndex Resulting index reserved in the conversion memory. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100ApiReserveConversionMemEntry UINT32 Oct6100ApiReserveConversionMemEntry( IN OUT tPOCT6100_INSTANCE_API f_pApiInstance, OUT PUINT16 f_pusConversionMemIndex ) @@ -768,6 +787,7 @@ UINT32 Oct6100ApiReserveConversionMemEntry( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -786,6 +806,7 @@ f_pApiInstance Pointer to API instance. This memory is used to f_usConversionMemIndex Index reserved in the conversion chariot memory. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100ApiReleaseConversionMemEntry UINT32 Oct6100ApiReleaseConversionMemEntry( IN OUT tPOCT6100_INSTANCE_API f_pApiInstance, IN UINT16 f_usConversionMemIndex ) @@ -807,3 +828,4 @@ UINT32 Oct6100ApiReleaseConversionMemEntry( return cOCT6100_ERR_OK; } +#endif -- cgit v1.2.3