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_tsi_cnct.c | 34 ++++++++++++++++++++++ 1 file changed, 34 insertions(+) (limited to 'software/octdeviceapi/oct6100api/oct6100_api/oct6100_tsi_cnct.c') diff --git a/software/octdeviceapi/oct6100api/oct6100_api/oct6100_tsi_cnct.c b/software/octdeviceapi/oct6100api/oct6100_api/oct6100_tsi_cnct.c index 4b9e0e7..01f27f9 100644 --- a/software/octdeviceapi/oct6100api/oct6100_api/oct6100_tsi_cnct.c +++ b/software/octdeviceapi/oct6100api/oct6100_api/oct6100_tsi_cnct.c @@ -79,6 +79,7 @@ f_pApiInstance Pointer to API instance. This memory is used to keep the f_pTsiCnctOpen Pointer to TSI connection open structure. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100TsiCnctOpenDef UINT32 Oct6100TsiCnctOpenDef( tPOCT6100_TSI_CNCT_OPEN f_pTsiCnctOpen ) { @@ -91,7 +92,9 @@ UINT32 Oct6100TsiCnctOpenDef( return cOCT6100_ERR_OK; } +#endif +#if !SKIP_Oct6100TsiCnctOpen UINT32 Oct6100TsiCnctOpen( tPOCT6100_INSTANCE_API f_pApiInstance, tPOCT6100_TSI_CNCT_OPEN f_pTsiCnctOpen ) @@ -131,6 +134,7 @@ UINT32 Oct6100TsiCnctOpen( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -148,6 +152,7 @@ f_pApiInstance Pointer to API instance. This memory is used to keep the f_pTsiCnctClose Pointer to TSI connection close structure. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100TsiCnctCloseDef UINT32 Oct6100TsiCnctCloseDef( tPOCT6100_TSI_CNCT_CLOSE f_pTsiCnctClose ) { @@ -155,7 +160,9 @@ UINT32 Oct6100TsiCnctCloseDef( return cOCT6100_ERR_OK; } +#endif +#if !SKIP_Oct6100TsiCnctClose UINT32 Oct6100TsiCnctClose( tPOCT6100_INSTANCE_API f_pApiInstance, tPOCT6100_TSI_CNCT_CLOSE f_pTsiCnctClose ) @@ -195,6 +202,7 @@ UINT32 Oct6100TsiCnctClose( return cOCT6100_ERR_OK; } +#endif /**************************** PRIVATE FUNCTIONS ****************************/ @@ -213,6 +221,7 @@ f_pOpenChip Pointer to chip configuration struct. f_pInstSizes Pointer to struct containing instance sizes. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100ApiGetTsiCnctSwSizes UINT32 Oct6100ApiGetTsiCnctSwSizes( IN tPOCT6100_CHIP_OPEN f_pOpenChip, OUT tPOCT6100_API_INSTANCE_SIZES f_pInstSizes ) @@ -240,6 +249,7 @@ UINT32 Oct6100ApiGetTsiCnctSwSizes( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -256,6 +266,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_Oct6100ApiTsiCnctSwInit UINT32 Oct6100ApiTsiCnctSwInit( IN OUT tPOCT6100_INSTANCE_API f_pApiInstance ) { @@ -288,6 +299,7 @@ UINT32 Oct6100ApiTsiCnctSwInit( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -305,6 +317,7 @@ f_pApiInstance Pointer to API instance. This memory is used to keep the f_pTsiCnctOpen Pointer to a tOCT6100_TSI_CNCT_OPEN structure. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100TsiCnctOpenSer UINT32 Oct6100TsiCnctOpenSer( IN OUT tPOCT6100_INSTANCE_API f_pApiInstance, IN OUT tPOCT6100_TSI_CNCT_OPEN f_pTsiCnctOpen ) @@ -337,6 +350,7 @@ UINT32 Oct6100TsiCnctOpenSer( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -354,6 +368,7 @@ f_pApiInstance Pointer to API instance. This memory is used to keep the f_pTsiCnctOpen Pointer to TSI connection open configuration structure. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100ApiCheckTsiParams UINT32 Oct6100ApiCheckTsiParams( IN OUT tPOCT6100_INSTANCE_API f_pApiInstance, IN tPOCT6100_TSI_CNCT_OPEN f_pTsiCnctOpen ) @@ -413,6 +428,7 @@ UINT32 Oct6100ApiCheckTsiParams( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -434,6 +450,7 @@ f_pusInputTsstIndex TSST memory index of the input samples. f_pusOutputTsstIndex TSST memory index of the output samples. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100ApiReserveTsiResources UINT32 Oct6100ApiReserveTsiResources( IN OUT tPOCT6100_INSTANCE_API f_pApiInstance, IN tPOCT6100_TSI_CNCT_OPEN f_pTsiCnctOpen, @@ -526,6 +543,7 @@ UINT32 Oct6100ApiReserveTsiResources( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -547,6 +565,7 @@ f_usInputTsstIndex TSST memory index of the input samples. f_usOutputTsstIndex TSST memory index of the output samples. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100ApiWriteTsiStructs UINT32 Oct6100ApiWriteTsiStructs( IN OUT tPOCT6100_INSTANCE_API f_pApiInstance, IN tPOCT6100_TSI_CNCT_OPEN f_pTsiCnctOpen, @@ -589,6 +608,7 @@ UINT32 Oct6100ApiWriteTsiStructs( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -610,6 +630,7 @@ f_usInputTsstIndex TSST control memory index of the input TSST. f_usOutputTsstIndex TSST control memory index of the output TSST. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100ApiUpdateTsiEntry UINT32 Oct6100ApiUpdateTsiEntry( IN OUT tPOCT6100_INSTANCE_API f_pApiInstance, IN OUT tPOCT6100_TSI_CNCT_OPEN f_pTsiCnctOpen, @@ -650,6 +671,7 @@ UINT32 Oct6100ApiUpdateTsiEntry( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -667,6 +689,7 @@ f_pApiInstance Pointer to API instance. This memory is used to keep the f_pTsiCnctClose Pointer to TSI connection close structure. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100TsiCnctCloseSer UINT32 Oct6100TsiCnctCloseSer( IN OUT tPOCT6100_INSTANCE_API f_pApiInstance, IN OUT tPOCT6100_TSI_CNCT_CLOSE f_pTsiCnctClose ) @@ -697,6 +720,7 @@ UINT32 Oct6100TsiCnctCloseSer( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -720,6 +744,7 @@ f_pusInputTsstIndex Index of the input entry in the TSST control memory. f_pusOutputTsstIndex Index of the output entry in the TSST control memory. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100ApiAssertTsiParams UINT32 Oct6100ApiAssertTsiParams( IN OUT tPOCT6100_INSTANCE_API f_pApiInstance, IN tPOCT6100_TSI_CNCT_CLOSE f_pTsiCnctClose, @@ -767,6 +792,7 @@ UINT32 Oct6100ApiAssertTsiParams( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -785,6 +811,7 @@ f_usInputTsstIndex Index of the input entry in the TSST control memory. f_usOutputTsstIndex Index of the output entry in the TSST control memory. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100ApiInvalidateTsiStructs UINT32 Oct6100ApiInvalidateTsiStructs( IN OUT tPOCT6100_INSTANCE_API f_pApiInstance, IN UINT16 f_usInputTsstIndex, @@ -824,6 +851,7 @@ UINT32 Oct6100ApiInvalidateTsiStructs( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -841,6 +869,7 @@ f_pApiInstance Pointer to API instance. This memory is used to keep the f_usTsiChanIndex Index of the TSI connection in the API list. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100ApiReleaseTsiResources UINT32 Oct6100ApiReleaseTsiResources( IN OUT tPOCT6100_INSTANCE_API f_pApiInstance, IN UINT16 f_usTsiChanIndex, @@ -905,6 +934,7 @@ UINT32 Oct6100ApiReleaseTsiResources( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -922,6 +952,7 @@ f_pApiInstance Pointer to API instance. This memory is used to keep f_pusTsiChanIndex Resulting index reserved in the TSI channel list. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100ApiReserveTsiCnctEntry UINT32 Oct6100ApiReserveTsiCnctEntry( IN tPOCT6100_INSTANCE_API f_pApiInstance, OUT PUINT16 f_pusTsiChanIndex ) @@ -949,6 +980,7 @@ UINT32 Oct6100ApiReserveTsiCnctEntry( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -966,6 +998,7 @@ f_pApiInstance Pointer to API instance. This memory is used to keep f_usTsiChanIndex Index reserved in the TSI channel list. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100ApiReleaseTsiCnctEntry UINT32 Oct6100ApiReleaseTsiCnctEntry( IN OUT tPOCT6100_INSTANCE_API f_pApiInstance, IN UINT16 f_usTsiChanIndex ) @@ -987,3 +1020,4 @@ UINT32 Oct6100ApiReleaseTsiCnctEntry( return cOCT6100_ERR_OK; } +#endif -- cgit v1.2.3