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 --- software/apilib/bt/octapi_bt0.c | 38 +++++ software/apilib/largmath/octapi_largmath.c | 16 ++ software/apilib/llman/octapi_llman.c | 72 +++++++++ software/include/digium_unused.h | 1 + software/include/octdef.h | 3 + .../oct6100api/oct6100_api/oct6100_adpcm_chan.c | 35 +++- .../oct6100api/oct6100_api/oct6100_channel.c | 176 +++++++++++++++++++++ .../oct6100api/oct6100_api/oct6100_chip_open.c | 104 ++++++++++++ .../oct6100api/oct6100_api/oct6100_chip_stats.c | 12 ++ .../oct6100api/oct6100_api/oct6100_conf_bridge.c | 116 ++++++++++++++ .../oct6100api/oct6100_api/oct6100_debug.c | 12 ++ .../oct6100api/oct6100_api/oct6100_events.c | 20 +++ .../oct6100api/oct6100_api/oct6100_interrupts.c | 34 +++- .../oct6100api/oct6100_api/oct6100_memory.c | 22 +++ .../oct6100api/oct6100_api/oct6100_miscellaneous.c | 20 +++ .../oct6100api/oct6100_api/oct6100_mixer.c | 44 ++++++ .../oct6100api/oct6100_api/oct6100_phasing_tsst.c | 34 ++++ .../oct6100api/oct6100_api/oct6100_playout_buf.c | 77 ++++++++- .../oct6100api/oct6100_api/oct6100_remote_debug.c | 38 +++++ .../oct6100api/oct6100_api/oct6100_tlv.c | 8 + .../oct6100_api/oct6100_tone_detection.c | 26 +++ .../oct6100api/oct6100_api/oct6100_tsi_cnct.c | 34 ++++ .../oct6100api/oct6100_api/oct6100_tsst.c | 10 ++ .../oct6100api/oct6100_api/oct6100_user.c | 34 ++++ 24 files changed, 982 insertions(+), 4 deletions(-) create mode 100644 software/include/digium_unused.h diff --git a/software/apilib/bt/octapi_bt0.c b/software/apilib/bt/octapi_bt0.c index e7d2e39..950b435 100644 --- a/software/apilib/bt/octapi_bt0.c +++ b/software/apilib/bt/octapi_bt0.c @@ -33,6 +33,7 @@ $Octasic_Revision: 18 $ +#if !SKIP_OctApiBt0GetSize UINT32 OctApiBt0GetSize(UINT32 number_of_items,UINT32 key_size, UINT32 data_size, UINT32 * b_size) { if ((key_size % 4) != 0) return(OCTAPI_BT0_KEY_SIZE_NOT_MUTLIPLE_OF_UINT32); @@ -46,7 +47,9 @@ UINT32 OctApiBt0GetSize(UINT32 number_of_items,UINT32 key_size, UINT32 data_size return(GENERIC_OK); } +#endif +#if !SKIP_OctApiBt0Init UINT32 OctApiBt0Init(void ** b,UINT32 number_of_items,UINT32 key_size, UINT32 data_size) { UINT32 i; @@ -93,16 +96,20 @@ UINT32 OctApiBt0Init(void ** b,UINT32 number_of_items,UINT32 key_size, UINT32 da return(GENERIC_OK); } +#endif +#if !SKIP_OctApiBt0CorrectPointers void OctApiBt0CorrectPointers(OCTAPI_BT0 * bb) { bb->node = (OCTAPI_BT0_NODE *)(((BYTE *)bb) + sizeof(OCTAPI_BT0)); bb->key = (UINT32 *)(((BYTE *)bb->node) + (sizeof(OCTAPI_BT0_NODE) * bb->number_of_items)); bb->data = (UINT32 *)(((BYTE *)bb->key) + (sizeof(UINT32) * bb->number_of_items * bb->key_size)); } +#endif +#if !SKIP_OctApiBt0AddNode UINT32 OctApiBt0AddNode(void * b,void * key,void ** data) { OCTAPI_BT0 * bb; @@ -152,7 +159,9 @@ UINT32 OctApiBt0AddNode(void * b,void * key,void ** data) return(GENERIC_OK); } +#endif +#if !SKIP_OctApiBt0AddNode2 UINT32 OctApiBt0AddNode2(OCTAPI_BT0 * bb,OCTAPI_BT0_LINK * link,UINT32 * lkey,UINT32 new_node_number) { UINT32 result; @@ -209,8 +218,10 @@ UINT32 OctApiBt0AddNode2(OCTAPI_BT0 * bb,OCTAPI_BT0_LINK * link,UINT32 * lkey,UI return(GENERIC_OK); } } +#endif +#if !SKIP_OctApiBt0AddNode3 UINT32 OctApiBt0AddNode3(OCTAPI_BT0 * bb,OCTAPI_BT0_LINK * link,UINT32 * lkey,UINT32 *p_new_node_number) { UINT32 result; @@ -271,10 +282,12 @@ UINT32 OctApiBt0AddNode3(OCTAPI_BT0 * bb,OCTAPI_BT0_LINK * link,UINT32 * lkey,UI return(GENERIC_OK); } } +#endif /* state 0 -> first call to the function. 1 -> recursive call.*/ +#if !SKIP_OctApiBt0AddNode4 UINT32 OctApiBt0AddNode4(OCTAPI_BT0 * bb,OCTAPI_BT0_LINK * link,UINT32 * lkey,UINT32 *p_new_node_number, UINT32 *p_prev_node_number, UINT32 state ) { UINT32 result; @@ -373,7 +386,9 @@ UINT32 OctApiBt0AddNode4(OCTAPI_BT0 * bb,OCTAPI_BT0_LINK * link,UINT32 * lkey,UI return(GENERIC_OK); } } +#endif +#if !SKIP_OctApiBt0KeyCompare UINT32 OctApiBt0KeyCompare(OCTAPI_BT0 * bb,OCTAPI_BT0_LINK * link, UINT32 * lkey) { UINT32 * nkey; @@ -392,8 +407,10 @@ UINT32 OctApiBt0KeyCompare(OCTAPI_BT0 * bb,OCTAPI_BT0_LINK * link, UINT32 * lkey return(OCTAPI_BT0_LKEY_EQUAL); } +#endif +#if !SKIP_OctApiBt0UpdateLinkDepth void OctApiBt0UpdateLinkDepth(OCTAPI_BT0 * bb,OCTAPI_BT0_LINK * link) { OCTAPI_BT0_NODE * this_node; @@ -406,7 +423,9 @@ void OctApiBt0UpdateLinkDepth(OCTAPI_BT0 * bb,OCTAPI_BT0_LINK * link) else link->depth = this_node->l[1].depth + 1; } +#endif +#if !SKIP_OctApiBt0Rebalance void OctApiBt0Rebalance(OCTAPI_BT0 * bb,OCTAPI_BT0_LINK * root_link) { if (bb->node[root_link->node_number].l[0].depth > (bb->node[root_link->node_number].l[1].depth + 1)) /* Heavy to the left.*/ @@ -484,9 +503,11 @@ void OctApiBt0Rebalance(OCTAPI_BT0 * bb,OCTAPI_BT0_LINK * root_link) } } } +#endif /* This function does a rotation towards the outside of the tree*/ /* in order to keep the heavy branches towards the outside.*/ +#if !SKIP_OctApiBt0ExternalHeavy void OctApiBt0ExternalHeavy(OCTAPI_BT0 * bb,OCTAPI_BT0_LINK * root_link) { if (bb->node[root_link->node_number].l[1].depth > bb->node[root_link->node_number].l[0].depth) /* Exterior of tree is towards the left.*/ @@ -534,12 +555,14 @@ void OctApiBt0ExternalHeavy(OCTAPI_BT0 * bb,OCTAPI_BT0_LINK * root_link) OctApiBt0UpdateLinkDepth(bb,root_link); } } +#endif /* State:*/ /* 0 = seeking node to be removed.*/ /* 1 = node found, left branch taken.*/ /* 2 = node found, right branch taken.*/ +#if !SKIP_OctApiBt0RemoveNode2 UINT32 OctApiBt0RemoveNode2(OCTAPI_BT0 * bb,OCTAPI_BT0_LINK * link, UINT32 * lkey, OCTAPI_BT0_LINK * link_to_removed_node, UINT32 state, OCTAPI_BT0_LINK * volatile_grandparent_link) { UINT32 result; @@ -701,12 +724,14 @@ UINT32 OctApiBt0RemoveNode2(OCTAPI_BT0 * bb,OCTAPI_BT0_LINK * link, UINT32 * lke return(GENERIC_OK); } +#endif /* State:*/ /* 0 = seeking node to be removed.*/ /* 1 = node found, left branch taken.*/ /* 2 = node found, right branch taken.*/ +#if !SKIP_OctApiBt0RemoveNode3 UINT32 OctApiBt0RemoveNode3(OCTAPI_BT0 * bb,OCTAPI_BT0_LINK * link, UINT32 * lkey, OCTAPI_BT0_LINK * link_to_removed_node, UINT32 state, OCTAPI_BT0_LINK * volatile_grandparent_link, UINT32 *p_prev_node_number ) { UINT32 result; @@ -900,7 +925,9 @@ UINT32 OctApiBt0RemoveNode3(OCTAPI_BT0 * bb,OCTAPI_BT0_LINK * link, UINT32 * lke return(GENERIC_OK); } +#endif +#if !SKIP_OctApiBt0RemoveNode UINT32 OctApiBt0RemoveNode(void * b,void * key) { OCTAPI_BT0 * bb; @@ -920,7 +947,9 @@ UINT32 OctApiBt0RemoveNode(void * b,void * key) return(GENERIC_OK); } +#endif +#if !SKIP_OctApiBt0QueryNode2 UINT32 OctApiBt0QueryNode2(OCTAPI_BT0 * bb,OCTAPI_BT0_LINK * link,UINT32 * lkey,UINT32 * node_number) { UINT32 result; @@ -955,8 +984,10 @@ UINT32 OctApiBt0QueryNode2(OCTAPI_BT0 * bb,OCTAPI_BT0_LINK * link,UINT32 * lkey, return(GENERIC_OK); } +#endif +#if !SKIP_OctApiBt0QueryNode UINT32 OctApiBt0QueryNode(void * b,void * key,void ** data) { OCTAPI_BT0 * bb; @@ -981,7 +1012,9 @@ UINT32 OctApiBt0QueryNode(void * b,void * key,void ** data) return(GENERIC_OK); } +#endif +#if !SKIP_OctApiBt0GetFirstNode UINT32 OctApiBt0GetFirstNode(void * b,void ** key, void ** data) { OCTAPI_BT0 * bb; @@ -1018,7 +1051,9 @@ UINT32 OctApiBt0GetFirstNode(void * b,void ** key, void ** data) return(GENERIC_OK); } +#endif +#if !SKIP_OctApiBt0FindOrAddNode UINT32 OctApiBt0FindOrAddNode(void * b,void * key,void ** data, UINT32 *fnct_result) { OCTAPI_BT0 * bb; @@ -1092,8 +1127,10 @@ UINT32 OctApiBt0FindOrAddNode(void * b,void * key,void ** data, UINT32 *fnct_res return(GENERIC_OK); } +#endif +#if !SKIP_OctApiBt0AddNodeReportPrevNodeData UINT32 OctApiBt0AddNodeReportPrevNodeData(void * b,void * key,void ** data, void ** prev_data, PUINT32 fnct_result ) { OCTAPI_BT0 * bb; @@ -1176,4 +1213,5 @@ UINT32 OctApiBt0AddNodeReportPrevNodeData(void * b,void * key,void ** data, void return(GENERIC_OK); } +#endif diff --git a/software/apilib/largmath/octapi_largmath.c b/software/apilib/largmath/octapi_largmath.c index 87afab6..fa46284 100644 --- a/software/apilib/largmath/octapi_largmath.c +++ b/software/apilib/largmath/octapi_largmath.c @@ -52,6 +52,7 @@ $Octasic_Revision: 10 $ | zlen USHORT The length of array z, minus 1 (0 - 99). | \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_OctApiLmAdd UINT32 OctApiLmAdd(UINT32 * a,USHORT alen,UINT32 * b,USHORT blen,UINT32 * z, USHORT zlen) { USHORT i; @@ -85,6 +86,7 @@ UINT32 OctApiLmAdd(UINT32 * a,USHORT alen,UINT32 * b,USHORT blen,UINT32 * z, USH /* All is well.*/ return(GENERIC_OK); } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ | API UTILITIES @@ -109,6 +111,7 @@ UINT32 OctApiLmAdd(UINT32 * a,USHORT alen,UINT32 * b,USHORT blen,UINT32 * z, USH | (TRUE/FALSE). | \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_OctApiLmSubtract UINT32 OctApiLmSubtract(UINT32 * a,USHORT alen,UINT32 * bneg,USHORT blen,UINT32 * z,USHORT zlen,USHORT * neg) { USHORT i; @@ -154,6 +157,7 @@ UINT32 OctApiLmSubtract(UINT32 * a,USHORT alen,UINT32 * bneg,USHORT blen,UINT32 *neg = FALSE; return(GENERIC_OK); } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ | API UTILITIES @@ -173,6 +177,7 @@ UINT32 OctApiLmSubtract(UINT32 * a,USHORT alen,UINT32 * bneg,USHORT blen,UINT32 | *neg USHORT Result of compare. | \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_OctApiLmCompare UINT32 OctApiLmCompare(UINT32 * a,USHORT alen,UINT32 * bneg,USHORT blen,USHORT * neg) { USHORT i; @@ -212,6 +217,7 @@ UINT32 OctApiLmCompare(UINT32 * a,USHORT alen,UINT32 * bneg,USHORT blen,USHORT * *neg = FALSE; return(GENERIC_OK); } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ | API UTILITIES @@ -232,6 +238,7 @@ UINT32 OctApiLmCompare(UINT32 * a,USHORT alen,UINT32 * bneg,USHORT blen,USHORT * | *z UINT32 The array containing the resulting number. | \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_OctApiLmMultiply UINT32 OctApiLmMultiply(UINT32 * a,UINT32 * b,USHORT ablen,UINT32 * z) { USHORT i,j,k; @@ -367,6 +374,7 @@ UINT32 OctApiLmMultiply(UINT32 * a,UINT32 * b,USHORT ablen,UINT32 * z) return(GENERIC_OK); } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -389,6 +397,7 @@ UINT32 OctApiLmMultiply(UINT32 * a,UINT32 * b,USHORT ablen,UINT32 * z) | *z UINT32 The array containing the resulting number. | \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_OctApiLmDivide UINT32 OctApiLmDivide(UINT32 * n,UINT32 * d,UINT32 * q,UINT32 * r,USHORT ndqrlen) { /* Proceedure for division:*/ @@ -476,6 +485,7 @@ UINT32 OctApiLmDivide(UINT32 * n,UINT32 * d,UINT32 * q,UINT32 * r,USHORT ndqrlen return(GENERIC_OK); } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -491,6 +501,7 @@ UINT32 OctApiLmDivide(UINT32 * n,UINT32 * d,UINT32 * q,UINT32 * r,USHORT ndqrlen | N/A. | \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_OctApiLmShiftRight1 UINT32 OctApiLmShiftRight1(UINT32 * a,USHORT alen) { UINT32 i; @@ -509,6 +520,7 @@ UINT32 OctApiLmShiftRight1(UINT32 * a,USHORT alen) return(GENERIC_OK); } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ | API UTILITIES @@ -523,6 +535,7 @@ UINT32 OctApiLmShiftRight1(UINT32 * a,USHORT alen) | N/A. | \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_OctApiLmShiftn UINT32 OctApiLmShiftn(UINT32 * a,USHORT alen,USHORT shiftleft,USHORT shiftn) { UINT32 i; @@ -566,6 +579,7 @@ UINT32 OctApiLmShiftn(UINT32 * a,USHORT alen,USHORT shiftleft,USHORT shiftn) return(GENERIC_OK); } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -581,6 +595,7 @@ UINT32 OctApiLmShiftn(UINT32 * a,USHORT alen,USHORT shiftleft,USHORT shiftn) | N/A. | \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_OctApiLmGetMsb UINT32 OctApiLmGetMsb(UINT32 * a,USHORT alen,USHORT * msb_pos) { UINT32 i,j; @@ -610,3 +625,4 @@ UINT32 OctApiLmGetMsb(UINT32 * a,USHORT alen,USHORT * msb_pos) return(GENERIC_OK); } +#endif diff --git a/software/apilib/llman/octapi_llman.c b/software/apilib/llman/octapi_llman.c index 6b4ce81..1ce90d6 100644 --- a/software/apilib/llman/octapi_llman.c +++ b/software/apilib/llman/octapi_llman.c @@ -50,6 +50,7 @@ $Octasic_Revision: 22 $ | *l_size UINT32 UINT32 The amount of memory needed, returned. | \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_OctapiLlmAllocGetSize UINT32 OctapiLlmAllocGetSize(UINT32 number_of_items,UINT32 * l_size) { if (number_of_items == 0) return(GENERIC_BAD_PARAM); @@ -58,6 +59,7 @@ UINT32 OctapiLlmAllocGetSize(UINT32 number_of_items,UINT32 * l_size) return(GENERIC_OK); } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ | API UTILITIES @@ -73,6 +75,7 @@ UINT32 OctapiLlmAllocGetSize(UINT32 number_of_items,UINT32 * l_size) | number_of_items UINT32 The number of resources to be allocated. | \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_OctapiLlmAllocInit UINT32 OctapiLlmAllocInit(void ** l,UINT32 number_of_items) { LLM_ALLOC* ls; @@ -106,6 +109,7 @@ UINT32 OctapiLlmAllocInit(void ** l,UINT32 number_of_items) return(GENERIC_OK); } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ | API UTILITIES @@ -123,6 +127,7 @@ UINT32 OctapiLlmAllocInit(void ** l,UINT32 number_of_items) | *available_items UINT32 Number of available items. | \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_OctapiLlmAllocInfo UINT32 OctapiLlmAllocInfo(void * l,UINT32 * allocated_items,UINT32 * available_items) { LLM_ALLOC* ls; @@ -135,6 +140,7 @@ UINT32 OctapiLlmAllocInfo(void * l,UINT32 * allocated_items,UINT32 * available_i *available_items = ls->number_of_items - ls->allocated_items; return(GENERIC_OK); } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ | API UTILITIES @@ -152,6 +158,7 @@ UINT32 OctapiLlmAllocInfo(void * l,UINT32 * allocated_items,UINT32 * available_i | *block_num UINT32 The resource to be allocated. | \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_OctapiLlmAllocAlloc UINT32 OctapiLlmAllocAlloc(void * l,UINT32 * blocknum) { LLM_ALLOC* ls; @@ -190,6 +197,7 @@ UINT32 OctapiLlmAllocAlloc(void * l,UINT32 * blocknum) return(GENERIC_OK); } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ | API UTILITIES @@ -207,6 +215,7 @@ UINT32 OctapiLlmAllocAlloc(void * l,UINT32 * blocknum) | block_num UINT32 The resource to be deallocated. | \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_OctapiLlmAllocDealloc UINT32 OctapiLlmAllocDealloc(void * l,UINT32 blocknum) { LLM_ALLOC* ls; @@ -238,6 +247,7 @@ UINT32 OctapiLlmAllocDealloc(void * l,UINT32 blocknum) return(GENERIC_OK); } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -258,6 +268,7 @@ UINT32 OctapiLlmAllocDealloc(void * l,UINT32 blocknum) | *l_size UINT32 UINT32 The amount of memory needed, returned. | \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_OctApiTllmAllocGetSize UINT32 OctApiTllmAllocGetSize(UINT32 number_of_items,UINT32 * l_size) { if (number_of_items == 0) return(GENERIC_BAD_PARAM); @@ -266,6 +277,7 @@ UINT32 OctApiTllmAllocGetSize(UINT32 number_of_items,UINT32 * l_size) return(GENERIC_OK); } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ | API UTILITIES @@ -281,6 +293,7 @@ UINT32 OctApiTllmAllocGetSize(UINT32 number_of_items,UINT32 * l_size) | number_of_items UINT32 The number of resources to be allocated. | \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_OctApiTllmAllocInit UINT32 OctApiTllmAllocInit(void ** l,UINT32 number_of_items) { TLLM_ALLOC* ls; @@ -325,6 +338,7 @@ UINT32 OctApiTllmAllocInit(void ** l,UINT32 number_of_items) return(GENERIC_OK); } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ | API UTILITIES @@ -342,6 +356,7 @@ UINT32 OctApiTllmAllocInit(void ** l,UINT32 number_of_items) | *available_items UINT32 Number of available items. | \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_OctApiTllmAllocInfo UINT32 OctApiTllmAllocInfo(void * l,UINT32 * allocated_items,UINT32 * available_items) { TLLM_ALLOC* ls; @@ -353,6 +368,7 @@ UINT32 OctApiTllmAllocInfo(void * l,UINT32 * allocated_items,UINT32 * available_ return(GENERIC_OK); } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ | API UTILITIES @@ -371,6 +387,7 @@ UINT32 OctApiTllmAllocInfo(void * l,UINT32 * allocated_items,UINT32 * available_ | *current_time UINT32 | \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_OctApiTllmAllocAlloc UINT32 OctApiTllmAllocAlloc(void * l,UINT32 * blocknum, UINT32 *current_time) { TLLM_ALLOC* ls; @@ -418,6 +435,7 @@ UINT32 OctApiTllmAllocAlloc(void * l,UINT32 * blocknum, UINT32 *current_time) return(GENERIC_OK); } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ | API UTILITIES @@ -435,6 +453,7 @@ UINT32 OctApiTllmAllocAlloc(void * l,UINT32 * blocknum, UINT32 *current_time) | block_num UINT32 The resource to be deallocated. | \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_OctApiTllmAllocDealloc UINT32 OctApiTllmAllocDealloc(void * l,UINT32 blocknum, UINT32 timeout_value, UINT32 current_time[2]) { TLLM_ALLOC* ls; @@ -490,6 +509,7 @@ UINT32 OctApiTllmAllocDealloc(void * l,UINT32 blocknum, UINT32 timeout_value, UI return(GENERIC_OK); } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ | API UTILITIES @@ -508,6 +528,7 @@ UINT32 OctApiTllmAllocDealloc(void * l,UINT32 blocknum, UINT32 timeout_value, UI | current_time UINT32[2] The current time in msec. | \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_OctApiTllmCheckTimeoutList UINT32 OctApiTllmCheckTimeoutList(TLLM_ALLOC *ls, UINT32 current_time[2]) { UINT32 result; @@ -569,6 +590,7 @@ UINT32 OctApiTllmCheckTimeoutList(TLLM_ALLOC *ls, UINT32 current_time[2]) return(GENERIC_OK); } +#endif /**************************************** llm_alloc section **********************************************/ @@ -598,6 +620,7 @@ UINT32 OctApiTllmCheckTimeoutList(TLLM_ALLOC *ls, UINT32 current_time[2]) | *l_size UINT32 UINT32 The amount of memory needed, returned. | \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_OctApiLlmListGetSize UINT32 OctApiLlmListGetSize(UINT32 number_of_items,UINT32 number_of_lists,UINT32 user_info_size,UINT32 * l_size) { UINT32 head_alloc_size; @@ -617,11 +640,14 @@ UINT32 OctApiLlmListGetSize(UINT32 number_of_items,UINT32 number_of_lists,UINT32 return(GENERIC_OK); } +#endif +#if !SKIP_OctApiLlmListGetItemPointer LLM_LIST_ITEM * OctApiLlmListGetItemPointer(LLM_LIST * ls, UINT32 item_number) { return (LLM_LIST_ITEM *) (((BYTE *)ls->li) + (ls->item_size * item_number)) ; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -641,6 +667,7 @@ LLM_LIST_ITEM * OctApiLlmListGetItemPointer(LLM_LIST * ls, UINT32 item_number) | can be allocated. | \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_OctApiLlmListInit UINT32 OctApiLlmListInit(void ** l,UINT32 number_of_items,UINT32 number_of_lists,UINT32 user_info_size) { LLM_LIST* ls; @@ -711,6 +738,7 @@ UINT32 OctApiLlmListInit(void ** l,UINT32 number_of_items,UINT32 number_of_lists return(GENERIC_OK); } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ | API UTILITIES @@ -729,6 +757,7 @@ UINT32 OctApiLlmListInit(void ** l,UINT32 number_of_items,UINT32 number_of_lists | *free_items UINT32 The number of items still free. | \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_OctApiLlmListInfo UINT32 OctApiLlmListInfo(void * l,UINT32 * allocated_lists,UINT32 * allocated_items, UINT32 * free_lists,UINT32 * free_items) { @@ -753,6 +782,7 @@ UINT32 OctApiLlmListInfo(void * l,UINT32 * allocated_lists,UINT32 * allocated_it return(GENERIC_OK); } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ | API UTILITIES @@ -771,6 +801,7 @@ UINT32 OctApiLlmListInfo(void * l,UINT32 * allocated_lists,UINT32 * allocated_it | *list_handle UINT32 The handle to the new list, returned. | \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_OctApiLlmListCreate UINT32 OctApiLlmListCreate(void * l,UINT32 * list_handle) { LLM_LIST* ls; @@ -808,6 +839,7 @@ UINT32 OctApiLlmListCreate(void * l,UINT32 * list_handle) return(GENERIC_OK); } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ | API UTILITIES @@ -825,6 +857,7 @@ UINT32 OctApiLlmListCreate(void * l,UINT32 * list_handle) | *list_handle UINT32 The handle to the list. | \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_OctApiLlmListDelete UINT32 OctApiLlmListDelete(void * l,UINT32 list_handle) { LLM_LIST* ls; @@ -877,6 +910,7 @@ UINT32 OctApiLlmListDelete(void * l,UINT32 list_handle) return(GENERIC_OK); } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ | API UTILITIES @@ -894,6 +928,7 @@ UINT32 OctApiLlmListDelete(void * l,UINT32 list_handle) | *number_of_items UINT32 The number of items in the list, returned. | \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_OctApiLlmListLength UINT32 OctApiLlmListLength(void * l,UINT32 list_handle, UINT32 * number_of_items_in_list) { LLM_LIST* ls; @@ -919,6 +954,7 @@ UINT32 OctApiLlmListLength(void * l,UINT32 list_handle, UINT32 * number_of_items return(GENERIC_OK); } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ | API UTILITIES @@ -937,6 +973,7 @@ UINT32 OctApiLlmListLength(void * l,UINT32 list_handle, UINT32 * number_of_items | **item_data_pnt void The pointer to the user data, returned. | \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_OctApiLlmListItemData UINT32 OctApiLlmListItemData(void * l,UINT32 list_handle,UINT32 item_number,void ** item_data_pnt) { LLM_LIST* ls; @@ -1013,6 +1050,7 @@ UINT32 OctApiLlmListItemData(void * l,UINT32 list_handle,UINT32 item_number,void return(GENERIC_OK); } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ | API UTILITIES @@ -1033,6 +1071,7 @@ UINT32 OctApiLlmListItemData(void * l,UINT32 list_handle,UINT32 item_number,void | **item_data void Address of the user data space for this item. | \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_OctApiLlmListInsertItem UINT32 OctApiLlmListInsertItem(void * l,UINT32 list_handle,UINT32 item_number,void ** item_data_pnt) { LLM_LIST* ls; @@ -1151,6 +1190,7 @@ UINT32 OctApiLlmListInsertItem(void * l,UINT32 list_handle,UINT32 item_number,vo return(GENERIC_OK); } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ | API UTILITIES @@ -1171,6 +1211,7 @@ UINT32 OctApiLlmListInsertItem(void * l,UINT32 list_handle,UINT32 item_number,vo | *list_handle UINT32 The handle to the list. | **item_data void Address of the user data space for this item. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_OctApiLlmListCreateFull UINT32 OctApiLlmListCreateFull(void* l, UINT32 list_length, UINT32* plist_handle) { LLM_LIST* ls; @@ -1284,6 +1325,7 @@ UINT32 OctApiLlmListCreateFull(void* l, UINT32 list_length, UINT32* plist_handle return(GENERIC_OK); } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ | API UTILITIES @@ -1304,6 +1346,7 @@ UINT32 OctApiLlmListCreateFull(void* l, UINT32 list_length, UINT32* plist_handle | *list_handle UINT32 The handle to the list. | **item_data void Address of the user data space for this item. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_OctApiLlmListAppendItems UINT32 OctApiLlmListAppendItems(void* l, UINT32 list_handle, UINT32 num_items) { LLM_LIST* ls; @@ -1438,6 +1481,7 @@ UINT32 OctApiLlmListAppendItems(void* l, UINT32 list_handle, UINT32 num_items) return(GENERIC_OK); } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ | API UTILITIES @@ -1450,6 +1494,7 @@ UINT32 OctApiLlmListAppendItems(void* l, UINT32 list_handle, UINT32 num_items) | | Variable | Type | Description | ----------------------------------------------------------------------- \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_OctApiLlmListAppendAndSetItems UINT32 OctApiLlmListAppendAndSetItems(void* l, UINT32 list_handle, UINT32 num_items, void* data_list) { LLM_LIST* ls; @@ -1595,6 +1640,7 @@ UINT32 OctApiLlmListAppendAndSetItems(void* l, UINT32 list_handle, UINT32 num_it return(GENERIC_OK); } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ | API UTILITIES @@ -1612,6 +1658,7 @@ UINT32 OctApiLlmListAppendAndSetItems(void* l, UINT32 list_handle, UINT32 num_it | | Variable | Type | Description | ----------------------------------------------------------------------- \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_OctApiLlmListSetItems UINT32 OctApiLlmListSetItems(void* l, UINT32 list_handle, UINT32 start_item, UINT32 data_length, void* pdata_list) { LLM_LIST* ls; @@ -1703,6 +1750,7 @@ UINT32 OctApiLlmListSetItems(void* l, UINT32 list_handle, UINT32 start_item, UIN return(GENERIC_OK); } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ | API UTILITIES @@ -1721,6 +1769,7 @@ UINT32 OctApiLlmListSetItems(void* l, UINT32 list_handle, UINT32 start_item, UIN | | Variable | Type | Description | ----------------------------------------------------------------------- \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_OctApiLlmListCopyData UINT32 OctApiLlmListCopyData(void* l, UINT32 list_handle, UINT32 start_item, UINT32 data_length, void* pdata_list) { LLM_LIST* ls; @@ -1811,6 +1860,7 @@ UINT32 OctApiLlmListCopyData(void* l, UINT32 list_handle, UINT32 start_item, UIN return(GENERIC_OK); } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ | API UTILITIES @@ -1828,6 +1878,7 @@ UINT32 OctApiLlmListCopyData(void* l, UINT32 list_handle, UINT32 start_item, UIN | item_number UINT32 The number of the item to be removed. | \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_OctApiLlmListRemoveItem UINT32 OctApiLlmListRemoveItem(void * l,UINT32 list_handle,UINT32 item_number) { LLM_LIST* ls; @@ -1948,6 +1999,7 @@ UINT32 OctApiLlmListRemoveItem(void * l,UINT32 list_handle,UINT32 item_number) return(GENERIC_OK); } +#endif /**************************************** llm2 function section *****************************************/ @@ -1972,6 +2024,7 @@ UINT32 OctApiLlmListRemoveItem(void * l,UINT32 list_handle,UINT32 item_number) | *l_size UINT32 UINT32 The amount of memory needed, returned. | \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_OctApiLlm2ListGetSize UINT32 OctApiLlm2ListGetSize(UINT32 number_of_items,UINT32 number_of_lists,UINT32 user_info_size,UINT32 * l_size) { UINT32 head_alloc_size; @@ -1991,11 +2044,14 @@ UINT32 OctApiLlm2ListGetSize(UINT32 number_of_items,UINT32 number_of_lists,UINT3 return(GENERIC_OK); } +#endif +#if !SKIP_OctApiLlm2ListGetItemPointer LLM2_LIST_ITEM * OctApiLlm2ListGetItemPointer(LLM2_LIST * ls, UINT32 item_number) { return (LLM2_LIST_ITEM *) (((BYTE *)ls->li) + (ls->item_size * item_number)) ; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -2015,6 +2071,7 @@ LLM2_LIST_ITEM * OctApiLlm2ListGetItemPointer(LLM2_LIST * ls, UINT32 item_number | can be allocated. | \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_OctApiLlm2ListInit UINT32 OctApiLlm2ListInit(void ** l,UINT32 number_of_items,UINT32 number_of_lists,UINT32 user_info_size) { LLM2_LIST* ls; @@ -2085,6 +2142,7 @@ UINT32 OctApiLlm2ListInit(void ** l,UINT32 number_of_items,UINT32 number_of_list return(GENERIC_OK); } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -2104,6 +2162,7 @@ UINT32 OctApiLlm2ListInit(void ** l,UINT32 number_of_items,UINT32 number_of_list | *list_handle UINT32 The handle to the new list, returned. | \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_OctApiLlm2ListCreate UINT32 OctApiLlm2ListCreate(void * l,UINT32 * list_handle) { LLM2_LIST* ls; @@ -2139,6 +2198,7 @@ UINT32 OctApiLlm2ListCreate(void * l,UINT32 * list_handle) return(GENERIC_OK); } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ | API UTILITIES @@ -2156,6 +2216,7 @@ UINT32 OctApiLlm2ListCreate(void * l,UINT32 * list_handle) | *list_handle UINT32 The handle to the list. | \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_OctApiLlm2ListDelete UINT32 OctApiLlm2ListDelete(void * l,UINT32 list_handle) { LLM2_LIST* ls; @@ -2206,6 +2267,7 @@ UINT32 OctApiLlm2ListDelete(void * l,UINT32 list_handle) return(GENERIC_OK); } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ | API UTILITIES @@ -2223,6 +2285,7 @@ UINT32 OctApiLlm2ListDelete(void * l,UINT32 list_handle) | *number_of_items UINT32 The number of items in the list, returned. | \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_OctApiLlm2ListLength UINT32 OctApiLlm2ListLength(void * l,UINT32 list_handle, UINT32 * number_of_items_in_list) { LLM2_LIST* ls; @@ -2248,6 +2311,7 @@ UINT32 OctApiLlm2ListLength(void * l,UINT32 list_handle, UINT32 * number_of_item return(GENERIC_OK); } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ | API UTILITIES @@ -2266,6 +2330,7 @@ UINT32 OctApiLlm2ListLength(void * l,UINT32 list_handle, UINT32 * number_of_item | **item_data_pnt void The pointer to the user data, returned. | \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_OctApiLlm2ListItemData UINT32 OctApiLlm2ListItemData(void * l,UINT32 list_handle,UINT32 item_key,void ** item_data_pnt, PUINT32 item_number_pnt) { LLM2_LIST* ls; @@ -2327,6 +2392,7 @@ UINT32 OctApiLlm2ListItemData(void * l,UINT32 list_handle,UINT32 item_key,void * return(GENERIC_OK); } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ | API UTILITIES @@ -2347,6 +2413,7 @@ UINT32 OctApiLlm2ListItemData(void * l,UINT32 list_handle,UINT32 item_key,void * | **prev_item_data void Address of the user data space for the previous item. | \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_OctApiLlm2ListInsertItem 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 ) { LLM2_LIST* ls; @@ -2492,6 +2559,7 @@ UINT32 OctApiLlm2ListInsertItem(void * l,UINT32 list_handle,UINT32 item_key,void return(GENERIC_OK); } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ | API UTILITIES @@ -2509,6 +2577,7 @@ UINT32 OctApiLlm2ListInsertItem(void * l,UINT32 list_handle,UINT32 item_key,void | item_key UINT32 The key of the item to be removed. | \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_OctApiLlm2ListRemoveItem 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 ) { LLM2_LIST* ls; @@ -2644,6 +2713,7 @@ UINT32 OctApiLlm2ListRemoveItem(void * l,UINT32 list_handle,UINT32 item_key, PUI return(GENERIC_OK); } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ | API UTILITIES @@ -2660,6 +2730,7 @@ UINT32 OctApiLlm2ListRemoveItem(void * l,UINT32 list_handle,UINT32 item_key, PUI | f_ulSize UINT32 The number of bytes to copy. | \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_* OctApiLlmMemCpy VOID * OctApiLlmMemCpy( VOID *f_pvDestination, const VOID * f_pvSource, UINT32 f_ulSize ) { CHAR * pbyDst; @@ -2710,6 +2781,7 @@ VOID * OctApiLlmMemCpy( VOID *f_pvDestination, const VOID * f_pvSource, UINT32 f return f_pvDestination; } +#endif /**************************************** llm_list section **********************************************/ diff --git a/software/include/digium_unused.h b/software/include/digium_unused.h new file mode 100644 index 0000000..27560a8 --- /dev/null +++ b/software/include/digium_unused.h @@ -0,0 +1 @@ +/* Define macros here to suppress functions from the API being built */ diff --git a/software/include/octdef.h b/software/include/octdef.h index e1bf0ba..ef9e18c 100644 --- a/software/include/octdef.h +++ b/software/include/octdef.h @@ -54,6 +54,9 @@ extern "C" { /***************************** DEFINES *************************************/ +/* List of functions to skip compiling since we don't use them */ +#include "digium_unused.h" + /*-------------------------------------------------------------------------- diff --git a/software/octdeviceapi/oct6100api/oct6100_api/oct6100_adpcm_chan.c b/software/octdeviceapi/oct6100api/oct6100_api/oct6100_adpcm_chan.c index 8430a2b..b059be0 100644 --- a/software/octdeviceapi/oct6100api/oct6100_api/oct6100_adpcm_chan.c +++ b/software/octdeviceapi/oct6100api/oct6100_api/oct6100_adpcm_chan.c @@ -80,6 +80,7 @@ f_pApiInstance Pointer to API instance. This memory is used to keep the f_pAdpcmChanOpen Pointer to ADPCM channel open structure. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100AdpcmChanOpenDef UINT32 Oct6100AdpcmChanOpenDef( tPOCT6100_ADPCM_CHAN_OPEN f_pAdpcmChanOpen ) { @@ -103,7 +104,9 @@ UINT32 Oct6100AdpcmChanOpenDef( return cOCT6100_ERR_OK; } +#endif +#if !SKIP_Oct6100AdpcmChanOpen UINT32 Oct6100AdpcmChanOpen( tPOCT6100_INSTANCE_API f_pApiInstance, tPOCT6100_ADPCM_CHAN_OPEN f_pAdpcmChanOpen ) @@ -143,6 +146,7 @@ UINT32 Oct6100AdpcmChanOpen( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -159,6 +163,7 @@ f_pApiInstance Pointer to API instance. This memory is used to keep the f_pAdpcmChanClose Pointer to ADPCM channel close structure. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100AdpcmChanCloseDef UINT32 Oct6100AdpcmChanCloseDef( tPOCT6100_ADPCM_CHAN_CLOSE f_pAdpcmChanClose ) { @@ -166,7 +171,9 @@ UINT32 Oct6100AdpcmChanCloseDef( return cOCT6100_ERR_OK; } +#endif +#if !SKIP_Oct6100AdpcmChanClose UINT32 Oct6100AdpcmChanClose( tPOCT6100_INSTANCE_API f_pApiInstance, tPOCT6100_ADPCM_CHAN_CLOSE f_pAdpcmChanClose ) @@ -206,6 +213,7 @@ UINT32 Oct6100AdpcmChanClose( return cOCT6100_ERR_OK; } +#endif /**************************** PRIVATE FUNCTIONS ****************************/ @@ -224,6 +232,7 @@ f_pOpenChip Pointer to chip configuration struct. f_pInstSizes Pointer to struct containing instance sizes. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100ApiGetAdpcmChanSwSizes UINT32 Oct6100ApiGetAdpcmChanSwSizes( IN tPOCT6100_CHIP_OPEN f_pOpenChip, OUT tPOCT6100_API_INSTANCE_SIZES f_pInstSizes ) @@ -251,6 +260,7 @@ UINT32 Oct6100ApiGetAdpcmChanSwSizes( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -267,6 +277,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_Oct6100ApiAdpcmChanSwInit UINT32 Oct6100ApiAdpcmChanSwInit( IN OUT tPOCT6100_INSTANCE_API f_pApiInstance ) { @@ -300,6 +311,7 @@ UINT32 Oct6100ApiAdpcmChanSwInit( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -317,6 +329,7 @@ f_pApiInstance Pointer to API instance. This memory is used to keep the f_pAdpcmChanOpen Pointer to an ADPCM channel open structure \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100AdpcmChanOpenSer UINT32 Oct6100AdpcmChanOpenSer( IN OUT tPOCT6100_INSTANCE_API f_pApiInstance, IN OUT tPOCT6100_ADPCM_CHAN_OPEN f_pAdpcmChanOpen ) @@ -350,6 +363,7 @@ UINT32 Oct6100AdpcmChanOpenSer( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -367,6 +381,7 @@ f_pApiInstance Pointer to API instance. This memory is used to keep the f_pAdpcmChanOpen Pointer to ADPCM channel open configuration structure. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100ApiCheckAdpcmChanParams UINT32 Oct6100ApiCheckAdpcmChanParams( IN OUT tPOCT6100_INSTANCE_API f_pApiInstance, IN tPOCT6100_ADPCM_CHAN_OPEN f_pAdpcmChanOpen ) @@ -497,6 +512,7 @@ UINT32 Oct6100ApiCheckAdpcmChanParams( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -519,6 +535,7 @@ f_pusInputTsstIndex TSST memory index of the input samples. f_pusOutputTsstIndex TSST memory index of the output samples. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100ApiReserveAdpcmChanResources UINT32 Oct6100ApiReserveAdpcmChanResources( IN OUT tPOCT6100_INSTANCE_API f_pApiInstance, IN tPOCT6100_ADPCM_CHAN_OPEN f_pAdpcmChanOpen, @@ -627,6 +644,7 @@ UINT32 Oct6100ApiReserveAdpcmChanResources( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -650,6 +668,7 @@ f_pusInputTsstIndex TSST memory index of the input samples. f_pusOutputTsstIndex TSST memory index of the output samples. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100ApiWriteAdpcmChanStructs UINT32 Oct6100ApiWriteAdpcmChanStructs( IN OUT tPOCT6100_INSTANCE_API f_pApiInstance, IN tPOCT6100_ADPCM_CHAN_OPEN f_pAdpcmChanOpen, @@ -767,6 +786,7 @@ UINT32 Oct6100ApiWriteAdpcmChanStructs( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -789,6 +809,7 @@ f_usInputTsstIndex TSST control memory index of the input TSST. f_usOutputTsstIndex TSST control memory index of the output TSST. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100ApiUpdateAdpcmChanEntry UINT32 Oct6100ApiUpdateAdpcmChanEntry( IN OUT tPOCT6100_INSTANCE_API f_pApiInstance, IN OUT tPOCT6100_ADPCM_CHAN_OPEN f_pAdpcmChanOpen, @@ -835,6 +856,7 @@ UINT32 Oct6100ApiUpdateAdpcmChanEntry( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -852,6 +874,7 @@ f_pApiInstance Pointer to API instance. This memory is used to keep the f_pAdpcmChanClose Pointer to ADPCM channel close structure. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100AdpcmChanCloseSer UINT32 Oct6100AdpcmChanCloseSer( IN OUT tPOCT6100_INSTANCE_API f_pApiInstance, IN OUT tPOCT6100_ADPCM_CHAN_CLOSE f_pAdpcmChanClose ) @@ -883,6 +906,7 @@ UINT32 Oct6100AdpcmChanCloseSer( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -906,6 +930,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_Oct6100ApiAssertAdpcmChanParams UINT32 Oct6100ApiAssertAdpcmChanParams( IN OUT tPOCT6100_INSTANCE_API f_pApiInstance, IN tPOCT6100_ADPCM_CHAN_CLOSE f_pAdpcmChanClose, @@ -955,6 +980,7 @@ UINT32 Oct6100ApiAssertAdpcmChanParams( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -974,6 +1000,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_Oct6100ApiInvalidateAdpcmChanStructs UINT32 Oct6100ApiInvalidateAdpcmChanStructs( IN OUT tPOCT6100_INSTANCE_API f_pApiInstance, IN UINT16 f_usAdpcmMemIndex, @@ -1024,6 +1051,7 @@ UINT32 Oct6100ApiInvalidateAdpcmChanStructs( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -1042,6 +1070,7 @@ f_usAdpcmMemIndex Index of the ADPCM memory used. f_usTsiMemIndex Index of the TSI memory used. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100ApiReleaseAdpcmChanResources UINT32 Oct6100ApiReleaseAdpcmChanResources( IN OUT tPOCT6100_INSTANCE_API f_pApiInstance, IN UINT16 f_usAdpcmChanIndex, @@ -1119,6 +1148,7 @@ UINT32 Oct6100ApiReleaseAdpcmChanResources( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -1136,6 +1166,7 @@ f_pApiInstance Pointer to API instance. This memory is used to keep f_pusAdpcmChanIndex Resulting index reserved in the ADPCM channel list. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100ApiReserveAdpcmChanEntry UINT32 Oct6100ApiReserveAdpcmChanEntry( IN OUT tPOCT6100_INSTANCE_API f_pApiInstance, OUT PUINT16 f_pusAdpcmChanIndex ) @@ -1163,6 +1194,7 @@ UINT32 Oct6100ApiReserveAdpcmChanEntry( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -1180,6 +1212,7 @@ f_pApiInstance Pointer to API instance. This memory is used to keep f_usAdpcmChanIndex Index reserved in the ADPCM channel list. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100ApiReleaseAdpcmChanEntry UINT32 Oct6100ApiReleaseAdpcmChanEntry( IN OUT tPOCT6100_INSTANCE_API f_pApiInstance, IN UINT16 f_usAdpcmChanIndex ) @@ -1201,4 +1234,4 @@ UINT32 Oct6100ApiReleaseAdpcmChanEntry( return cOCT6100_ERR_OK; } - +#endif diff --git a/software/octdeviceapi/oct6100api/oct6100_api/oct6100_channel.c b/software/octdeviceapi/oct6100api/oct6100_api/oct6100_channel.c index 93fb151..f1bb058 100644 --- a/software/octdeviceapi/oct6100api/oct6100_api/oct6100_channel.c +++ b/software/octdeviceapi/oct6100api/oct6100_api/oct6100_channel.c @@ -101,6 +101,7 @@ f_pApiInstance Pointer to API instance. This memory is used to keep the f_pChannelOpen Pointer to echo channel open structure. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100ChannelOpenDef UINT32 Oct6100ChannelOpenDef( IN OUT tPOCT6100_CHANNEL_OPEN f_pChannelOpen ) { @@ -193,7 +194,9 @@ UINT32 Oct6100ChannelOpenDef( return cOCT6100_ERR_OK; } +#endif +#if !SKIP_Oct6100ChannelOpen UINT32 Oct6100ChannelOpen( IN tPOCT6100_INSTANCE_API f_pApiInstance, IN OUT tPOCT6100_CHANNEL_OPEN f_pChannelOpen ) @@ -233,6 +236,7 @@ UINT32 Oct6100ChannelOpen( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -250,6 +254,7 @@ f_pApiInstance Pointer to API instance. This memory is used to keep the f_pChannelClose Pointer to channel close structure. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100ChannelCloseDef UINT32 Oct6100ChannelCloseDef( IN OUT tPOCT6100_CHANNEL_CLOSE f_pChannelClose ) { @@ -257,7 +262,9 @@ UINT32 Oct6100ChannelCloseDef( return cOCT6100_ERR_OK; } +#endif +#if !SKIP_Oct6100ChannelClose UINT32 Oct6100ChannelClose( IN tPOCT6100_INSTANCE_API f_pApiInstance, IN tPOCT6100_CHANNEL_CLOSE f_pChannelClose ) @@ -298,6 +305,7 @@ UINT32 Oct6100ChannelClose( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -317,6 +325,7 @@ f_pApiInstance Pointer to API instance. This memory is used to keep the f_pChannelModify Pointer to echo channel change structure. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100ChannelModifyDef UINT32 Oct6100ChannelModifyDef( IN OUT tPOCT6100_CHANNEL_MODIFY f_pChannelModify ) { @@ -416,7 +425,9 @@ UINT32 Oct6100ChannelModifyDef( return cOCT6100_ERR_OK; } +#endif +#if !SKIP_Oct6100ChannelModify UINT32 Oct6100ChannelModify( IN tPOCT6100_INSTANCE_API f_pApiInstance, IN OUT tPOCT6100_CHANNEL_MODIFY f_pChannelModify ) @@ -488,6 +499,7 @@ UINT32 Oct6100ChannelModify( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -506,6 +518,7 @@ f_pApiInstance Pointer to API instance. This memory is used to keep the f_pChannelCreateBiDir Pointer to channel create BiDir structure. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100ChannelCreateBiDirDef UINT32 Oct6100ChannelCreateBiDirDef( IN OUT tPOCT6100_CHANNEL_CREATE_BIDIR f_pChannelCreateBiDir ) { @@ -517,7 +530,9 @@ UINT32 Oct6100ChannelCreateBiDirDef( return cOCT6100_ERR_OK; } +#endif +#if !SKIP_Oct6100ChannelCreateBiDir UINT32 Oct6100ChannelCreateBiDir( IN tPOCT6100_INSTANCE_API f_pApiInstance, IN OUT tPOCT6100_CHANNEL_CREATE_BIDIR f_pChannelCreateBiDir ) @@ -557,6 +572,7 @@ UINT32 Oct6100ChannelCreateBiDir( return cOCT6100_ERR_OK; } +#endif @@ -576,6 +592,7 @@ f_pApiInstance Pointer to API instance. This memory is used to keep the f_pChannelDestroyBiDir Pointer to channel destroy BiDir structure. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100ChannelDestroyBiDirDef UINT32 Oct6100ChannelDestroyBiDirDef( IN OUT tPOCT6100_CHANNEL_DESTROY_BIDIR f_pChannelDestroyBiDir ) { @@ -583,7 +600,9 @@ UINT32 Oct6100ChannelDestroyBiDirDef( return cOCT6100_ERR_OK; } +#endif +#if !SKIP_Oct6100ChannelDestroyBiDir UINT32 Oct6100ChannelDestroyBiDir( IN tPOCT6100_INSTANCE_API f_pApiInstance, IN OUT tPOCT6100_CHANNEL_DESTROY_BIDIR f_pChannelDestroyBiDir ) @@ -623,6 +642,7 @@ UINT32 Oct6100ChannelDestroyBiDir( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -641,6 +661,7 @@ f_pApiInstance Pointer to API instance. This memory is used to keep f_pChannelBroadcastTsstAdd Pointer to the an Add Broadcast TSST structure. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100ChannelBroadcastTsstAddDef UINT32 Oct6100ChannelBroadcastTsstAddDef( tPOCT6100_CHANNEL_BROADCAST_TSST_ADD f_pChannelBroadcastTsstAdd ) { @@ -653,7 +674,9 @@ UINT32 Oct6100ChannelBroadcastTsstAddDef( return cOCT6100_ERR_OK; } +#endif +#if !SKIP_Oct6100ChannelBroadcastTsstAdd UINT32 Oct6100ChannelBroadcastTsstAdd( tPOCT6100_INSTANCE_API f_pApiInstance, tPOCT6100_CHANNEL_BROADCAST_TSST_ADD f_pChannelBroadcastTsstAdd ) @@ -693,6 +716,7 @@ UINT32 Oct6100ChannelBroadcastTsstAdd( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -710,6 +734,7 @@ f_pApiInstance Pointer to API instance. This memory is used to keep f_pChannelBroadcastTsstRemove Pointer to the a Remove Broadcast TSST structure. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100ChannelBroadcastTsstRemoveDef UINT32 Oct6100ChannelBroadcastTsstRemoveDef( tPOCT6100_CHANNEL_BROADCAST_TSST_REMOVE f_pChannelBroadcastTsstRemove ) { @@ -723,8 +748,10 @@ UINT32 Oct6100ChannelBroadcastTsstRemoveDef( return cOCT6100_ERR_OK; } +#endif +#if !SKIP_Oct6100ChannelBroadcastTsstRemove UINT32 Oct6100ChannelBroadcastTsstRemove( tPOCT6100_INSTANCE_API f_pApiInstance, tPOCT6100_CHANNEL_BROADCAST_TSST_REMOVE f_pChannelBroadcastTsstRemove ) @@ -764,6 +791,7 @@ UINT32 Oct6100ChannelBroadcastTsstRemove( return cOCT6100_ERR_OK; } +#endif @@ -783,6 +811,7 @@ f_pApiInstance Pointer to API instance. This memory is used to keep the f_pChannelStats Pointer to a tOCT6100_CHANNEL_STATS structure. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100ChannelGetStatsDef UINT32 Oct6100ChannelGetStatsDef( IN OUT tPOCT6100_CHANNEL_STATS f_pChannelStats ) { @@ -913,7 +942,9 @@ UINT32 Oct6100ChannelGetStatsDef( return cOCT6100_ERR_OK; } +#endif +#if !SKIP_Oct6100ChannelGetStats UINT32 Oct6100ChannelGetStats( IN tPOCT6100_INSTANCE_API f_pApiInstance, IN OUT tPOCT6100_CHANNEL_STATS f_pChannelStats ) @@ -953,6 +984,7 @@ UINT32 Oct6100ChannelGetStats( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -971,6 +1003,7 @@ f_pApiInstance Pointer to API instance. This memory is used to keep the f_pChannelMute Pointer to a tPOCT6100_CHANNEL_MUTE structure. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100ChannelMuteDef UINT32 Oct6100ChannelMuteDef( IN OUT tPOCT6100_CHANNEL_MUTE f_pChannelMute ) { @@ -979,7 +1012,9 @@ UINT32 Oct6100ChannelMuteDef( return cOCT6100_ERR_OK; } +#endif +#if !SKIP_Oct6100ChannelMute UINT32 Oct6100ChannelMute( IN tPOCT6100_INSTANCE_API f_pApiInstance, IN OUT tPOCT6100_CHANNEL_MUTE f_pChannelMute ) @@ -1019,6 +1054,7 @@ UINT32 Oct6100ChannelMute( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -1036,6 +1072,7 @@ f_pApiInstance Pointer to API instance. This memory is used to keep the f_pChannelUnMute Pointer to a tPOCT6100_CHANNEL_UNMUTE structure. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100ChannelUnMuteDef UINT32 Oct6100ChannelUnMuteDef( IN OUT tPOCT6100_CHANNEL_UNMUTE f_pChannelUnMute ) { @@ -1044,7 +1081,9 @@ UINT32 Oct6100ChannelUnMuteDef( return cOCT6100_ERR_OK; } +#endif +#if !SKIP_Oct6100ChannelUnMute UINT32 Oct6100ChannelUnMute( IN tPOCT6100_INSTANCE_API f_pApiInstance, IN OUT tPOCT6100_CHANNEL_UNMUTE f_pChannelUnMute ) @@ -1084,6 +1123,7 @@ UINT32 Oct6100ChannelUnMute( return cOCT6100_ERR_OK; } +#endif /**************************** PRIVATE FUNCTIONS ****************************/ @@ -1101,6 +1141,7 @@ f_pOpenChip Pointer to chip configuration struct. f_pInstSizes Pointer to struct containing instance sizes. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100ApiGetChannelsEchoSwSizes UINT32 Oct6100ApiGetChannelsEchoSwSizes( IN tPOCT6100_CHIP_OPEN f_pOpenChip, OUT tPOCT6100_API_INSTANCE_SIZES f_pInstSizes ) @@ -1146,6 +1187,7 @@ UINT32 Oct6100ApiGetChannelsEchoSwSizes( mOCT6100_ROUND_MEMORY_SIZE( f_pInstSizes->ulBiDirChannelAlloc, ulTempVar ) return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -1161,6 +1203,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_Oct6100ApiChannelsEchoSwInit UINT32 Oct6100ApiChannelsEchoSwInit( IN tPOCT6100_INSTANCE_API f_pApiInstance ) { @@ -1215,6 +1258,7 @@ UINT32 Oct6100ApiChannelsEchoSwInit( return cOCT6100_ERR_OK; } +#endif @@ -1241,6 +1285,7 @@ f_pChannelOpen Pointer to channel configuration structure. Then handle returned in this structure. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100ChannelOpenSer UINT32 Oct6100ChannelOpenSer( IN tPOCT6100_INSTANCE_API f_pApiInstance, IN OUT tPOCT6100_CHANNEL_OPEN f_pChannelOpen ) @@ -1270,6 +1315,7 @@ UINT32 Oct6100ChannelOpenSer( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -1287,6 +1333,7 @@ f_pChannelOpen Pointer to echo cancellation channel open configuration structu f_pChanIndexConf Pointer to a structure used to store the multiple resources indexes. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100ApiCheckChannelParams UINT32 Oct6100ApiCheckChannelParams( IN tPOCT6100_INSTANCE_API f_pApiInstance, IN tPOCT6100_CHANNEL_OPEN f_pChannelOpen, @@ -1409,6 +1456,7 @@ UINT32 Oct6100ApiCheckChannelParams( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -1427,6 +1475,7 @@ f_pulChannelIndex Allocated entry in ECHO channel list. f_pChanIndexConf Pointer to a structure used to store the multiple resources indexes. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100ApiReserveChannelResources UINT32 Oct6100ApiReserveChannelResources( IN tPOCT6100_INSTANCE_API f_pApiInstance, IN tPOCT6100_CHANNEL_OPEN f_pChannelOpen, @@ -1850,6 +1899,7 @@ UINT32 Oct6100ApiReserveChannelResources( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -1869,6 +1919,7 @@ f_pChannelOpen Pointer to echo cancellation channel configuration structure. f_pChanIndexConf Pointer to a structure used to store the multiple resources indexes. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100ApiWriteChannelStructs UINT32 Oct6100ApiWriteChannelStructs( IN tPOCT6100_INSTANCE_API f_pApiInstance, IN tPOCT6100_CHANNEL_OPEN f_pChannelOpen, @@ -2442,6 +2493,7 @@ UINT32 Oct6100ApiWriteChannelStructs( return cOCT6100_ERR_OK; } +#endif @@ -2461,6 +2513,7 @@ f_pChannelOpen Pointer to echo cancellation channel configuration structure. f_pChanIndexConf Pointer to a structure used to store the multiple resources indexes. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100ApiUpdateChannelEntry UINT32 Oct6100ApiUpdateChannelEntry( IN tPOCT6100_INSTANCE_API f_pApiInstance, IN tPOCT6100_CHANNEL_OPEN f_pChannelOpen, @@ -2710,6 +2763,7 @@ UINT32 Oct6100ApiUpdateChannelEntry( return cOCT6100_ERR_OK; } +#endif @@ -2731,6 +2785,7 @@ f_pApiInstance Pointer to API instance. This memory is used to keep the f_pChannelClose Pointer to echo cancellation channel close structure. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100ChannelCloseSer UINT32 Oct6100ChannelCloseSer( IN tPOCT6100_INSTANCE_API f_pApiInstance, IN tPOCT6100_CHANNEL_CLOSE f_pChannelClose ) @@ -2765,6 +2820,7 @@ UINT32 Oct6100ChannelCloseSer( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -2784,6 +2840,7 @@ f_pulFpgaChanIndex Pointer to the FPGA channel index associated to this channel f_pusChanIndex Pointer to the index of the channel within the API instance. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100ApiAssertChannelParams UINT32 Oct6100ApiAssertChannelParams( IN tPOCT6100_INSTANCE_API f_pApiInstance, IN tPOCT6100_CHANNEL_CLOSE f_pChannelClose, @@ -2831,6 +2888,7 @@ UINT32 Oct6100ApiAssertChannelParams( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -2848,6 +2906,7 @@ f_ulFpgaChanIndex Index of the channel within the SCN_PLC FPGA. f_usChanIndex Index of the channel within the API instance. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100ApiInvalidateChannelStructs UINT32 Oct6100ApiInvalidateChannelStructs( IN tPOCT6100_INSTANCE_API f_pApiInstance, @@ -3210,6 +3269,7 @@ UINT32 Oct6100ApiInvalidateChannelStructs( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -3226,6 +3286,7 @@ f_pApiInstance Pointer to API instance. This memory is used to keep the f_usChannelIndex Index of the echo cancellation channel in the API list. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100ApiReleaseChannelResources UINT32 Oct6100ApiReleaseChannelResources( IN tPOCT6100_INSTANCE_API f_pApiInstance, IN UINT16 f_usChannelIndex ) @@ -3459,6 +3520,7 @@ UINT32 Oct6100ApiReleaseChannelResources( return cOCT6100_ERR_OK; } +#endif @@ -3479,6 +3541,7 @@ f_pChannelModify Pointer to channel configuration structure. The handle returned in this structure. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100ChannelModifySer UINT32 Oct6100ChannelModifySer( IN tPOCT6100_INSTANCE_API f_pApiInstance, IN OUT tPOCT6100_CHANNEL_MODIFY f_pChannelModify ) @@ -3551,6 +3614,7 @@ out: return ulResult; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -3570,6 +3634,7 @@ f_pusNewPhasingTsstIndex Pointer to a new phasing TSST index within the API inst f_pusChanIndex Pointer to the channel index within the API instance channel list \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100ApiCheckChannelModify UINT32 Oct6100ApiCheckChannelModify( IN tPOCT6100_INSTANCE_API f_pApiInstance, IN OUT tPOCT6100_CHANNEL_MODIFY f_pChannelModify, @@ -3934,6 +3999,7 @@ UINT32 Oct6100ApiCheckChannelModify( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -3950,6 +4016,7 @@ f_pChannelModify Pointer to echo cancellation channel configuration structure. f_usChanIndex Allocated entry in ECHO channel list. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100ApiModifyChannelResources UINT32 Oct6100ApiModifyChannelResources( IN tPOCT6100_INSTANCE_API f_pApiInstance, IN tPOCT6100_CHANNEL_MODIFY f_pChannelModify, @@ -4535,6 +4602,7 @@ UINT32 Oct6100ApiModifyChannelResources( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -4562,6 +4630,7 @@ f_usNewRoutTsstIndex New ROUT TSST memory index. f_usNewSoutTsstIndex New SOUT TSST memory index. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100ApiModifyChannelStructs UINT32 Oct6100ApiModifyChannelStructs( IN tPOCT6100_INSTANCE_API f_pApiInstance, IN tPOCT6100_CHANNEL_MODIFY f_pChannelModify, @@ -5599,6 +5668,7 @@ UINT32 Oct6100ApiModifyChannelStructs( return cOCT6100_ERR_OK; } +#endif @@ -5626,6 +5696,7 @@ f_usNewRoutTsstIndex New ROUT TSST memory index. f_usNewSoutTsstIndex New SOUT TSST memory index. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100ApiModifyChannelEntry UINT32 Oct6100ApiModifyChannelEntry( IN tPOCT6100_INSTANCE_API f_pApiInstance, IN tPOCT6100_CHANNEL_MODIFY f_pChannelModify, @@ -5835,6 +5906,7 @@ UINT32 Oct6100ApiModifyChannelEntry( return cOCT6100_ERR_OK; } +#endif @@ -5865,6 +5937,7 @@ f_pApiInstance Pointer to API instance. This memory is used to keep the f_pChannelTsstAdd Pointer to TSST assign structure. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100ChannelBroadcastTsstAddSer UINT32 Oct6100ChannelBroadcastTsstAddSer( IN tPOCT6100_INSTANCE_API f_pApiInstance, IN OUT tPOCT6100_CHANNEL_BROADCAST_TSST_ADD f_pChannelTsstAdd ) @@ -5892,6 +5965,7 @@ UINT32 Oct6100ChannelBroadcastTsstAddSer( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -5910,6 +5984,7 @@ f_pChannelTsstAdd Pointer to echo cancellation channel open configuration struc f_pusChanIndex Pointer to a structure used to store the multiple resources indexes. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100ApiCheckChanTsstAddParams UINT32 Oct6100ApiCheckChanTsstAddParams( IN tPOCT6100_INSTANCE_API f_pApiInstance, IN tPOCT6100_CHANNEL_BROADCAST_TSST_ADD f_pChannelTsstAdd, @@ -5986,6 +6061,7 @@ UINT32 Oct6100ApiCheckChanTsstAddParams( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -6006,6 +6082,7 @@ f_pusNewTsstIndex Pointer to the new TSST index within the API's TSST memory. f_pusNewTsstEntry Pointer to the new TSST entry within the API's TSST list. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100ApiReserveTsstAddResources UINT32 Oct6100ApiReserveTsstAddResources( IN tPOCT6100_INSTANCE_API f_pApiInstance, IN tPOCT6100_CHANNEL_BROADCAST_TSST_ADD f_pChannelTsstAdd, @@ -6047,6 +6124,7 @@ UINT32 Oct6100ApiReserveTsstAddResources( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -6066,6 +6144,7 @@ f_usChanIndex Channel index. f_usNewTsstIndex Tsst index in the TSST control memory. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100ApiWriteTsstAddStructs UINT32 Oct6100ApiWriteTsstAddStructs( IN tPOCT6100_INSTANCE_API f_pApiInstance, IN tPOCT6100_CHANNEL_BROADCAST_TSST_ADD f_pChannelTsstAdd, @@ -6116,6 +6195,7 @@ UINT32 Oct6100ApiWriteTsstAddStructs( return cOCT6100_ERR_OK; } +#endif @@ -6138,6 +6218,7 @@ f_usNewTsstIndex TSST index within the TSST control memory. f_usNewTsstEntry TSST entry within the API TSST list. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100ApiUpdateTsstAddChanEntry UINT32 Oct6100ApiUpdateTsstAddChanEntry( IN tPOCT6100_INSTANCE_API f_pApiInstance, IN tPOCT6100_CHANNEL_BROADCAST_TSST_ADD f_pChannelTsstAdd, @@ -6185,6 +6266,7 @@ UINT32 Oct6100ApiUpdateTsstAddChanEntry( return cOCT6100_ERR_OK; } +#endif @@ -6209,6 +6291,7 @@ f_pApiInstance Pointer to API instance. This memory is used to keep the f_pChannelTsstRemove Pointer to TSST remove structure. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100ChannelBroadcastTsstRemoveSer UINT32 Oct6100ChannelBroadcastTsstRemoveSer( IN tPOCT6100_INSTANCE_API f_pApiInstance, IN OUT tPOCT6100_CHANNEL_BROADCAST_TSST_REMOVE f_pChannelTsstRemove) @@ -6233,6 +6316,7 @@ UINT32 Oct6100ChannelBroadcastTsstRemoveSer( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -6254,6 +6338,7 @@ f_pulNewTsstEntry Pointer to a TSST entry within the API TSST list. f_pulPrevTsstEntry Pointer to the previous TSST entry. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100ApiAssertChanTsstRemoveParams UINT32 Oct6100ApiAssertChanTsstRemoveParams( IN tPOCT6100_INSTANCE_API f_pApiInstance, IN tPOCT6100_CHANNEL_BROADCAST_TSST_REMOVE f_pChannelTsstRemove, @@ -6384,6 +6469,7 @@ UINT32 Oct6100ApiAssertChanTsstRemoveParams( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -6404,6 +6490,7 @@ f_ulPort Channel port where the TSST are removed from. (only used if remove a f_fRemoveAll Remove all flag. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100ApiInvalidateTsstRemoveStructs UINT32 Oct6100ApiInvalidateTsstRemoveStructs( IN tPOCT6100_INSTANCE_API f_pApiInstance, IN UINT16 f_usChanIndex, @@ -6464,6 +6551,7 @@ UINT32 Oct6100ApiInvalidateTsstRemoveStructs( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -6486,6 +6574,7 @@ f_usTsstEntry TSST entry within the API's TSST list. f_usPrevTsstEntry Previous TSST entry within the API's TSST list. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100ApiReleaseTsstRemoveResources UINT32 Oct6100ApiReleaseTsstRemoveResources( IN tPOCT6100_INSTANCE_API f_pApiInstance, IN tPOCT6100_CHANNEL_BROADCAST_TSST_REMOVE f_pChannelTsstRemove, @@ -6608,6 +6697,7 @@ UINT32 Oct6100ApiReleaseTsstRemoveResources( } return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -6625,6 +6715,7 @@ f_pApiInstance Pointer to API instance. This memory is used to keep the f_pChannelStats Pointer to a channel stats structure. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100ApiChannelGetStatsSer UINT32 Oct6100ApiChannelGetStatsSer( IN tPOCT6100_INSTANCE_API f_pApiInstance, IN tPOCT6100_CHANNEL_STATS f_pChannelStats ) @@ -7244,6 +7335,7 @@ UINT32 Oct6100ApiChannelGetStatsSer( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -7261,6 +7353,7 @@ f_pApiInstance Pointer to API instance. This memory is used to keep f_pusEchoIndex Resulting index reserved in the echo channel list. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100ApiReserveEchoEntry UINT32 Oct6100ApiReserveEchoEntry( IN tPOCT6100_INSTANCE_API f_pApiInstance, OUT PUINT16 f_pusEchoIndex ) @@ -7288,6 +7381,7 @@ UINT32 Oct6100ApiReserveEchoEntry( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -7305,6 +7399,7 @@ f_pApiInstance Pointer to API instance. This memory is used to keep f_usEchoIndex Index reserved in the echo channel list. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100ApiReleaseEchoEntry UINT32 Oct6100ApiReleaseEchoEntry( IN tPOCT6100_INSTANCE_API f_pApiInstance, IN UINT16 f_usEchoIndex ) @@ -7326,6 +7421,7 @@ UINT32 Oct6100ApiReleaseEchoEntry( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -7343,6 +7439,7 @@ f_pApiInstance Pointer to API instance. This memory is used to keep f_pusBiDirChanIndex Resulting index reserved in the bidir channel list. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100ApiReserveBiDirChanEntry UINT32 Oct6100ApiReserveBiDirChanEntry( IN tPOCT6100_INSTANCE_API f_pApiInstance, OUT PUINT16 f_pusBiDirChanIndex ) @@ -7370,6 +7467,7 @@ UINT32 Oct6100ApiReserveBiDirChanEntry( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -7387,6 +7485,7 @@ f_pApiInstance Pointer to API instance. This memory is used to keep f_ulBiDirChanIndex Bidirectional channel index within the API's Bidir channel list. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100ApiReleaseBiDirChanEntry UINT32 Oct6100ApiReleaseBiDirChanEntry( IN tPOCT6100_INSTANCE_API f_pApiInstance, IN UINT32 f_ulBiDirChanIndex ) @@ -7408,6 +7507,7 @@ UINT32 Oct6100ApiReleaseBiDirChanEntry( return cOCT6100_ERR_OK; } +#endif @@ -7427,6 +7527,7 @@ f_pApiInstance Pointer to API instance. This memory is used to keep f_pTdmConfig TDM config of the channel. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100ApiCheckTdmConfig UINT32 Oct6100ApiCheckTdmConfig( IN tPOCT6100_INSTANCE_API f_pApiInstance, IN tPOCT6100_CHANNEL_OPEN_TDM f_pTdmConfig ) @@ -7583,6 +7684,7 @@ UINT32 Oct6100ApiCheckTdmConfig( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -7602,6 +7704,7 @@ f_pVqeConfig VQE config of the channel. f_fEnableToneDisabler Whether the tone disabler is active or not. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100ApiCheckVqeConfig UINT32 Oct6100ApiCheckVqeConfig( IN OUT tPOCT6100_INSTANCE_API f_pApiInstance, IN tPOCT6100_CHANNEL_OPEN_VQE f_pVqeConfig, @@ -8017,6 +8120,7 @@ UINT32 Oct6100ApiCheckVqeConfig( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -8036,6 +8140,7 @@ f_ulDecoderNumTssts Number of TSST for the decoder. f_pusPhasingTsstIndex Pointer to the Phasing TSST index within the API's phasing TSST list. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100ApiCheckCodecConfig UINT32 Oct6100ApiCheckCodecConfig( IN tPOCT6100_INSTANCE_API f_pApiInstance, IN tPOCT6100_CHANNEL_OPEN_CODEC f_pCodecConfig, @@ -8217,6 +8322,7 @@ UINT32 Oct6100ApiCheckCodecConfig( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -8235,6 +8341,7 @@ f_usTsiMemIndex TSI index within the TSI chariot memory. f_ulTsstInputLaw PCM law of the input TSST. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100ApiWriteInputTsstControlMemory UINT32 Oct6100ApiWriteInputTsstControlMemory( IN tPOCT6100_INSTANCE_API f_pApiInstance, IN UINT16 f_usTsstIndex, @@ -8262,6 +8369,7 @@ UINT32 Oct6100ApiWriteInputTsstControlMemory( return cOCT6100_ERR_OK; } +#endif @@ -8278,6 +8386,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_Oct6100ApiWriteOutputTsstControlMemory UINT32 Oct6100ApiWriteOutputTsstControlMemory( IN tPOCT6100_INSTANCE_API f_pApiInstance, IN UINT16 f_usTsstIndex, @@ -8305,6 +8414,7 @@ UINT32 Oct6100ApiWriteOutputTsstControlMemory( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -8329,6 +8439,7 @@ f_ulPhasingType Type of the Phasing TSST. f_ulPhase Phase used with this encoder. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100ApiWriteEncoderMemory UINT32 Oct6100ApiWriteEncoderMemory( IN tPOCT6100_INSTANCE_API f_pApiInstance, IN UINT32 f_ulEncoderIndex, @@ -8422,6 +8533,7 @@ UINT32 Oct6100ApiWriteEncoderMemory( /*==============================================================================*/ return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -8443,6 +8555,7 @@ f_ulPcmLaw PCM law of the decoded samples. f_ulAdpcmNibblePosition ADPCM nibble position. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100ApiWriteDecoderMemory UINT32 Oct6100ApiWriteDecoderMemory( IN tPOCT6100_INSTANCE_API f_pApiInstance, IN UINT16 f_usDecoderIndex, @@ -8509,6 +8622,7 @@ UINT32 Oct6100ApiWriteDecoderMemory( return cOCT6100_ERR_OK; } +#endif @@ -8528,6 +8642,7 @@ f_pApiInstance Pointer to API instance. This memory is used to keep f_usConversionMemIndex Index of the block within the conversion memory. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100ApiClearConversionMemory UINT32 Oct6100ApiClearConversionMemory( IN tPOCT6100_INSTANCE_API f_pApiInstance, IN UINT16 f_usConversionMemIndex ) @@ -8587,6 +8702,7 @@ UINT32 Oct6100ApiClearConversionMemory( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -8611,6 +8727,7 @@ f_fModifyOnly Flag indicating if the configuration should be modified only. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100ApiWriteVqeMemory UINT32 Oct6100ApiWriteVqeMemory( IN tPOCT6100_INSTANCE_API f_pApiInstance, IN tPOCT6100_CHANNEL_OPEN_VQE f_pVqeConfig, @@ -8648,6 +8765,7 @@ UINT32 Oct6100ApiWriteVqeMemory( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -8671,6 +8789,7 @@ f_fModifyOnly Flag indicating if the configuration should be modified only. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100ApiWriteVqeNlpMemory UINT32 Oct6100ApiWriteVqeNlpMemory( IN tPOCT6100_INSTANCE_API f_pApiInstance, IN tPOCT6100_CHANNEL_OPEN_VQE f_pVqeConfig, @@ -9595,6 +9714,7 @@ UINT32 Oct6100ApiWriteVqeNlpMemory( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -9618,6 +9738,7 @@ f_fModifyOnly Flag indicating if the configuration should be modified only. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100ApiWriteVqeAfMemory UINT32 Oct6100ApiWriteVqeAfMemory( IN tPOCT6100_INSTANCE_API f_pApiInstance, IN tPOCT6100_CHANNEL_OPEN_VQE f_pVqeConfig, @@ -9915,6 +10036,7 @@ UINT32 Oct6100ApiWriteVqeAfMemory( return cOCT6100_ERR_OK; } +#endif @@ -9939,6 +10061,7 @@ f_usRinRoutTsiIndex RIN/ROUT TSI index within the TSI chariot memory f_usSinSoutTsiIndex SIN/SOUT TSI index within the TSI chariot memory \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100ApiWriteEchoMemory UINT32 Oct6100ApiWriteEchoMemory( IN tPOCT6100_INSTANCE_API f_pApiInstance, IN tPOCT6100_CHANNEL_OPEN_TDM f_pTdmConfig, @@ -10135,6 +10258,7 @@ UINT32 Oct6100ApiWriteEchoMemory( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -10157,6 +10281,7 @@ IN OUT f_pChanOpen Pointer to a channel open structure. IN f_pChanEntry Pointer to an API channel structure. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100ApiUpdateOpenStruct UINT32 Oct6100ApiUpdateOpenStruct( IN tPOCT6100_INSTANCE_API f_pApiInstance, IN tPOCT6100_CHANNEL_MODIFY f_pChanModify, @@ -10598,6 +10723,7 @@ UINT32 Oct6100ApiUpdateOpenStruct( return cOCT6100_ERR_OK; } +#endif @@ -10626,6 +10752,7 @@ f_pulConfigDword Pointer to the content stored in the API located at the desired address. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100ApiRetrieveNlpConfDword UINT32 Oct6100ApiRetrieveNlpConfDword( IN tPOCT6100_INSTANCE_API f_pApiInstance, @@ -10667,6 +10794,7 @@ UINT32 Oct6100ApiRetrieveNlpConfDword( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -10688,6 +10816,7 @@ f_pulConfigDword content to be stored in the API located at the desired address. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100ApiSaveNlpConfDword UINT32 Oct6100ApiSaveNlpConfDword( IN tPOCT6100_INSTANCE_API f_pApiInstance, @@ -10723,6 +10852,7 @@ UINT32 Oct6100ApiSaveNlpConfDword( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -10739,6 +10869,7 @@ f_pApiInstance Pointer to API instance. This memory is used to keep the f_pChannelCreateBiDir Pointer to a create bidirectionnal channel structure. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100ChannelCreateBiDirSer UINT32 Oct6100ChannelCreateBiDirSer( IN tPOCT6100_INSTANCE_API f_pApiInstance, IN OUT tPOCT6100_CHANNEL_CREATE_BIDIR f_pChannelCreateBiDir ) @@ -10813,6 +10944,7 @@ UINT32 Oct6100ChannelCreateBiDirSer( return cOCT6100_ERR_OK; } +#endif @@ -10839,6 +10971,7 @@ f_pusSecondChanExtraTsiIndex Pointer to the second channel extra TSI index. f_pusSecondChanSinCopyEventIndex Pointer to the second channel Sin copy event index. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100ApiCheckChannelCreateBiDirParams UINT32 Oct6100ApiCheckChannelCreateBiDirParams( IN tPOCT6100_INSTANCE_API f_pApiInstance, IN tPOCT6100_CHANNEL_CREATE_BIDIR f_pChannelCreateBiDir, @@ -10971,6 +11104,7 @@ UINT32 Oct6100ApiCheckChannelCreateBiDirParams( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -10993,6 +11127,7 @@ f_pusSecondChanSinCopyEventIndex Pointer to the second channel Sin copy event in f_pusSecondChanSoutCopyEventIndex Pointer to the second channel Sout copy event index. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100ApiReserveChannelCreateBiDirResources UINT32 Oct6100ApiReserveChannelCreateBiDirResources( IN tPOCT6100_INSTANCE_API f_pApiInstance, @@ -11158,6 +11293,7 @@ UINT32 Oct6100ApiReserveChannelCreateBiDirResources( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -11183,6 +11319,7 @@ f_usSecondChanSinCopyEventIndex Pointer to the second channel Sin copy event in f_usSecondChanSoutCopyEventIndex Pointer to the second channel Sout copy event index. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100ApiWriteChannelCreateBiDirStructs UINT32 Oct6100ApiWriteChannelCreateBiDirStructs( IN tPOCT6100_INSTANCE_API f_pApiInstance, @@ -11418,6 +11555,7 @@ UINT32 Oct6100ApiWriteChannelCreateBiDirStructs( return cOCT6100_ERR_OK; } +#endif @@ -11434,6 +11572,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_Oct6100ApiUpdateBiDirChannelEntry UINT32 Oct6100ApiUpdateBiDirChannelEntry( IN tPOCT6100_INSTANCE_API f_pApiInstance, OUT tPOCT6100_CHANNEL_CREATE_BIDIR f_pChannelCreateBiDir, @@ -11501,6 +11640,7 @@ UINT32 Oct6100ApiUpdateBiDirChannelEntry( return cOCT6100_ERR_OK; } +#endif @@ -11521,6 +11661,7 @@ f_pApiInstance Pointer to API instance. This memory is used to keep the f_pChannelDestroyBiDir Pointer to a destroy bidirectionnal channel structure. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100ChannelDestroyBiDirSer UINT32 Oct6100ChannelDestroyBiDirSer( IN tPOCT6100_INSTANCE_API f_pApiInstance, IN tPOCT6100_CHANNEL_DESTROY_BIDIR f_pChannelDestroyBiDir ) @@ -11564,6 +11705,7 @@ UINT32 Oct6100ChannelDestroyBiDirSer( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -11584,6 +11726,7 @@ f_pusFirstChanIndex Pointer to the first channel index part of the bidir channe f_pusFirstChanIndex Pointer to the second channel index part of the bidir channel. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100ApiAssertDestroyBiDirChanParams UINT32 Oct6100ApiAssertDestroyBiDirChanParams( IN tPOCT6100_INSTANCE_API f_pApiInstance, IN tPOCT6100_CHANNEL_DESTROY_BIDIR f_pChannelDestroyBiDir, @@ -11631,6 +11774,7 @@ UINT32 Oct6100ApiAssertDestroyBiDirChanParams( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -11645,6 +11789,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_Oct6100ApiInvalidateBiDirChannelStructs UINT32 Oct6100ApiInvalidateBiDirChannelStructs( IN tPOCT6100_INSTANCE_API f_pApiInstance, @@ -11789,6 +11934,7 @@ UINT32 Oct6100ApiInvalidateBiDirChannelStructs( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -11807,6 +11953,7 @@ f_usFirstChanIndex Index of the first channel used to create the bidir channel. f_usSecondChanIndex Index of the second channel used to create the bidir channel. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100ApiReleaseBiDirChannelResources UINT32 Oct6100ApiReleaseBiDirChannelResources( IN tPOCT6100_INSTANCE_API f_pApiInstance, IN UINT16 f_usBiDirChanIndex, @@ -11976,7 +12123,9 @@ UINT32 Oct6100ApiReleaseBiDirChannelResources( return cOCT6100_ERR_OK; } +#endif +#if !SKIP_Oct6100ApiOctFloatToDbEnergyByte INT32 Oct6100ApiOctFloatToDbEnergyByte(UINT8 x) { INT32 lResult; @@ -11984,7 +12133,9 @@ INT32 Oct6100ApiOctFloatToDbEnergyByte(UINT8 x) lResult = Oct6100ApiOctFloatToDbEnergyHalf( (UINT16)(x << 8) ); return lResult; } +#endif +#if !SKIP_Oct6100ApiOctFloatToDbEnergyHalf INT32 Oct6100ApiOctFloatToDbEnergyHalf(UINT16 x) { INT32 y; @@ -11999,7 +12150,9 @@ INT32 Oct6100ApiOctFloatToDbEnergyHalf(UINT16 x) return y; } +#endif +#if !SKIP_Oct6100ApiDbAmpHalfToOctFloat UINT16 Oct6100ApiDbAmpHalfToOctFloat(INT32 x) { INT32 db_div6; @@ -12065,6 +12218,7 @@ UINT16 Oct6100ApiDbAmpHalfToOctFloat(INT32 x) return rval; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -12088,6 +12242,7 @@ f_usRinRoutTsiIndex RIN/ROUT TSI index within the TSI chariot memory. f_usSinSoutTsiIndex SIN/SOUT TSI index within the TSI chariot memory. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100ApiWriteDebugChanMemory UINT32 Oct6100ApiWriteDebugChanMemory( IN tPOCT6100_INSTANCE_API f_pApiInstance, IN tPOCT6100_CHANNEL_OPEN_TDM f_pTdmConfig, @@ -12138,6 +12293,7 @@ UINT32 Oct6100ApiWriteDebugChanMemory( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -12153,6 +12309,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_Oct6100ApiDebugChannelOpen UINT32 Oct6100ApiDebugChannelOpen( IN tPOCT6100_INSTANCE_API f_pApiInstance ) { @@ -12205,6 +12362,7 @@ UINT32 Oct6100ApiDebugChannelOpen( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -12221,6 +12379,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_Oct6100ApiMutePorts UINT32 Oct6100ApiMutePorts( IN tPOCT6100_INSTANCE_API f_pApiInstance, IN UINT16 f_usEchoIndex, @@ -12374,6 +12533,7 @@ UINT32 Oct6100ApiMutePorts( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -12395,6 +12555,7 @@ f_fClearAlcHlcStatusBit If this is set, the ALC-HLC status bit must be incremented. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100ApiSetChannelLevelControl UINT32 Oct6100ApiSetChannelLevelControl( IN tPOCT6100_INSTANCE_API f_pApiInstance, IN tPOCT6100_CHANNEL_OPEN_VQE f_pVqeConfig, @@ -12911,6 +13072,7 @@ UINT32 Oct6100ApiSetChannelLevelControl( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -12931,6 +13093,7 @@ f_usEchoMemIndex Index of the echo channel within the SSPX memory. f_fModifyOnly Function called from a modify or open? \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100ApiSetChannelTailConfiguration UINT32 Oct6100ApiSetChannelTailConfiguration( IN tPOCT6100_INSTANCE_API f_pApiInstance, IN tPOCT6100_CHANNEL_OPEN_VQE f_pVqeConfig, @@ -13281,6 +13444,7 @@ UINT32 Oct6100ApiSetChannelTailConfiguration( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -13298,6 +13462,7 @@ f_pApiInstance Pointer to API instance. This memory is used to keep f_pChannelMute What channel/ports to mute. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100ChannelMuteSer UINT32 Oct6100ChannelMuteSer( IN tPOCT6100_INSTANCE_API f_pApiInstance, IN tPOCT6100_CHANNEL_MUTE f_pChannelMute ) @@ -13324,6 +13489,7 @@ UINT32 Oct6100ChannelMuteSer( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -13343,6 +13509,7 @@ f_pusChanIndex Resulting channel index where the muting should f_pusPorts Port mask on which to apply the muting. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100ApiAssertChannelMuteParams UINT32 Oct6100ApiAssertChannelMuteParams( IN tPOCT6100_INSTANCE_API f_pApiInstance, IN tPOCT6100_CHANNEL_MUTE f_pChannelMute, @@ -13408,6 +13575,7 @@ UINT32 Oct6100ApiAssertChannelMuteParams( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -13425,6 +13593,7 @@ f_pApiInstance Pointer to API instance. This memory is used to keep f_pChannelUnMute What channel/ports to unmute. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100ChannelUnMuteSer UINT32 Oct6100ChannelUnMuteSer( IN tPOCT6100_INSTANCE_API f_pApiInstance, IN tPOCT6100_CHANNEL_UNMUTE f_pChannelUnMute ) @@ -13451,6 +13620,7 @@ UINT32 Oct6100ChannelUnMuteSer( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -13470,6 +13640,7 @@ f_pusChanIndex Resulting channel index where the muting should f_pusPorts Port mask on which to apply the muting. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100ApiAssertChannelUnMuteParams UINT32 Oct6100ApiAssertChannelUnMuteParams( IN tPOCT6100_INSTANCE_API f_pApiInstance, IN tPOCT6100_CHANNEL_UNMUTE f_pChannelUnMute, @@ -13525,6 +13696,7 @@ UINT32 Oct6100ApiAssertChannelUnMuteParams( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -13544,6 +13716,7 @@ f_usChanIndex Resulting channel index where the muting should f_fEnableSinWithFeatures Whether to enable the feature or not. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100ApiMuteSinWithFeatures UINT32 Oct6100ApiMuteSinWithFeatures( IN tPOCT6100_INSTANCE_API f_pApiInstance, IN UINT16 f_usChanIndex, @@ -13609,6 +13782,7 @@ UINT32 Oct6100ApiMuteSinWithFeatures( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -13628,6 +13802,7 @@ f_usChanIndex Resulting channel index where the muting should f_usPortMask Port mask on which to apply the muting/unmuting. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100ApiMuteChannelPorts UINT32 Oct6100ApiMuteChannelPorts( IN tPOCT6100_INSTANCE_API f_pApiInstance, IN UINT16 f_usChanIndex, @@ -13824,3 +13999,4 @@ UINT32 Oct6100ApiMuteChannelPorts( return cOCT6100_ERR_OK; } +#endif diff --git a/software/octdeviceapi/oct6100api/oct6100_api/oct6100_chip_open.c b/software/octdeviceapi/oct6100api/oct6100_api/oct6100_chip_open.c index d097613..3a07704 100644 --- a/software/octdeviceapi/oct6100api/oct6100_api/oct6100_chip_open.c +++ b/software/octdeviceapi/oct6100api/oct6100_api/oct6100_chip_open.c @@ -115,12 +115,15 @@ f_pApiInstance Pointer to API instance. This memory is used to keep the f_pGetSize Structure containing API instance size. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100GetInstanceSizeDef UINT32 Oct6100GetInstanceSizeDef( tPOCT6100_GET_INSTANCE_SIZE f_pGetSize ) { return cOCT6100_ERR_OK; } +#endif +#if !SKIP_Oct6100GetInstanceSize UINT32 Oct6100GetInstanceSize( tPOCT6100_CHIP_OPEN f_pChipOpen, tPOCT6100_GET_INSTANCE_SIZE f_pGetSize ) @@ -143,6 +146,7 @@ UINT32 Oct6100GetInstanceSize( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -159,6 +163,7 @@ Description: Inserts default chip configuration parameters into the f_pChipOpen Structure containing user chip configuration. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100ChipOpenDef UINT32 Oct6100ChipOpenDef( tPOCT6100_CHIP_OPEN f_pChipOpen ) { @@ -240,6 +245,7 @@ UINT32 Oct6100ChipOpenDef( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -260,6 +266,7 @@ f_pApiInstance Pointer to API instance. This memory is used to keep the f_pChipOpen Structure containing user chip configuration. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100ChipOpen UINT32 Oct6100ChipOpen( tPOCT6100_INSTANCE_API f_pApiInstance, tPOCT6100_CHIP_OPEN f_pChipOpen ) @@ -454,6 +461,7 @@ UINT32 Oct6100ChipOpen( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -471,6 +479,7 @@ f_pApiInstance Pointer to API instance. This memory is used to keep the f_pChipClose Pointer to a tOCT6100_CHIP_CLOSE structure. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100ChipCloseDef UINT32 Oct6100ChipCloseDef( tPOCT6100_CHIP_CLOSE f_pChipClose ) { @@ -478,7 +487,9 @@ UINT32 Oct6100ChipCloseDef( return cOCT6100_ERR_OK; } +#endif +#if !SKIP_Oct6100ChipClose UINT32 Oct6100ChipClose( tPOCT6100_INSTANCE_API f_pApiInstance, tPOCT6100_CHIP_CLOSE f_pChipClose ) @@ -502,6 +513,7 @@ UINT32 Oct6100ChipClose( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -517,6 +529,7 @@ Description: Creates a local instance for a process in a multi-process f_pCreateLocal Structure used to create process' local instance. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100CreateLocalInstanceDef UINT32 Oct6100CreateLocalInstanceDef( tPOCT6100_CREATE_LOCAL_INSTANCE f_pCreateLocal ) { @@ -527,8 +540,10 @@ UINT32 Oct6100CreateLocalInstanceDef( return cOCT6100_ERR_OK; } +#endif +#if !SKIP_Oct6100CreateLocalInstance UINT32 Oct6100CreateLocalInstance( tPOCT6100_CREATE_LOCAL_INSTANCE f_pCreateLocal ) { @@ -561,6 +576,7 @@ UINT32 Oct6100CreateLocalInstance( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -579,6 +595,7 @@ f_pApiInstance Pointer to API instance. This memory is used to keep f_pDestroyLocal Structure used to destroy the process' local instance. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100DestroyLocalInstanceDef UINT32 Oct6100DestroyLocalInstanceDef( tPOCT6100_DESTROY_LOCAL_INSTANCE f_pDestroyLocal ) { @@ -586,7 +603,9 @@ UINT32 Oct6100DestroyLocalInstanceDef( return cOCT6100_ERR_OK; } +#endif +#if !SKIP_Oct6100DestroyLocalInstance UINT32 Oct6100DestroyLocalInstance( tPOCT6100_INSTANCE_API f_pApiInstance, tPOCT6100_DESTROY_LOCAL_INSTANCE f_pDestroyLocal ) @@ -600,6 +619,7 @@ UINT32 Oct6100DestroyLocalInstance( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -615,6 +635,7 @@ f_pGetHwRev Pointer to user structure in which to return revision number. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100GetHwRevisionDef UINT32 Oct6100GetHwRevisionDef( tPOCT6100_GET_HW_REVISION f_pGetHwRev ) { @@ -624,8 +645,10 @@ UINT32 Oct6100GetHwRevisionDef( return cOCT6100_ERR_OK; } +#endif +#if !SKIP_Oct6100GetHwRevision UINT32 Oct6100GetHwRevision( tPOCT6100_GET_HW_REVISION f_pGetHwRev ) { @@ -647,6 +670,7 @@ UINT32 Oct6100GetHwRevision( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -666,6 +690,7 @@ f_pFreeResources Pointer to user structure in which to choose what to free. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100FreeResourcesDef UINT32 Oct6100FreeResourcesDef( tPOCT6100_FREE_RESOURCES f_pFreeResources ) { @@ -677,8 +702,10 @@ UINT32 Oct6100FreeResourcesDef( return cOCT6100_ERR_OK; } +#endif +#if !SKIP_Oct6100FreeResources UINT32 Oct6100FreeResources( tPOCT6100_INSTANCE_API f_pApiInstance, tPOCT6100_FREE_RESOURCES f_pFreeResources ) @@ -718,6 +745,7 @@ UINT32 Oct6100FreeResources( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -737,6 +765,7 @@ f_pProductionBist Pointer to user structure where the bist information will be returned. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100ProductionBistDef UINT32 Oct6100ProductionBistDef( tPOCT6100_PRODUCTION_BIST f_pProductionBist ) { @@ -750,8 +779,10 @@ UINT32 Oct6100ProductionBistDef( return cOCT6100_ERR_OK; } +#endif +#if !SKIP_Oct6100ProductionBist UINT32 Oct6100ProductionBist( tPOCT6100_INSTANCE_API f_pApiInstance, tPOCT6100_PRODUCTION_BIST f_pProductionBist ) @@ -791,6 +822,7 @@ UINT32 Oct6100ProductionBist( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -806,6 +838,7 @@ Description: Retrieves the API version. f_pApiGetVersion Pointer to structure that will receive version information. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100ApiGetVersionDef UINT32 Oct6100ApiGetVersionDef( tPOCT6100_API_GET_VERSION f_pApiGetVersion ) { @@ -817,7 +850,9 @@ UINT32 Oct6100ApiGetVersionDef( return cOCT6100_ERR_OK; } +#endif +#if !SKIP_Oct6100ApiGetVersion UINT32 Oct6100ApiGetVersion( tPOCT6100_API_GET_VERSION f_pApiGetVersion ) { @@ -826,6 +861,7 @@ UINT32 Oct6100ApiGetVersion( return cOCT6100_ERR_OK; } +#endif /*************************** PRIVATE FUNCTIONS *****************************/ @@ -844,6 +880,7 @@ Description: Checks the user chip configuration structure for errors. f_pChipOpen Pointer to chip configuration structure. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100ApiCheckChipConfiguration UINT32 Oct6100ApiCheckChipConfiguration( IN tPOCT6100_CHIP_OPEN f_pChipOpen ) { @@ -1131,6 +1168,7 @@ UINT32 Oct6100ApiCheckChipConfiguration( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -1149,6 +1187,7 @@ f_pApiInstance Pointer to API instance. This memory is used to keep the f_pChipOpen Pointer to chip configuration structure. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100ApiCopyChipConfiguration UINT32 Oct6100ApiCopyChipConfiguration( IN OUT tPOCT6100_INSTANCE_API f_pApiInstance, IN tPOCT6100_CHIP_OPEN f_pChipOpen ) @@ -1231,6 +1270,7 @@ UINT32 Oct6100ApiCopyChipConfiguration( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -1247,6 +1287,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_Oct6100ApiInitializeMiscellaneousVariables UINT32 Oct6100ApiInitializeMiscellaneousVariables( IN OUT tPOCT6100_INSTANCE_API f_pApiInstance ) { @@ -1394,6 +1435,7 @@ UINT32 Oct6100ApiInitializeMiscellaneousVariables( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -1414,6 +1456,7 @@ f_pInstSizes Pointer to structure containing the size of memory needed chip's resources. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100ApiCalculateInstanceSizes UINT32 Oct6100ApiCalculateInstanceSizes( IN OUT tPOCT6100_CHIP_OPEN f_pChipOpen, OUT tPOCT6100_API_INSTANCE_SIZES f_pInstSizes ) @@ -1553,6 +1596,7 @@ UINT32 Oct6100ApiCalculateInstanceSizes( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -1576,6 +1620,7 @@ f_pInstSizes Pointer to structure containing the size of memory needed chip's resources. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100ApiAllocateInstanceMemory UINT32 Oct6100ApiAllocateInstanceMemory( IN OUT tPOCT6100_INSTANCE_API f_pApiInstance, IN tPOCT6100_API_INSTANCE_SIZES f_pInstSizes ) @@ -1697,6 +1742,7 @@ UINT32 Oct6100ApiAllocateInstanceMemory( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -1713,6 +1759,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_Oct6100ApiInitializeInstanceMemory UINT32 Oct6100ApiInitializeInstanceMemory( IN OUT tPOCT6100_INSTANCE_API f_pApiInstance ) { @@ -1786,6 +1833,7 @@ UINT32 Oct6100ApiInitializeInstanceMemory( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -1801,6 +1849,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_Oct6100ApiGetChipRevisionNum UINT32 Oct6100ApiGetChipRevisionNum( IN OUT tPOCT6100_INSTANCE_API f_pApiInstance ) { @@ -1829,6 +1878,7 @@ UINT32 Oct6100ApiGetChipRevisionNum( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -1844,6 +1894,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_Oct6100ApiDecodeKeyAndBist UINT32 Oct6100ApiDecodeKeyAndBist( IN OUT tPOCT6100_INSTANCE_API f_pApiInstance ) { @@ -2003,6 +2054,7 @@ UINT32 Oct6100ApiDecodeKeyAndBist( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -2018,6 +2070,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_Oct6100ApiBootFc2Pll UINT32 Oct6100ApiBootFc2Pll( IN OUT tPOCT6100_INSTANCE_API f_pApiInstance ) { @@ -2358,6 +2411,7 @@ UINT32 Oct6100ApiBootFc2Pll( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -2373,6 +2427,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_Oct6100ApiProgramFc1Pll UINT32 Oct6100ApiProgramFc1Pll( IN OUT tPOCT6100_INSTANCE_API f_pApiInstance ) { @@ -2444,6 +2499,7 @@ UINT32 Oct6100ApiProgramFc1Pll( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -2459,6 +2515,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_Oct6100ApiBootFc1Pll UINT32 Oct6100ApiBootFc1Pll( IN OUT tPOCT6100_INSTANCE_API f_pApiInstance ) { @@ -2602,6 +2659,7 @@ UINT32 Oct6100ApiBootFc1Pll( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -2617,6 +2675,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_Oct6100ApiLoadImage UINT32 Oct6100ApiLoadImage( IN OUT tPOCT6100_INSTANCE_API f_pApiInstance ) { @@ -2728,6 +2787,7 @@ UINT32 Oct6100ApiLoadImage( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -2743,6 +2803,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_Oct6100ApiCpuRegisterBist UINT32 Oct6100ApiCpuRegisterBist( IN OUT tPOCT6100_INSTANCE_API f_pApiInstance ) { @@ -2844,6 +2905,7 @@ UINT32 Oct6100ApiCpuRegisterBist( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -2859,6 +2921,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_Oct6100ApiBootSdram UINT32 Oct6100ApiBootSdram( IN OUT tPOCT6100_INSTANCE_API f_pApiInstance ) { @@ -3336,6 +3399,7 @@ UINT32 Oct6100ApiBootSdram( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -3352,6 +3416,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_Oct6100ApiEnableClocks UINT32 Oct6100ApiEnableClocks( IN OUT tPOCT6100_INSTANCE_API f_pApiInstance ) { @@ -3397,6 +3462,7 @@ UINT32 Oct6100ApiEnableClocks( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -3412,6 +3478,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_Oct6100ApiProgramNLP UINT32 Oct6100ApiProgramNLP( IN OUT tPOCT6100_INSTANCE_API f_pApiInstance ) { @@ -3872,6 +3939,7 @@ UINT32 Oct6100ApiProgramNLP( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -3887,6 +3955,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_Oct6100ApiSetH100Register UINT32 Oct6100ApiSetH100Register( IN OUT tPOCT6100_INSTANCE_API f_pApiInstance ) { @@ -4085,6 +4154,7 @@ UINT32 Oct6100ApiSetH100Register( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -4100,6 +4170,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_Oct6100ApiWriteMiscellaneousRegisters UINT32 Oct6100ApiWriteMiscellaneousRegisters( IN OUT tPOCT6100_INSTANCE_API f_pApiInstance ) { @@ -4157,6 +4228,7 @@ UINT32 Oct6100ApiWriteMiscellaneousRegisters( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -4178,6 +4250,7 @@ f_pApiInstance Pointer to API instance. This memory is used to keep the f_ulUserChipId User chip ID for this serialization object. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100ApiCreateSerializeObjects UINT32 Oct6100ApiCreateSerializeObjects( IN OUT tPOCT6100_INSTANCE_API f_pApiInstance, IN UINT32 f_ulUserChipId ) @@ -4212,6 +4285,7 @@ UINT32 Oct6100ApiCreateSerializeObjects( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -4231,6 +4305,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_Oct6100ApiDestroySerializeObjects UINT32 Oct6100ApiDestroySerializeObjects( IN OUT tPOCT6100_INSTANCE_API f_pApiInstance ) { @@ -4247,6 +4322,7 @@ UINT32 Oct6100ApiDestroySerializeObjects( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -4266,6 +4342,7 @@ f_ulNumEntry Number of access. f_aulEntry Array of access to perform. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100ApiRunEgo UINT32 Oct6100ApiRunEgo( IN OUT tPOCT6100_INSTANCE_API f_pApiInstance, IN BOOL f_fStoreFlag, @@ -4424,6 +4501,7 @@ UINT32 Oct6100ApiRunEgo( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -4442,6 +4520,7 @@ f_ulNumBytes Number of bytes associated to the access. f_aulEntry Array of access to perform. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100ApiCreateEgoEntry UINT32 Oct6100ApiCreateEgoEntry( IN UINT32 f_ulExternalAddress, IN UINT32 f_ulInternalAddress, @@ -4457,6 +4536,7 @@ UINT32 Oct6100ApiCreateEgoEntry( return cOCT6100_ERR_OK; } +#endif @@ -4478,6 +4558,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_Oct6100ApiInitChannels UINT32 Oct6100ApiInitChannels( IN OUT tPOCT6100_INSTANCE_API f_pApiInstance ) { @@ -4871,6 +4952,7 @@ UINT32 Oct6100ApiInitChannels( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -4887,6 +4969,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_Oct6100ApiInitToneInfo UINT32 Oct6100ApiInitToneInfo( IN OUT tPOCT6100_INSTANCE_API f_pApiInstance ) { @@ -5055,6 +5138,7 @@ UINT32 Oct6100ApiInitToneInfo( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -5070,6 +5154,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_Oct6100ApiExternalMemoryBist UINT32 Oct6100ApiExternalMemoryBist( IN OUT tPOCT6100_INSTANCE_API f_pApiInstance ) { @@ -5115,6 +5200,7 @@ UINT32 Oct6100ApiExternalMemoryBist( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -5133,6 +5219,7 @@ f_ulIndex Index used to generate the random number. f_ulDataMask Data mask to apply to generated number. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100ApiGenerateNumber UINT16 Oct6100ApiGenerateNumber( IN OUT tPOCT6100_INSTANCE_API f_pApiInstance, IN UINT32 f_ulIndex, @@ -5144,6 +5231,7 @@ UINT16 Oct6100ApiGenerateNumber( return (UINT16)( usGeneratedNumber & f_ulDataMask ); } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -5165,6 +5253,7 @@ f_ulNumAccesses Number of random access to be perform. f_ulErrorCode Error code to be returned if the bist fails. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100ApiRandomMemoryWrite UINT32 Oct6100ApiRandomMemoryWrite( IN OUT tPOCT6100_INSTANCE_API f_pApiInstance, IN UINT32 f_ulMemBase, @@ -5307,6 +5396,7 @@ UINT32 Oct6100ApiRandomMemoryWrite( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -5331,6 +5421,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_Oct6100ApiUserIoTest UINT32 Oct6100ApiUserIoTest( IN OUT tPOCT6100_INSTANCE_API f_pApiInstance ) { @@ -5478,6 +5569,7 @@ UINT32 Oct6100ApiUserIoTest( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -5493,6 +5585,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_Oct6100ApiExternalMemoryInit UINT32 Oct6100ApiExternalMemoryInit( IN OUT tPOCT6100_INSTANCE_API f_pApiInstance ) { @@ -5538,6 +5631,7 @@ UINT32 Oct6100ApiExternalMemoryInit( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -5553,6 +5647,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_Oct6100ApiInitMixer UINT32 Oct6100ApiInitMixer( IN OUT tPOCT6100_INSTANCE_API f_pApiInstance ) { @@ -5650,6 +5745,7 @@ UINT32 Oct6100ApiInitMixer( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -5666,6 +5762,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_Oct6100ApiInitRecordResources UINT32 Oct6100ApiInitRecordResources( IN OUT tPOCT6100_INSTANCE_API f_pApiInstance ) { @@ -5701,6 +5798,7 @@ UINT32 Oct6100ApiInitRecordResources( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -5720,6 +5818,7 @@ f_pFreeResources Pointer to user structure in which to choose what to free. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100FreeResourcesSer UINT32 Oct6100FreeResourcesSer( IN OUT tPOCT6100_INSTANCE_API f_pApiInstance, IN tPOCT6100_FREE_RESOURCES f_pFreeResources ) @@ -5919,6 +6018,7 @@ UINT32 Oct6100FreeResourcesSer( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -5937,6 +6037,7 @@ f_pProductionBist Pointer to user structure in which BIST status will be returned. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100ProductionBistSer UINT32 Oct6100ProductionBistSer( IN OUT tPOCT6100_INSTANCE_API f_pApiInstance, IN OUT tPOCT6100_PRODUCTION_BIST f_pProductionBist ) @@ -6034,6 +6135,7 @@ UINT32 Oct6100ProductionBistSer( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -6056,6 +6158,7 @@ f_ulMessageLength Length of the message to be exchanged. This value f_pulCrcResult Resulting calculated CRC value. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100ApiProductionCrc UINT32 Oct6100ApiProductionCrc( IN OUT tPOCT6100_INSTANCE_API f_pApiInstance, IN PUINT32 f_pulMessage, @@ -6096,3 +6199,4 @@ UINT32 Oct6100ApiProductionCrc( return cOCT6100_ERR_OK; } +#endif diff --git a/software/octdeviceapi/oct6100api/oct6100_api/oct6100_chip_stats.c b/software/octdeviceapi/oct6100api/oct6100_api/oct6100_chip_stats.c index bf1a55b..1fb3f7f 100644 --- a/software/octdeviceapi/oct6100api/oct6100_api/oct6100_chip_stats.c +++ b/software/octdeviceapi/oct6100api/oct6100_api/oct6100_chip_stats.c @@ -76,6 +76,7 @@ f_pApiInstance Pointer to API instance. This memory is used to keep the f_pChipStats Pointer to a tOCT6100_CHIP_STATS structure. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100ChipGetStatsDef UINT32 Oct6100ChipGetStatsDef( tPOCT6100_CHIP_STATS f_pChipStats ) { @@ -106,8 +107,10 @@ UINT32 Oct6100ChipGetStatsDef( return cOCT6100_ERR_OK; } +#endif +#if !SKIP_Oct6100ChipGetStats UINT32 Oct6100ChipGetStats( tPOCT6100_INSTANCE_API f_pApiInstance, tPOCT6100_CHIP_STATS f_pChipStats ) @@ -147,6 +150,7 @@ UINT32 Oct6100ChipGetStats( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -165,6 +169,7 @@ f_pApiInstance Pointer to API instance. This memory is used to keep the f_pChipImageInfo Pointer to a tPOCT6100_CHIP_IMAGE_INFO structure. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100ChipGetImageInfoDef UINT32 Oct6100ChipGetImageInfoDef( tPOCT6100_CHIP_IMAGE_INFO f_pChipImageInfo ) { @@ -223,8 +228,10 @@ UINT32 Oct6100ChipGetImageInfoDef( return cOCT6100_ERR_OK; } +#endif +#if !SKIP_Oct6100ChipGetImageInfo UINT32 Oct6100ChipGetImageInfo( tPOCT6100_INSTANCE_API f_pApiInstance, tPOCT6100_CHIP_IMAGE_INFO f_pChipImageInfo ) @@ -299,6 +306,7 @@ UINT32 Oct6100ChipGetImageInfo( return cOCT6100_ERR_OK; } +#endif /**************************** PRIVATE FUNCTIONS ****************************/ @@ -316,6 +324,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_Oct6100ApiChipStatsSwInit UINT32 Oct6100ApiChipStatsSwInit( IN OUT tPOCT6100_INSTANCE_API f_pApiInstance ) { @@ -356,6 +365,7 @@ UINT32 Oct6100ApiChipStatsSwInit( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -373,6 +383,7 @@ f_pApiInstance Pointer to API instance. This memory is used to keep the f_pChipStats Pointer to master mode configuration structure. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100ChipGetStatsSer UINT32 Oct6100ChipGetStatsSer( IN OUT tPOCT6100_INSTANCE_API f_pApiInstance, OUT tPOCT6100_CHIP_STATS f_pChipStats ) @@ -431,4 +442,5 @@ UINT32 Oct6100ChipGetStatsSer( return cOCT6100_ERR_OK; } +#endif diff --git a/software/octdeviceapi/oct6100api/oct6100_api/oct6100_conf_bridge.c b/software/octdeviceapi/oct6100api/oct6100_api/oct6100_conf_bridge.c index 1dba9a8..b237efe 100644 --- a/software/octdeviceapi/oct6100api/oct6100_api/oct6100_conf_bridge.c +++ b/software/octdeviceapi/oct6100api/oct6100_api/oct6100_conf_bridge.c @@ -86,6 +86,7 @@ f_pApiInstance Pointer to API instance. This memory is used to keep the f_pConfBridgeOpen Pointer to conference bridge open structure. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100ConfBridgeOpenDef UINT32 Oct6100ConfBridgeOpenDef( tPOCT6100_CONF_BRIDGE_OPEN f_pConfBridgeOpen ) { @@ -94,8 +95,10 @@ UINT32 Oct6100ConfBridgeOpenDef( return cOCT6100_ERR_OK; } +#endif +#if !SKIP_Oct6100ConfBridgeOpen UINT32 Oct6100ConfBridgeOpen( tPOCT6100_INSTANCE_API f_pApiInstance, tPOCT6100_CONF_BRIDGE_OPEN f_pConfBridgeOpen ) @@ -135,6 +138,7 @@ UINT32 Oct6100ConfBridgeOpen( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -154,6 +158,7 @@ f_pApiInstance Pointer to API instance. This memory is used to keep the f_pConfBridgeClose Pointer to conference bridge close structure. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100ConfBridgeCloseDef UINT32 Oct6100ConfBridgeCloseDef( tPOCT6100_CONF_BRIDGE_CLOSE f_pConfBridgeClose ) { @@ -161,8 +166,10 @@ UINT32 Oct6100ConfBridgeCloseDef( return cOCT6100_ERR_OK; } +#endif +#if !SKIP_Oct6100ConfBridgeClose UINT32 Oct6100ConfBridgeClose( tPOCT6100_INSTANCE_API f_pApiInstance, tPOCT6100_CONF_BRIDGE_CLOSE f_pConfBridgeClose ) @@ -202,6 +209,7 @@ UINT32 Oct6100ConfBridgeClose( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -220,6 +228,7 @@ f_pApiInstance Pointer to API instance. This memory is used to keep the f_pConfBridgeAdd Pointer to conference bridge channel addition structure. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100ConfBridgeChanAddDef UINT32 Oct6100ConfBridgeChanAddDef( tPOCT6100_CONF_BRIDGE_CHAN_ADD f_pConfBridgeAdd ) { @@ -233,8 +242,10 @@ UINT32 Oct6100ConfBridgeChanAddDef( return cOCT6100_ERR_OK; } +#endif +#if !SKIP_Oct6100ConfBridgeChanAdd UINT32 Oct6100ConfBridgeChanAdd( tPOCT6100_INSTANCE_API f_pApiInstance, tPOCT6100_CONF_BRIDGE_CHAN_ADD f_pConfBridgeAdd ) @@ -274,6 +285,7 @@ UINT32 Oct6100ConfBridgeChanAdd( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -293,6 +305,7 @@ f_pApiInstance Pointer to API instance. This memory is used to keep the f_pConfBridgeRemove Pointer to conference bridge channel removal structure. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100ConfBridgeChanRemoveDef UINT32 Oct6100ConfBridgeChanRemoveDef( tPOCT6100_CONF_BRIDGE_CHAN_REMOVE f_pConfBridgeRemove ) { @@ -302,8 +315,10 @@ UINT32 Oct6100ConfBridgeChanRemoveDef( return cOCT6100_ERR_OK; } +#endif +#if !SKIP_Oct6100ConfBridgeChanRemove UINT32 Oct6100ConfBridgeChanRemove( tPOCT6100_INSTANCE_API f_pApiInstance, tPOCT6100_CONF_BRIDGE_CHAN_REMOVE f_pConfBridgeRemove ) @@ -343,6 +358,7 @@ UINT32 Oct6100ConfBridgeChanRemove( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -360,6 +376,7 @@ f_pApiInstance Pointer to API instance. This memory is used to keep the f_pConfBridgeMute Pointer to conference bridge channel mute structure. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100ConfBridgeChanMuteDef UINT32 Oct6100ConfBridgeChanMuteDef( tPOCT6100_CONF_BRIDGE_CHAN_MUTE f_pConfBridgeMute ) { @@ -367,8 +384,10 @@ UINT32 Oct6100ConfBridgeChanMuteDef( return cOCT6100_ERR_OK; } +#endif +#if !SKIP_Oct6100ConfBridgeChanMute UINT32 Oct6100ConfBridgeChanMute( tPOCT6100_INSTANCE_API f_pApiInstance, tPOCT6100_CONF_BRIDGE_CHAN_MUTE f_pConfBridgeMute ) @@ -408,6 +427,7 @@ UINT32 Oct6100ConfBridgeChanMute( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -426,6 +446,7 @@ f_pApiInstance Pointer to API instance. This memory is used to keep the f_pConfBridgeUnMute Pointer to conference bridge channel unmute structure. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100ConfBridgeChanUnMuteDef UINT32 Oct6100ConfBridgeChanUnMuteDef( tPOCT6100_CONF_BRIDGE_CHAN_UNMUTE f_pConfBridgeUnMute ) { @@ -433,7 +454,9 @@ UINT32 Oct6100ConfBridgeChanUnMuteDef( return cOCT6100_ERR_OK; } +#endif +#if !SKIP_Oct6100ConfBridgeChanUnMute UINT32 Oct6100ConfBridgeChanUnMute( tPOCT6100_INSTANCE_API f_pApiInstance, tPOCT6100_CONF_BRIDGE_CHAN_UNMUTE f_pConfBridgeUnMute ) @@ -473,6 +496,7 @@ UINT32 Oct6100ConfBridgeChanUnMute( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -493,6 +517,7 @@ f_pConfBridgeDominant Pointer to conference bridge dominant speaker structure. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100ConfBridgeDominantSpeakerSetDef UINT32 Oct6100ConfBridgeDominantSpeakerSetDef( tPOCT6100_CONF_BRIDGE_DOMINANT_SPEAKER_SET f_pConfBridgeDominantSpeaker ) { @@ -501,8 +526,10 @@ UINT32 Oct6100ConfBridgeDominantSpeakerSetDef( return cOCT6100_ERR_OK; } +#endif +#if !SKIP_Oct6100ConfBridgeDominantSpeakerSet UINT32 Oct6100ConfBridgeDominantSpeakerSet( tPOCT6100_INSTANCE_API f_pApiInstance, tPOCT6100_CONF_BRIDGE_DOMINANT_SPEAKER_SET f_pConfBridgeDominantSpeaker ) @@ -542,6 +569,7 @@ UINT32 Oct6100ConfBridgeDominantSpeakerSet( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -561,6 +589,7 @@ f_pConfBridgeMaskChange Pointer to conference bridge change of mask structure. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100ConfBridgeMaskChangeDef UINT32 Oct6100ConfBridgeMaskChangeDef( tPOCT6100_CONF_BRIDGE_MASK_CHANGE f_pConfBridgeMaskChange ) { @@ -569,8 +598,10 @@ UINT32 Oct6100ConfBridgeMaskChangeDef( return cOCT6100_ERR_OK; } +#endif +#if !SKIP_Oct6100ConfBridgeMaskChange UINT32 Oct6100ConfBridgeMaskChange( tPOCT6100_INSTANCE_API f_pApiInstance, tPOCT6100_CONF_BRIDGE_MASK_CHANGE f_pConfBridgeMaskChange ) @@ -610,6 +641,7 @@ UINT32 Oct6100ConfBridgeMaskChange( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -627,6 +659,7 @@ f_pApiInstance Pointer to API instance. This memory is used to keep the f_pConfBridgeStats Pointer to conference bridge channel stats structure. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100ConfBridgeGetStatsDef UINT32 Oct6100ConfBridgeGetStatsDef( tPOCT6100_CONF_BRIDGE_STATS f_pConfBridgeStats ) { @@ -637,8 +670,10 @@ UINT32 Oct6100ConfBridgeGetStatsDef( return cOCT6100_ERR_OK; } +#endif +#if !SKIP_Oct6100ConfBridgeGetStats UINT32 Oct6100ConfBridgeGetStats( tPOCT6100_INSTANCE_API f_pApiInstance, tPOCT6100_CONF_BRIDGE_STATS f_pConfBridgeStats ) @@ -678,6 +713,7 @@ UINT32 Oct6100ConfBridgeGetStats( return cOCT6100_ERR_OK; } +#endif /**************************** PRIVATE FUNCTIONS ****************************/ @@ -696,6 +732,7 @@ f_pOpenChip Pointer to chip configuration struct. f_pInstSizes Pointer to struct containing instance sizes. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100ApiGetConfBridgeSwSizes UINT32 Oct6100ApiGetConfBridgeSwSizes( IN tPOCT6100_CHIP_OPEN f_pOpenChip, OUT tPOCT6100_API_INSTANCE_SIZES f_pInstSizes ) @@ -759,6 +796,7 @@ UINT32 Oct6100ApiGetConfBridgeSwSizes( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -775,6 +813,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_Oct6100ApiConfBridgeSwInit UINT32 Oct6100ApiConfBridgeSwInit( IN OUT tPOCT6100_INSTANCE_API f_pApiInstance ) { @@ -847,6 +886,7 @@ UINT32 Oct6100ApiConfBridgeSwInit( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -867,6 +907,7 @@ f_pConfBridgeOpen Pointer to conference bridge configuration structure. future function calls is returned in this structure. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100ConfBridgeOpenSer UINT32 Oct6100ConfBridgeOpenSer( IN OUT tPOCT6100_INSTANCE_API f_pApiInstance, IN OUT tPOCT6100_CONF_BRIDGE_OPEN f_pConfBridgeOpen ) @@ -891,6 +932,7 @@ UINT32 Oct6100ConfBridgeOpenSer( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -908,6 +950,7 @@ f_pApiInstance Pointer to API instance. This memory is used to keep the f_pConfBridgeOpen Pointer to conference bridge configuration structure. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100ApiCheckBridgeParams UINT32 Oct6100ApiCheckBridgeParams( IN OUT tPOCT6100_INSTANCE_API f_pApiInstance, IN tPOCT6100_CONF_BRIDGE_OPEN f_pConfBridgeOpen ) @@ -928,6 +971,7 @@ UINT32 Oct6100ApiCheckBridgeParams( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -945,6 +989,7 @@ f_pApiInstance Pointer to API instance. This memory is used to keep the f_pusBridgeIndex Allocated entry in the API conference bridge list. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100ApiReserveBridgeResources UINT32 Oct6100ApiReserveBridgeResources( IN OUT tPOCT6100_INSTANCE_API f_pApiInstance, OUT PUINT16 f_pusBridgeIndex ) @@ -962,6 +1007,7 @@ UINT32 Oct6100ApiReserveBridgeResources( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -981,6 +1027,7 @@ f_pConfBridgeOpen Pointer to conference bridge configuration structure. f_usBridgeIndex Allocated entry in API conference bridge list. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100ApiUpdateBridgeEntry UINT32 Oct6100ApiUpdateBridgeEntry( IN OUT tPOCT6100_INSTANCE_API f_pApiInstance, IN OUT tPOCT6100_CONF_BRIDGE_OPEN f_pConfBridgeOpen, @@ -1053,6 +1100,7 @@ UINT32 Oct6100ApiUpdateBridgeEntry( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -1071,6 +1119,7 @@ f_pApiInstance Pointer to API instance. This memory is used to keep the f_pConfBridgeClose Pointer to conference bridge close structure. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100ConfBridgeCloseSer UINT32 Oct6100ConfBridgeCloseSer( IN OUT tPOCT6100_INSTANCE_API f_pApiInstance, IN tPOCT6100_CONF_BRIDGE_CLOSE f_pConfBridgeClose ) @@ -1093,6 +1142,7 @@ UINT32 Oct6100ConfBridgeCloseSer( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -1111,6 +1161,7 @@ f_pConfBridgeClose Pointer to conference bridge close structure. f_pusBridgeIndex Pointer to API instance conference bridge index. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100ApiAssertBridgeParams UINT32 Oct6100ApiAssertBridgeParams( IN OUT tPOCT6100_INSTANCE_API f_pApiInstance, IN tPOCT6100_CONF_BRIDGE_CLOSE f_pConfBridgeClose, @@ -1142,6 +1193,7 @@ UINT32 Oct6100ApiAssertBridgeParams( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -1159,6 +1211,7 @@ f_pApiInstance Pointer to API instance. This memory is used to keep the f_usBridgeIndex Allocated external memory block for the conference bridge. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100ApiReleaseBridgeResources UINT32 Oct6100ApiReleaseBridgeResources( IN OUT tPOCT6100_INSTANCE_API f_pApiInstance, IN UINT16 f_usBridgeIndex ) @@ -1231,6 +1284,7 @@ UINT32 Oct6100ApiReleaseBridgeResources( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -1248,6 +1302,7 @@ f_pApiInstance Pointer to API instance. This memory is used to keep the f_pConfBridgeAdd Pointer to conference bridge channel add structure. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100ConfBridgeChanAddSer UINT32 Oct6100ConfBridgeChanAddSer( IN OUT tPOCT6100_INSTANCE_API f_pApiInstance, IN tPOCT6100_CONF_BRIDGE_CHAN_ADD f_pConfBridgeAdd ) @@ -1321,6 +1376,7 @@ UINT32 Oct6100ConfBridgeChanAddSer( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -1347,6 +1403,7 @@ f_pulListenerMaskIndex Index of the listener in this flexible conference bridge. f_pulListenerMask Mask of listeners in this flexible conference bridge. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100ApiCheckBridgeAddParams UINT32 Oct6100ApiCheckBridgeAddParams( IN OUT tPOCT6100_INSTANCE_API f_pApiInstance, IN tPOCT6100_CONF_BRIDGE_CHAN_ADD f_pConfBridgeAdd, @@ -1583,6 +1640,7 @@ UINT32 Oct6100ApiCheckBridgeAddParams( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -1608,6 +1666,7 @@ f_pusSubStoreEventIndex Sub-Store event index within the API's list of mixer ev f_pusCopyEventIndex Copy event index within the API's list of mixer event. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100ApiReserveBridgeAddResources UINT32 Oct6100ApiReserveBridgeAddResources( IN OUT tPOCT6100_INSTANCE_API f_pApiInstance, IN UINT16 f_usBridgeIndex, @@ -1953,6 +2012,7 @@ UINT32 Oct6100ApiReserveBridgeAddResources( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -1984,6 +2044,7 @@ f_ulListenerMaskIndex Index of the listener in this flexible conference bridge. f_ulListenerMask Mask of listeners in this flexible conference bridge. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100ApiBridgeEventAdd UINT32 Oct6100ApiBridgeEventAdd( IN OUT tPOCT6100_INSTANCE_API f_pApiInstance, IN UINT16 f_usBridgeIndex, @@ -2788,6 +2849,7 @@ UINT32 Oct6100ApiBridgeEventAdd( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -2812,6 +2874,7 @@ f_ulSourceInputPort Source input port of the conference for this channel. f_ulDestinationInputPort Destination input port of the conference for this channel. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100ApiBridgeAddParticipantToChannel UINT32 Oct6100ApiBridgeAddParticipantToChannel( IN OUT tPOCT6100_INSTANCE_API f_pApiInstance, IN UINT16 f_usBridgeIndex, @@ -3216,6 +3279,7 @@ UINT32 Oct6100ApiBridgeAddParticipantToChannel( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -3233,6 +3297,7 @@ f_pApiInstance Pointer to API instance. This memory is used to keep the f_pConfBridgeRemove Pointer to conference bridge channel remove structure. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100ConfBridgeChanRemoveSer UINT32 Oct6100ConfBridgeChanRemoveSer( IN OUT tPOCT6100_INSTANCE_API f_pApiInstance, IN tPOCT6100_CONF_BRIDGE_CHAN_REMOVE f_pConfBridgeRemove ) @@ -3289,6 +3354,7 @@ UINT32 Oct6100ConfBridgeChanRemoveSer( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -3311,6 +3377,7 @@ f_pusSubStoreEventIndex Pointer to the sub-store mixer event. f_pusCopyEventIndex Pointer to the copy mixer event. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100ApiCheckChanRemoveParams UINT32 Oct6100ApiCheckChanRemoveParams( IN OUT tPOCT6100_INSTANCE_API f_pApiInstance, IN tPOCT6100_CONF_BRIDGE_CHAN_REMOVE f_pConfBridgeRemove, @@ -3410,6 +3477,7 @@ UINT32 Oct6100ApiCheckChanRemoveParams( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -3433,6 +3501,7 @@ f_usSubStoreEventIndex Index of the sub-store mixer event. f_usCopyEventIndex Index of the copy mixer event. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100ApiReleaseChanEventResources UINT32 Oct6100ApiReleaseChanEventResources( IN OUT tPOCT6100_INSTANCE_API f_pApiInstance, IN tPOCT6100_CONF_BRIDGE_CHAN_REMOVE f_pConfBridgeRemove, @@ -3729,6 +3798,7 @@ UINT32 Oct6100ApiReleaseChanEventResources( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -3752,6 +3822,7 @@ f_usSubStoreEventIndex Allocated entry for the substract and store event of the f_usCopyEventIndex Allocated entry for the copy event of the channel. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100ApiBridgeEventRemove UINT32 Oct6100ApiBridgeEventRemove ( IN OUT tPOCT6100_INSTANCE_API f_pApiInstance, IN tPOCT6100_CONF_BRIDGE_CHAN_REMOVE f_pConfBridgeRemove, @@ -4910,6 +4981,7 @@ UINT32 Oct6100ApiBridgeEventRemove ( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -4930,6 +5002,7 @@ f_usDestinationChannelIndex Destination channel to store resulting voice to. f_fRemovePermanently Whether to remove permanently this participant. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100ApiBridgeRemoveParticipantFromChannel UINT32 Oct6100ApiBridgeRemoveParticipantFromChannel( IN OUT tPOCT6100_INSTANCE_API f_pApiInstance, IN UINT16 f_usBridgeIndex, @@ -5414,6 +5487,7 @@ UINT32 Oct6100ApiBridgeRemoveParticipantFromChannel( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -5431,6 +5505,7 @@ f_pApiInstance Pointer to API instance. This memory is used to keep the f_pConfBridgeMute Pointer to conference bridge mute structure. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100ConfBridgeChanMuteSer UINT32 Oct6100ConfBridgeChanMuteSer( IN OUT tPOCT6100_INSTANCE_API f_pApiInstance, IN tPOCT6100_CONF_BRIDGE_CHAN_MUTE f_pConfBridgeMute ) @@ -5464,6 +5539,7 @@ UINT32 Oct6100ConfBridgeChanMuteSer( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -5485,6 +5561,7 @@ f_pusSubStoreEventIndex Pointer to a sub-store mixer event index. f_pfFlexibleConfBridge If this is a flexible conference bridge. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100ApiCheckBridgeMuteParams UINT32 Oct6100ApiCheckBridgeMuteParams( IN OUT tPOCT6100_INSTANCE_API f_pApiInstance, IN tPOCT6100_CONF_BRIDGE_CHAN_MUTE f_pConfBridgeMute, @@ -5570,6 +5647,7 @@ UINT32 Oct6100ApiCheckBridgeMuteParams( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -5591,6 +5669,7 @@ f_usSubStoreEventIndex Allocated entry for the substract and store event of the f_fFlexibleConfBridge If this is a flexible conference bridge. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100ApiUpdateBridgeMuteResources UINT32 Oct6100ApiUpdateBridgeMuteResources( IN OUT tPOCT6100_INSTANCE_API f_pApiInstance, IN UINT16 f_usChanIndex, @@ -5881,6 +5960,7 @@ UINT32 Oct6100ApiUpdateBridgeMuteResources( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -5898,6 +5978,7 @@ f_pApiInstance Pointer to API instance. This memory is used to keep the f_pConfBridgeUnMute Pointer to conference bridge channel unmute structure. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100ConfBridgeChanUnMuteSer UINT32 Oct6100ConfBridgeChanUnMuteSer( IN OUT tPOCT6100_INSTANCE_API f_pApiInstance, IN tPOCT6100_CONF_BRIDGE_CHAN_UNMUTE f_pConfBridgeUnMute ) @@ -5931,6 +6012,7 @@ UINT32 Oct6100ConfBridgeChanUnMuteSer( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -5952,6 +6034,7 @@ f_pusSubStoreEventIndex Pointer to the sub-store event of the channel. f_pfFlexibleConfBridge If this is a flexible conference bridge. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100ApiCheckBridgeUnMuteParams UINT32 Oct6100ApiCheckBridgeUnMuteParams( IN OUT tPOCT6100_INSTANCE_API f_pApiInstance, IN tPOCT6100_CONF_BRIDGE_CHAN_UNMUTE f_pConfBridgeUnMute, @@ -6034,6 +6117,7 @@ UINT32 Oct6100ApiCheckBridgeUnMuteParams( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -6055,6 +6139,7 @@ f_usSubStoreEventIndex Allocated entry for the substract and store event of the f_fFlexibleConfBridge If this is a flexible conference bridge. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100ApiUpdateBridgeUnMuteResources UINT32 Oct6100ApiUpdateBridgeUnMuteResources( IN OUT tPOCT6100_INSTANCE_API f_pApiInstance, IN UINT16 f_usChanIndex, @@ -6345,6 +6430,7 @@ UINT32 Oct6100ApiUpdateBridgeUnMuteResources( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -6364,6 +6450,7 @@ f_pConfBridgeDominant Pointer to conference bridge dominant speaker structure. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100ConfBridgeDominantSpeakerSetSer UINT32 Oct6100ConfBridgeDominantSpeakerSetSer( IN OUT tPOCT6100_INSTANCE_API f_pApiInstance, IN tPOCT6100_CONF_BRIDGE_DOMINANT_SPEAKER_SET f_pConfBridgeDominantSpeaker ) @@ -6384,6 +6471,7 @@ UINT32 Oct6100ConfBridgeDominantSpeakerSetSer( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -6401,6 +6489,7 @@ f_pConfBridgeDominant Pointer to conference bridge channel dominant speaker stru f_pusChannelIndex Pointer to a channel index. f_pusChannelIndex Pointer to a bridge index. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100ApiCheckBridgeDominantSpeakerParams UINT32 Oct6100ApiCheckBridgeDominantSpeakerParams( IN OUT tPOCT6100_INSTANCE_API f_pApiInstance, IN tPOCT6100_CONF_BRIDGE_DOMINANT_SPEAKER_SET f_pConfBridgeDominantSpeaker, @@ -6506,6 +6595,7 @@ UINT32 Oct6100ApiCheckBridgeDominantSpeakerParams( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -6525,6 +6615,7 @@ f_usChanIndex Index of the channel to be set as the dominant speaker. f_usBridgeIndex Index of the bridge where this channel is on. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100ApiUpdateBridgeDominantSpeakerResources UINT32 Oct6100ApiUpdateBridgeDominantSpeakerResources( IN OUT tPOCT6100_INSTANCE_API f_pApiInstance, IN UINT16 f_usChanIndex, @@ -6581,6 +6672,7 @@ UINT32 Oct6100ApiUpdateBridgeDominantSpeakerResources( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -6601,6 +6693,7 @@ f_pConfBridgeMaskChange Pointer to conference bridge participant mask change structure. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100ConfBridgeMaskChangeSer UINT32 Oct6100ConfBridgeMaskChangeSer( IN OUT tPOCT6100_INSTANCE_API f_pApiInstance, IN tPOCT6100_CONF_BRIDGE_MASK_CHANGE f_pConfBridgeMaskChange ) @@ -6627,6 +6720,7 @@ UINT32 Oct6100ConfBridgeMaskChangeSer( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -6647,6 +6741,7 @@ f_pusChannelIndex Pointer to a channel index. f_pusBridgeIndex Pointer to a bridge index. f_pulNewParticipantMask New mask to apply for this participant. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100ApiCheckBridgeMaskChangeParams UINT32 Oct6100ApiCheckBridgeMaskChangeParams( IN OUT tPOCT6100_INSTANCE_API f_pApiInstance, IN tPOCT6100_CONF_BRIDGE_MASK_CHANGE f_pConfBridgeMaskChange, @@ -6718,6 +6813,7 @@ UINT32 Oct6100ApiCheckBridgeMaskChangeParams( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -6738,6 +6834,7 @@ f_usChanIndex Channel index of the channel to be modified. f_ulNewListenerMask New mask to apply to the selected participant. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100ApiUpdateMaskModifyResources UINT32 Oct6100ApiUpdateMaskModifyResources( IN OUT tPOCT6100_INSTANCE_API f_pApiInstance, IN UINT16 f_usBridgeIndex, @@ -6864,6 +6961,7 @@ UINT32 Oct6100ApiUpdateMaskModifyResources( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -6882,6 +6980,7 @@ f_usChanIndex Channel index of the channel to be modified. f_ulNewListenerMask New mask to apply to the selected participant. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100ApiBridgeUpdateMask UINT32 Oct6100ApiBridgeUpdateMask( IN OUT tPOCT6100_INSTANCE_API f_pApiInstance, IN UINT16 f_usBridgeIndex, @@ -7092,6 +7191,7 @@ UINT32 Oct6100ApiBridgeUpdateMask( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -7109,6 +7209,7 @@ f_pApiInstance Pointer to API instance. This memory is used to keep the f_pConfBridgeStats Pointer to conference bridge stats structure. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100ConfBridgeGetStatsSer UINT32 Oct6100ConfBridgeGetStatsSer( IN OUT tPOCT6100_INSTANCE_API f_pApiInstance, IN OUT tPOCT6100_CONF_BRIDGE_STATS f_pConfBridgeStats ) @@ -7152,6 +7253,7 @@ UINT32 Oct6100ConfBridgeGetStatsSer( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -7168,6 +7270,7 @@ f_pApiInstance Pointer to API instance. This memory is used to keep the f_pusBridgeIndex List entry reserved. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100ApiReserveBridgeEntry UINT32 Oct6100ApiReserveBridgeEntry( IN OUT tPOCT6100_INSTANCE_API f_pApiInstance, OUT PUINT16 f_pusBridgeIndex ) @@ -7191,6 +7294,7 @@ UINT32 Oct6100ApiReserveBridgeEntry( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -7208,6 +7312,7 @@ f_pApiInstance Pointer to API instance. This memory is used to keep the f_usBridgeIndex List entry reserved. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100ApiReleaseBridgeEntry UINT32 Oct6100ApiReleaseBridgeEntry( IN OUT tPOCT6100_INSTANCE_API f_pApiInstance, IN UINT16 f_usBridgeIndex ) @@ -7223,6 +7328,7 @@ UINT32 Oct6100ApiReleaseBridgeEntry( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -7248,6 +7354,7 @@ f_usBridgeFirstLoadEventPtr Load index to check against. First valid sub store index. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100ApiGetPrevLastSubStoreEvent UINT32 Oct6100ApiGetPrevLastSubStoreEvent( IN OUT tPOCT6100_INSTANCE_API f_pApiInstance, IN UINT16 f_usBridgeIndex, @@ -7316,6 +7423,7 @@ UINT32 Oct6100ApiGetPrevLastSubStoreEvent( return ulResult; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -7337,6 +7445,7 @@ f_pusBridgeEntry Bridge entry. f_pusPreviousIndex Previous index. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100ApiGetPreviousEvent UINT32 Oct6100ApiGetPreviousEvent( IN OUT tPOCT6100_INSTANCE_API f_pApiInstance, IN UINT16 f_usEntryIndex, @@ -7374,6 +7483,7 @@ UINT32 Oct6100ApiGetPreviousEvent( return ulResult; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -7396,6 +7506,7 @@ f_usDominantSpeakerIndex Index of the channel which is the dominant speaker in the conference. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100ApiBridgeSetDominantSpeaker UINT32 Oct6100ApiBridgeSetDominantSpeaker( IN OUT tPOCT6100_INSTANCE_API f_pApiInstance, IN UINT16 f_usChannelIndex, @@ -7444,6 +7555,7 @@ UINT32 Oct6100ApiBridgeSetDominantSpeaker( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -7460,6 +7572,7 @@ f_pApiInstance Pointer to API instance. This memory is used to keep the f_pusParticipantIndex List entry reserved. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100ApiReserveFlexConfParticipantEntry UINT32 Oct6100ApiReserveFlexConfParticipantEntry( IN OUT tPOCT6100_INSTANCE_API f_pApiInstance, OUT PUINT16 f_pusParticipantIndex ) @@ -7483,6 +7596,7 @@ UINT32 Oct6100ApiReserveFlexConfParticipantEntry( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -7501,6 +7615,7 @@ f_pApiInstance Pointer to API instance. This memory is used to keep the f_usParticipantIndex List entry reserved. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100ApiReleaseFlexConfParticipantEntry UINT32 Oct6100ApiReleaseFlexConfParticipantEntry( IN OUT tPOCT6100_INSTANCE_API f_pApiInstance, IN UINT16 f_usParticipantIndex ) @@ -7516,3 +7631,4 @@ UINT32 Oct6100ApiReleaseFlexConfParticipantEntry( return cOCT6100_ERR_OK; } +#endif diff --git a/software/octdeviceapi/oct6100api/oct6100_api/oct6100_debug.c b/software/octdeviceapi/oct6100api/oct6100_api/oct6100_debug.c index 18c82c0..975f85b 100644 --- a/software/octdeviceapi/oct6100api/oct6100_api/oct6100_debug.c +++ b/software/octdeviceapi/oct6100api/oct6100_api/oct6100_debug.c @@ -78,6 +78,7 @@ f_pApiInstance Pointer to API instance. This memory is used to keep the f_pSelectDebugChan Pointer to select debug channel structure. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100DebugSelectChannelDef UINT32 Oct6100DebugSelectChannelDef( tPOCT6100_DEBUG_SELECT_CHANNEL f_pSelectDebugChan ) { @@ -85,7 +86,9 @@ UINT32 Oct6100DebugSelectChannelDef( return cOCT6100_ERR_OK; } +#endif +#if !SKIP_Oct6100DebugSelectChannel UINT32 Oct6100DebugSelectChannel( tPOCT6100_INSTANCE_API f_pApiInstance, tPOCT6100_DEBUG_SELECT_CHANNEL f_pSelectDebugChan ) @@ -125,6 +128,7 @@ UINT32 Oct6100DebugSelectChannel( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -142,6 +146,7 @@ f_pApiInstance Pointer to API instance. This memory is used to keep the f_pGetData Pointer to debug get data structure. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100DebugGetDataDef UINT32 Oct6100DebugGetDataDef( tPOCT6100_DEBUG_GET_DATA f_pGetData ) { @@ -155,7 +160,9 @@ UINT32 Oct6100DebugGetDataDef( return cOCT6100_ERR_OK; } +#endif +#if !SKIP_Oct6100DebugGetData UINT32 Oct6100DebugGetData( tPOCT6100_INSTANCE_API f_pApiInstance, tPOCT6100_DEBUG_GET_DATA f_pGetData ) @@ -195,6 +202,7 @@ UINT32 Oct6100DebugGetData( return cOCT6100_ERR_OK; } +#endif /**************************** PRIVATE FUNCTIONS ****************************/ @@ -215,6 +223,7 @@ f_pSelectDebugChan Pointer to a tOCT6100_DEBUG_SELECT_CHANNEL structure. f_fCheckChannelRecording Check if channel recording is enabled or not. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100DebugSelectChannelSer UINT32 Oct6100DebugSelectChannelSer( IN OUT tPOCT6100_INSTANCE_API f_pApiInstance, IN tPOCT6100_DEBUG_SELECT_CHANNEL f_pSelectDebugChan, @@ -448,6 +457,7 @@ UINT32 Oct6100DebugSelectChannelSer( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -465,6 +475,7 @@ f_pApiInstance Pointer to API instance. This memory is used to keep the f_pGetData Pointer to a tOCT6100_DEBUG_GET_DATA structure. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100DebugGetDataSer UINT32 Oct6100DebugGetDataSer( IN OUT tPOCT6100_INSTANCE_API f_pApiInstance, IN OUT tPOCT6100_DEBUG_GET_DATA f_pGetData ) @@ -1218,3 +1229,4 @@ UINT32 Oct6100DebugGetDataSer( return cOCT6100_ERR_OK; } +#endif diff --git a/software/octdeviceapi/oct6100api/oct6100_api/oct6100_events.c b/software/octdeviceapi/oct6100api/oct6100_api/oct6100_events.c index 056d717..4d67576 100644 --- a/software/octdeviceapi/oct6100api/oct6100_api/oct6100_events.c +++ b/software/octdeviceapi/oct6100api/oct6100_api/oct6100_events.c @@ -83,6 +83,7 @@ f_pApiInstance Pointer to API instance. This memory is used to keep f_pEventGetTone Pointer to structure used to store the Tone events. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100EventGetToneDef UINT32 Oct6100EventGetToneDef( tPOCT6100_EVENT_GET_TONE f_pEventGetTone ) { @@ -94,8 +95,10 @@ UINT32 Oct6100EventGetToneDef( return cOCT6100_ERR_OK; } +#endif +#if !SKIP_Oct6100EventGetTone UINT32 Oct6100EventGetTone( tPOCT6100_INSTANCE_API f_pApiInstance, tPOCT6100_EVENT_GET_TONE f_pEventGetTone ) @@ -135,6 +138,7 @@ UINT32 Oct6100EventGetTone( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -152,6 +156,7 @@ f_pApiInstance Pointer to API instance. This memory is used to keep f_pBufPlayoutGetEvent Pointer to structure used to store the playout events. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100BufferPlayoutGetEventDef UINT32 Oct6100BufferPlayoutGetEventDef( tPOCT6100_BUFFER_PLAYOUT_GET_EVENT f_pBufPlayoutGetEvent ) { @@ -163,8 +168,10 @@ UINT32 Oct6100BufferPlayoutGetEventDef( return cOCT6100_ERR_OK; } +#endif +#if !SKIP_Oct6100BufferPlayoutGetEvent UINT32 Oct6100BufferPlayoutGetEvent( tPOCT6100_INSTANCE_API f_pApiInstance, tPOCT6100_BUFFER_PLAYOUT_GET_EVENT f_pBufPlayoutGetEvent ) @@ -204,6 +211,7 @@ UINT32 Oct6100BufferPlayoutGetEvent( return cOCT6100_ERR_OK; } +#endif /**************************** PRIVATE FUNCTIONS ****************************/ @@ -223,6 +231,7 @@ f_pOpenChip Pointer to chip configuration struct. f_pInstSizes Pointer to struct containing instance sizes. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100ApiGetEventsSwSizes UINT32 Oct6100ApiGetEventsSwSizes( IN tPOCT6100_CHIP_OPEN f_pOpenChip, OUT tPOCT6100_API_INSTANCE_SIZES f_pInstSizes ) @@ -259,6 +268,7 @@ UINT32 Oct6100ApiGetEventsSwSizes( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -277,6 +287,7 @@ f_pEventGetTone Pointer to structure which will contain the retreived events. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100EventGetToneSer UINT32 Oct6100EventGetToneSer( IN OUT tPOCT6100_INSTANCE_API f_pApiInstance, IN OUT tPOCT6100_EVENT_GET_TONE f_pEventGetTone ) @@ -392,6 +403,7 @@ UINT32 Oct6100EventGetToneSer( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -410,6 +422,7 @@ f_pApiInstance Pointer to API instance. This memory is used to keep f_ulResetBuf Reset flag. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100ApiTransferToneEvents UINT32 Oct6100ApiTransferToneEvents( IN OUT tPOCT6100_INSTANCE_API f_pApiInstance, IN UINT32 f_ulResetBuf ) @@ -851,6 +864,7 @@ UINT32 Oct6100ApiTransferToneEvents( return cOCT6100_ERR_OK; } +#endif @@ -873,6 +887,7 @@ f_pEventGetPlayoutStop Pointer to structure which will contain the retreived events. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100BufferPlayoutGetEventSer UINT32 Oct6100BufferPlayoutGetEventSer( IN OUT tPOCT6100_INSTANCE_API f_pApiInstance, IN OUT tPOCT6100_BUFFER_PLAYOUT_GET_EVENT f_pBufPlayoutGetEvent ) @@ -992,6 +1007,7 @@ UINT32 Oct6100BufferPlayoutGetEventSer( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -1010,6 +1026,7 @@ f_pApiInstance Pointer to API instance. This memory is used to keep f_ulResetBuf Reset flag. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100BufferPlayoutTransferEvents UINT32 Oct6100BufferPlayoutTransferEvents( IN OUT tPOCT6100_INSTANCE_API f_pApiInstance, IN UINT32 f_ulResetBuf ) @@ -1096,6 +1113,7 @@ UINT32 Oct6100BufferPlayoutTransferEvents( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -1118,6 +1136,7 @@ f_fSaveToSoftBuffer Save event to software buffer. f_pfEventDetected Whether or not an event was detected. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100BufferPlayoutCheckForSpecificEvent UINT32 Oct6100BufferPlayoutCheckForSpecificEvent( IN OUT tPOCT6100_INSTANCE_API f_pApiInstance, IN UINT32 f_ulChannelIndex, @@ -1322,5 +1341,6 @@ UINT32 Oct6100BufferPlayoutCheckForSpecificEvent( return cOCT6100_ERR_OK; } +#endif #endif /* cOCT6100_REMOVE_EVENTS */ diff --git a/software/octdeviceapi/oct6100api/oct6100_api/oct6100_interrupts.c b/software/octdeviceapi/oct6100api/oct6100_api/oct6100_interrupts.c index 573c480..145e201 100644 --- a/software/octdeviceapi/oct6100api/oct6100_api/oct6100_interrupts.c +++ b/software/octdeviceapi/oct6100api/oct6100_api/oct6100_interrupts.c @@ -75,6 +75,7 @@ f_pApiInstance Pointer to API instance. This memory is used to keep f_pIntrptConfig Pointer to interrupt configuration structure. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100InterruptConfigureDef UINT32 Oct6100InterruptConfigureDef( tPOCT6100_INTERRUPT_CONFIGURE f_pIntrptConfig ) { @@ -93,8 +94,10 @@ UINT32 Oct6100InterruptConfigureDef( return cOCT6100_ERR_OK; } +#endif +#if !SKIP_Oct6100InterruptConfigure UINT32 Oct6100InterruptConfigure( tPOCT6100_INSTANCE_API f_pApiInstance, tPOCT6100_INTERRUPT_CONFIGURE f_pIntrptConfig ) @@ -129,6 +132,7 @@ UINT32 Oct6100InterruptConfigure( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -151,6 +155,7 @@ f_pIntFlags Pointer to structure containing event flags returned to user. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100InterruptServiceRoutineDef UINT32 Oct6100InterruptServiceRoutineDef( tPOCT6100_INTERRUPT_FLAGS f_pIntFlags ) { @@ -177,8 +182,10 @@ UINT32 Oct6100InterruptServiceRoutineDef( return cOCT6100_ERR_OK; } +#endif +#if !SKIP_Oct6100InterruptServiceRoutine UINT32 Oct6100InterruptServiceRoutine( tPOCT6100_INSTANCE_API f_pApiInstance, tPOCT6100_INTERRUPT_FLAGS f_pIntFlags ) @@ -218,6 +225,7 @@ UINT32 Oct6100InterruptServiceRoutine( return cOCT6100_ERR_OK; } +#endif /**************************** PRIVATE FUNCTIONS ****************************/ @@ -237,6 +245,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_Oct6100ApiIsrSwInit UINT32 Oct6100ApiIsrSwInit( IN OUT tPOCT6100_INSTANCE_API f_pApiInstance ) { @@ -267,6 +276,7 @@ UINT32 Oct6100ApiIsrSwInit( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -285,6 +295,7 @@ f_pIntrptConfig Pointer to structure defining how the interrupts should be configured. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100ApiIsrHwInit UINT32 Oct6100ApiIsrHwInit( IN OUT tPOCT6100_INSTANCE_API f_pApiInstance, IN tPOCT6100_INTERRUPT_CONFIGURE f_pIntrptConfig ) @@ -342,6 +353,7 @@ UINT32 Oct6100ApiIsrHwInit( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -360,6 +372,7 @@ f_pIntrptConfig Pointer to interrupt configuration structure. f_fCheckParams Check parameter enable flag. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100InterruptConfigureSer UINT32 Oct6100InterruptConfigureSer( IN OUT tPOCT6100_INSTANCE_API f_pApiInstance, IN tPOCT6100_INTERRUPT_CONFIGURE f_pIntrptConfig, @@ -489,6 +502,7 @@ UINT32 Oct6100InterruptConfigureSer( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -507,6 +521,7 @@ f_pIntFlags Pointer to structure containing event flags returned to user. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100InterruptServiceRoutineSer UINT32 Oct6100InterruptServiceRoutineSer( IN OUT tPOCT6100_INSTANCE_API f_pApiInstance, IN tPOCT6100_INTERRUPT_FLAGS f_pIntFlags ) @@ -647,6 +662,7 @@ UINT32 Oct6100InterruptServiceRoutineSer( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -666,6 +682,7 @@ f_pIntFlags Pointer to an interrupt flag structure. f_ulRegister210h Value of register 0x210. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100ApiReadIntrptRegs UINT32 Oct6100ApiReadIntrptRegs( IN OUT tPOCT6100_INSTANCE_API f_pApiInstance, OUT tPOCT6100_INTERRUPT_FLAGS f_pIntFlags, @@ -936,6 +953,7 @@ UINT32 Oct6100ApiReadIntrptRegs( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -953,6 +971,7 @@ f_pApiInstance Pointer to API instance. This memory is used to keep f_pIntFlags Interrupt flags. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100ApiUpdateIntrptStates UINT32 Oct6100ApiUpdateIntrptStates( IN OUT tPOCT6100_INSTANCE_API f_pApiInstance, IN tPOCT6100_INTERRUPT_FLAGS f_pIntFlags ) @@ -1007,6 +1026,7 @@ UINT32 Oct6100ApiUpdateIntrptStates( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -1024,6 +1044,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_Oct6100ApiWriteIntrptRegs UINT32 Oct6100ApiWriteIntrptRegs( IN OUT tPOCT6100_INSTANCE_API f_pApiInstance ) { @@ -1147,6 +1168,7 @@ UINT32 Oct6100ApiWriteIntrptRegs( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -1162,6 +1184,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_Oct6100ApiWriteIeRegs UINT32 Oct6100ApiWriteIeRegs( tPOCT6100_INSTANCE_API f_pApiInstance ) { @@ -1266,6 +1289,7 @@ UINT32 Oct6100ApiWriteIeRegs( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -1282,6 +1306,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_Oct6100ApiReadChipMclkTime UINT32 Oct6100ApiReadChipMclkTime( IN OUT tPOCT6100_INSTANCE_API f_pApiInstance ) { @@ -1332,6 +1357,7 @@ UINT32 Oct6100ApiReadChipMclkTime( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -1348,6 +1374,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_Oct6100ApiUpdateIntrptTimeouts UINT32 Oct6100ApiUpdateIntrptTimeouts( IN OUT tPOCT6100_INSTANCE_API f_pApiInstance ) { @@ -1475,6 +1502,7 @@ UINT32 Oct6100ApiUpdateIntrptTimeouts( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -1490,6 +1518,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_Oct6100ApiScheduleNextMclkIntrptSer UINT32 Oct6100ApiScheduleNextMclkIntrptSer( IN OUT tPOCT6100_INSTANCE_API f_pApiInstance ) { @@ -1670,6 +1699,7 @@ UINT32 Oct6100ApiScheduleNextMclkIntrptSer( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -1688,6 +1718,7 @@ f_pApiInstance Pointer to API instance. This memory is used to keep f_pIntFlags Pointer to a tOCT6100_INTERRUPT_FLAGS structure. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100ApiCheckProcessorState UINT32 Oct6100ApiCheckProcessorState( IN OUT tPOCT6100_INSTANCE_API f_pApiInstance, IN OUT tPOCT6100_INTERRUPT_FLAGS f_pIntFlags ) @@ -1832,5 +1863,4 @@ UINT32 Oct6100ApiCheckProcessorState( return cOCT6100_ERR_OK; } - - +#endif 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 diff --git a/software/octdeviceapi/oct6100api/oct6100_api/oct6100_miscellaneous.c b/software/octdeviceapi/oct6100api/oct6100_api/oct6100_miscellaneous.c index 393134b..6ace376 100644 --- a/software/octdeviceapi/oct6100api/oct6100_api/oct6100_miscellaneous.c +++ b/software/octdeviceapi/oct6100api/oct6100_api/oct6100_miscellaneous.c @@ -72,6 +72,7 @@ Description: Waits for the specified amount of time. f_aulWaitTime[ 2 ] The amout of time to be waited. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100ApiWaitForTime UINT32 Oct6100ApiWaitForTime( IN OUT tPOCT6100_INSTANCE_API f_pApiInstance, IN UINT32 f_aulWaitTime[ 2 ] ) @@ -112,6 +113,7 @@ UINT32 Oct6100ApiWaitForTime( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -135,6 +137,7 @@ f_ulTimeoutUs The timeout period, in usec. f_pfBitEqual Pointer to the result of the bit comparison. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100ApiWaitForPcRegisterBit UINT32 Oct6100ApiWaitForPcRegisterBit( IN OUT tPOCT6100_INSTANCE_API f_pApiInstance, IN UINT32 f_ulPcRegAdd, @@ -205,6 +208,7 @@ UINT32 Oct6100ApiWaitForPcRegisterBit( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -223,6 +227,7 @@ f_ulAddress DWORD address where to read. f_pulReadData Resulting data. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100ApiReadDword UINT32 Oct6100ApiReadDword( IN OUT tPOCT6100_INSTANCE_API f_pApiInstance, IN UINT32 f_ulAddress, @@ -265,6 +270,7 @@ UINT32 Oct6100ApiReadDword( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -283,6 +289,7 @@ f_ulAddress DWORD address where to write. f_ulWriteData DWORD data to write. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100ApiWriteDword UINT32 Oct6100ApiWriteDword( IN OUT tPOCT6100_INSTANCE_API f_pApiInstance, IN UINT32 f_ulAddress, @@ -311,6 +318,7 @@ UINT32 Oct6100ApiWriteDword( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -328,6 +336,7 @@ f_ulFieldBitOffset Bit offset, from the least significant bit. f_pulFieldMask Resulting mask. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100ApiCreateFeatureMask VOID Oct6100ApiCreateFeatureMask( IN UINT32 f_ulFieldSize, IN UINT32 f_ulFieldBitOffset, @@ -352,6 +361,7 @@ VOID Oct6100ApiCreateFeatureMask( /* Return the mask. */ *f_pulFieldMask = ulMask; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -369,6 +379,7 @@ f_pszString String to look for. f_pszLastCharPtr Last character in the source string. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100ApiStrStr PUINT8 Oct6100ApiStrStr( IN PUINT8 f_pszSource, IN PUINT8 f_pszString, @@ -424,6 +435,7 @@ PUINT8 Oct6100ApiStrStr( else return pchFirstChar; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -439,6 +451,7 @@ Description: OCT6100 API version of strlen() f_pszString Source string to count length of. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100ApiStrLen UINT32 Oct6100ApiStrLen( IN PUINT8 f_pszString ) { @@ -449,6 +462,7 @@ UINT32 Oct6100ApiStrLen( return ulCount; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -465,6 +479,7 @@ f_chCharacter ASCII character to convert. f_pulValue Resulting hexadecimal value. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100ApiAsciiToHex UINT32 Oct6100ApiAsciiToHex( IN UINT8 f_chCharacter, OUT PUINT32 f_pulValue ) @@ -532,6 +547,7 @@ UINT32 Oct6100ApiAsciiToHex( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -547,6 +563,7 @@ Description: Convert an hexadecimal value to an ASCII character. f_ulNumber Hexadecimal value to convert. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100ApiHexToAscii UINT8 Oct6100ApiHexToAscii( IN UINT32 f_ulNumber ) { @@ -555,6 +572,7 @@ UINT8 Oct6100ApiHexToAscii( else return (UINT8)( 48 + f_ulNumber ); /* Hex values from 0x0 to 0x9 */ } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -570,6 +588,7 @@ Description: Random number generator. f_ulRange Range of the random number to be generated. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100ApiRand UINT32 Oct6100ApiRand( IN UINT32 f_ulRange ) { @@ -618,3 +637,4 @@ UINT32 Oct6100ApiRand( return ulResult; } +#endif diff --git a/software/octdeviceapi/oct6100api/oct6100_api/oct6100_mixer.c b/software/octdeviceapi/oct6100api/oct6100_api/oct6100_mixer.c index 262584a..ec5fb34 100644 --- a/software/octdeviceapi/oct6100api/oct6100_api/oct6100_mixer.c +++ b/software/octdeviceapi/oct6100api/oct6100_api/oct6100_mixer.c @@ -79,6 +79,7 @@ f_pApiInstance Pointer to API instance. This memory is used to keep the f_pCopyEventCreate Pointer to a mixer copy event structure. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100MixerCopyEventCreateDef UINT32 Oct6100MixerCopyEventCreateDef( tPOCT6100_COPY_EVENT_CREATE f_pCopyEventCreate ) { @@ -92,8 +93,10 @@ UINT32 Oct6100MixerCopyEventCreateDef( return cOCT6100_ERR_OK; } +#endif +#if !SKIP_Oct6100MixerCopyEventCreate UINT32 Oct6100MixerCopyEventCreate( tPOCT6100_INSTANCE_API f_pApiInstance, tPOCT6100_COPY_EVENT_CREATE f_pCopyEventCreate ) @@ -133,6 +136,7 @@ UINT32 Oct6100MixerCopyEventCreate( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -151,6 +155,7 @@ f_pApiInstance Pointer to API instance. This memory is used to keep the f_pCopyEventDestroy Pointer to a destroy copy event structure. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100MixerCopyEventDestroyDef UINT32 Oct6100MixerCopyEventDestroyDef( tPOCT6100_COPY_EVENT_DESTROY f_pCopyEventDestroy ) { @@ -158,8 +163,10 @@ UINT32 Oct6100MixerCopyEventDestroyDef( return cOCT6100_ERR_OK; } +#endif +#if !SKIP_Oct6100MixerCopyEventDestroy UINT32 Oct6100MixerCopyEventDestroy( tPOCT6100_INSTANCE_API f_pApiInstance, tPOCT6100_COPY_EVENT_DESTROY f_pCopyEventDestroy ) @@ -199,6 +206,7 @@ UINT32 Oct6100MixerCopyEventDestroy( return cOCT6100_ERR_OK; } +#endif /**************************** PRIVATE FUNCTIONS ****************************/ @@ -219,6 +227,7 @@ f_pOpenChip User chip configuration. f_pInstSizes Pointer to struct containing instance sizes. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100ApiGetMixerSwSizes UINT32 Oct6100ApiGetMixerSwSizes( IN tPOCT6100_CHIP_OPEN f_pOpenChip, OUT tPOCT6100_API_INSTANCE_SIZES f_pInstSizes ) @@ -250,6 +259,7 @@ UINT32 Oct6100ApiGetMixerSwSizes( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -266,6 +276,7 @@ f_pApiInstance Pointer to API instance. This mixer is used to keep the present state of the chip and all its resources. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100ApiMixerSwInit UINT32 Oct6100ApiMixerSwInit( IN OUT tPOCT6100_INSTANCE_API f_pApiInstance ) { @@ -369,6 +380,7 @@ UINT32 Oct6100ApiMixerSwInit( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -389,6 +401,7 @@ f_usDestinationChanIndex Index of the destination channel within the API's channel list. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100ApiMixerEventAdd UINT32 Oct6100ApiMixerEventAdd( IN OUT tPOCT6100_INSTANCE_API f_pApiInstance, IN UINT16 f_usEventIndex, @@ -528,6 +541,7 @@ UINT32 Oct6100ApiMixerEventAdd( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -547,6 +561,7 @@ f_usEventIndex Index of event within the API's mixer event list. f_usEventType Type of mixer event. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100ApiMixerEventRemove UINT32 Oct6100ApiMixerEventRemove( IN OUT tPOCT6100_INSTANCE_API f_pApiInstance, IN UINT16 f_usEventIndex, @@ -751,6 +766,7 @@ UINT32 Oct6100ApiMixerEventRemove( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -766,6 +782,7 @@ f_pApiInstance Pointer to API instance. This memory is used to keep the f_pCopyEventCreate Pointer to a create copy event structure. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100MixerCopyEventCreateSer UINT32 Oct6100MixerCopyEventCreateSer( IN OUT tPOCT6100_INSTANCE_API f_pApiInstance, IN OUT tPOCT6100_COPY_EVENT_CREATE f_pCopyEventCreate ) @@ -812,6 +829,7 @@ UINT32 Oct6100MixerCopyEventCreateSer( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -832,6 +850,7 @@ f_pusSourceChanIndex Pointer to the index of the input channel. f_pusDestinationChanIndex Pointer to the index of the output channel. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100ApiCheckCopyEventCreateParams UINT32 Oct6100ApiCheckCopyEventCreateParams( IN OUT tPOCT6100_INSTANCE_API f_pApiInstance, IN OUT tPOCT6100_COPY_EVENT_CREATE f_pCopyEventCreate, @@ -916,6 +935,7 @@ UINT32 Oct6100ApiCheckCopyEventCreateParams( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -932,6 +952,7 @@ f_pusCopyEntryIndex Pointer to the index of the copy entry within the API's lis f_pusCopyEventIndex Pointer to the index of the mixer copy event. . \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100ApiReserveCopyEventCreateResources UINT32 Oct6100ApiReserveCopyEventCreateResources( IN OUT tPOCT6100_INSTANCE_API f_pApiInstance, OUT PUINT16 f_pusCopyEntryIndex, @@ -966,6 +987,7 @@ UINT32 Oct6100ApiReserveCopyEventCreateResources( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -987,6 +1009,7 @@ f_usSourceChanIndex Index of the source channel within the API's channel list. f_usDestinationChanIndex Index of the destination channel within the API's channel list. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100ApiWriteCopyEventCreateStructs UINT32 Oct6100ApiWriteCopyEventCreateStructs( IN OUT tPOCT6100_INSTANCE_API f_pApiInstance, IN OUT tPOCT6100_COPY_EVENT_CREATE f_pCopyEventCreate, @@ -1075,6 +1098,7 @@ UINT32 Oct6100ApiWriteCopyEventCreateStructs( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -1093,6 +1117,7 @@ f_usSourceChanIndex Index of the source channel within the API's channel list. f_usDestinationChanIndex Index of the destination channel within the API's channel list. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100ApiUpdateCopyEventCreateEntry UINT32 Oct6100ApiUpdateCopyEventCreateEntry( IN OUT tPOCT6100_INSTANCE_API f_pApiInstance, IN OUT tPOCT6100_COPY_EVENT_CREATE f_pCopyEventCreate, @@ -1132,6 +1157,7 @@ UINT32 Oct6100ApiUpdateCopyEventCreateEntry( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -1147,6 +1173,7 @@ f_pApiInstance Pointer to API instance. This memory is used to keep the f_pCopyEventDestroy Pointer to a destroy copy event structure. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100MixerCopyEventDestroySer UINT32 Oct6100MixerCopyEventDestroySer( IN OUT tPOCT6100_INSTANCE_API f_pApiInstance, IN tPOCT6100_COPY_EVENT_DESTROY f_pCopyEventDestroy ) @@ -1182,6 +1209,7 @@ UINT32 Oct6100MixerCopyEventDestroySer( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -1201,6 +1229,7 @@ f_pusCopyEventIndex Pointer to the index of the copy event in the API. f_pusMixerEventIndex Pointer to the index of the copy event in the mixer memory. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100ApiAssertCopyEventDestroyParams UINT32 Oct6100ApiAssertCopyEventDestroyParams( IN OUT tPOCT6100_INSTANCE_API f_pApiInstance, IN tPOCT6100_COPY_EVENT_DESTROY f_pCopyEventDestroy, @@ -1242,6 +1271,7 @@ UINT32 Oct6100ApiAssertCopyEventDestroyParams( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -1260,6 +1290,7 @@ f_usCopyEventIndex Index of the copy event in the API. f_usMixerEventIndex Index of the copy event in the mixer memory. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100ApiInvalidateCopyEventStructs UINT32 Oct6100ApiInvalidateCopyEventStructs( IN OUT tPOCT6100_INSTANCE_API f_pApiInstance, IN UINT16 f_usCopyEventIndex, @@ -1296,6 +1327,7 @@ UINT32 Oct6100ApiInvalidateCopyEventStructs( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -1312,6 +1344,7 @@ f_usCopyEventIndex Index of the copy event in the API. f_usMixerEventIndex Index of the copy event in the mixer memory. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100ApiReleaseCopyEventResources UINT32 Oct6100ApiReleaseCopyEventResources( IN OUT tPOCT6100_INSTANCE_API f_pApiInstance, IN UINT16 f_usCopyEventIndex, @@ -1359,6 +1392,7 @@ UINT32 Oct6100ApiReleaseCopyEventResources( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -1376,6 +1410,7 @@ f_pApiInstance Pointer to API instance. This memory is used to keep the f_pusEventIndex List entry reserved. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100ApiReserveMixerEventEntry UINT32 Oct6100ApiReserveMixerEventEntry( IN OUT tPOCT6100_INSTANCE_API f_pApiInstance, OUT PUINT16 f_pusEventIndex ) @@ -1399,6 +1434,7 @@ UINT32 Oct6100ApiReserveMixerEventEntry( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -1416,6 +1452,7 @@ f_pApiInstance Pointer to API instance. This memory is used to keep the f_usEventIndex List entry reserved. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100ApiReleaseMixerEventEntry UINT32 Oct6100ApiReleaseMixerEventEntry( IN OUT tPOCT6100_INSTANCE_API f_pApiInstance, IN UINT16 f_usEventIndex ) @@ -1431,6 +1468,7 @@ UINT32 Oct6100ApiReleaseMixerEventEntry( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -1448,6 +1486,7 @@ f_pApiInstance Pointer to API instance. This memory is used to keep the f_pulFreeEventCnt How many events left. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100ApiGetFreeMixerEventCnt UINT32 Oct6100ApiGetFreeMixerEventCnt( IN OUT tPOCT6100_INSTANCE_API f_pApiInstance, OUT PUINT32 f_pulFreeEventCnt ) @@ -1468,6 +1507,7 @@ UINT32 Oct6100ApiGetFreeMixerEventCnt( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -1485,6 +1525,7 @@ f_pApiInstance Pointer to API instance. This memory is used to keep the f_pusEventIndex List entry reserved. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100ApiReserveCopyEventEntry UINT32 Oct6100ApiReserveCopyEventEntry( IN OUT tPOCT6100_INSTANCE_API f_pApiInstance, OUT PUINT16 f_pusEventIndex ) @@ -1508,6 +1549,7 @@ UINT32 Oct6100ApiReserveCopyEventEntry( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -1525,6 +1567,7 @@ f_pApiInstance Pointer to API instance. This memory is used to keep the f_usEventIndex List entry reserved. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100ApiReleaseCopyEventEntry UINT32 Oct6100ApiReleaseCopyEventEntry( IN OUT tPOCT6100_INSTANCE_API f_pApiInstance, IN UINT16 f_usEventIndex ) @@ -1540,3 +1583,4 @@ UINT32 Oct6100ApiReleaseCopyEventEntry( return cOCT6100_ERR_OK; } +#endif diff --git a/software/octdeviceapi/oct6100api/oct6100_api/oct6100_phasing_tsst.c b/software/octdeviceapi/oct6100api/oct6100_api/oct6100_phasing_tsst.c index 19315f3..f72a2c4 100644 --- a/software/octdeviceapi/oct6100api/oct6100_api/oct6100_phasing_tsst.c +++ b/software/octdeviceapi/oct6100api/oct6100_api/oct6100_phasing_tsst.c @@ -77,6 +77,7 @@ f_pApiInstance Pointer to API instance. This memory is used to keep the f_pPhasingTsstOpen Pointer to phasing TSST open structure. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100PhasingTsstOpenDef UINT32 Oct6100PhasingTsstOpenDef( tPOCT6100_PHASING_TSST_OPEN f_pPhasingTsstOpen ) { @@ -91,8 +92,10 @@ UINT32 Oct6100PhasingTsstOpenDef( return cOCT6100_ERR_OK; } +#endif +#if !SKIP_Oct6100PhasingTsstOpen UINT32 Oct6100PhasingTsstOpen( tPOCT6100_INSTANCE_API f_pApiInstance, tPOCT6100_PHASING_TSST_OPEN f_pPhasingTsstOpen ) @@ -132,6 +135,7 @@ UINT32 Oct6100PhasingTsstOpen( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -149,6 +153,7 @@ f_pApiInstance Pointer to API instance. This memory is used to keep the f_pPhasingTsstClose Pointer to phasing TSST close structure. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100PhasingTsstCloseDef UINT32 Oct6100PhasingTsstCloseDef( tPOCT6100_PHASING_TSST_CLOSE f_pPhasingTsstClose ) { @@ -156,8 +161,10 @@ UINT32 Oct6100PhasingTsstCloseDef( return cOCT6100_ERR_OK; } +#endif +#if !SKIP_Oct6100PhasingTsstClose UINT32 Oct6100PhasingTsstClose( tPOCT6100_INSTANCE_API f_pApiInstance, tPOCT6100_PHASING_TSST_CLOSE f_pPhasingTsstClose ) @@ -197,6 +204,7 @@ UINT32 Oct6100PhasingTsstClose( return cOCT6100_ERR_OK; } +#endif /**************************** PRIVATE FUNCTIONS ****************************/ @@ -215,6 +223,7 @@ f_pOpenChip Pointer to chip configuration struct. f_pInstSizes Pointer to struct containing instance sizes. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100ApiGetPhasingTsstSwSizes UINT32 Oct6100ApiGetPhasingTsstSwSizes( IN tPOCT6100_CHIP_OPEN f_pOpenChip, OUT tPOCT6100_API_INSTANCE_SIZES f_pInstSizes ) @@ -242,6 +251,7 @@ UINT32 Oct6100ApiGetPhasingTsstSwSizes( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -258,6 +268,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_Oct6100ApiPhasingTsstSwInit UINT32 Oct6100ApiPhasingTsstSwInit( IN OUT tPOCT6100_INSTANCE_API f_pApiInstance ) { @@ -291,6 +302,7 @@ UINT32 Oct6100ApiPhasingTsstSwInit( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -308,6 +320,7 @@ f_pApiInstance Pointer to API instance. This memory is used to keep the f_pPhasingTsstOpen Pointer to phasing TSST open configuration structure. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100PhasingTsstOpenSer UINT32 Oct6100PhasingTsstOpenSer( IN OUT tPOCT6100_INSTANCE_API f_pApiInstance, IN OUT tPOCT6100_PHASING_TSST_OPEN f_pPhasingTsstOpen ) @@ -338,6 +351,7 @@ UINT32 Oct6100PhasingTsstOpenSer( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -355,6 +369,7 @@ f_pApiInstance Pointer to API instance. This memory is used to keep the f_pPhasingTsstOpen Pointer to phasing TSST open configuration structure. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100ApiCheckPhasingParams UINT32 Oct6100ApiCheckPhasingParams( IN OUT tPOCT6100_INSTANCE_API f_pApiInstance, IN tPOCT6100_PHASING_TSST_OPEN f_pPhasingTsstOpen ) @@ -399,6 +414,7 @@ UINT32 Oct6100ApiCheckPhasingParams( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -418,6 +434,7 @@ f_pusPhasingIndex Allocated entry in Phasing TSST API list. f_pusTsstIndex TSST memory index of the counter. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100ApiReservePhasingResources UINT32 Oct6100ApiReservePhasingResources( IN OUT tPOCT6100_INSTANCE_API f_pApiInstance, IN tPOCT6100_PHASING_TSST_OPEN f_pPhasingTsstOpen, @@ -461,6 +478,7 @@ UINT32 Oct6100ApiReservePhasingResources( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -481,6 +499,7 @@ f_usPhasingIndex Allocated entry in phasing TSST API list. f_usTsstIndex TSST memory index of the counter. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100ApiWritePhasingStructs UINT32 Oct6100ApiWritePhasingStructs( IN OUT tPOCT6100_INSTANCE_API f_pApiInstance, IN tPOCT6100_PHASING_TSST_OPEN f_pPhasingTsstOpen, @@ -529,6 +548,7 @@ UINT32 Oct6100ApiWritePhasingStructs( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -548,6 +568,7 @@ f_usPhasingIndex Allocated entry in phasing TSST API list. f_usTsstIndex TSST memory index of the counter. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100ApiUpdatePhasingEntry UINT32 Oct6100ApiUpdatePhasingEntry( IN OUT tPOCT6100_INSTANCE_API f_pApiInstance, IN OUT tPOCT6100_PHASING_TSST_OPEN f_pPhasingTsstOpen, @@ -583,6 +604,7 @@ UINT32 Oct6100ApiUpdatePhasingEntry( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -600,6 +622,7 @@ f_pApiInstance Pointer to API instance. This memory is used to keep the f_pPhasingTsstClose Pointer to phasing TSST close structure. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100PhasingTsstCloseSer UINT32 Oct6100PhasingTsstCloseSer( IN OUT tPOCT6100_INSTANCE_API f_pApiInstance, IN OUT tPOCT6100_PHASING_TSST_CLOSE f_pPhasingTsstClose ) @@ -627,6 +650,7 @@ UINT32 Oct6100PhasingTsstCloseSer( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -648,6 +672,7 @@ f_pusPhasingIndex Index of the phasing TSST structure in the API list. f_pusTsstIndex Index of the entry in the TSST control memory. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100ApiAssertPhasingParams UINT32 Oct6100ApiAssertPhasingParams( IN OUT tPOCT6100_INSTANCE_API f_pApiInstance, IN tPOCT6100_PHASING_TSST_CLOSE f_pPhasingTsstClose, @@ -692,6 +717,7 @@ UINT32 Oct6100ApiAssertPhasingParams( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -709,6 +735,7 @@ f_pApiInstance Pointer to API instance. This memory is used to keep the f_usTsstIndex Index of the entry in the TSST control memory. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100ApiInvalidatePhasingStructs UINT32 Oct6100ApiInvalidatePhasingStructs( IN OUT tPOCT6100_INSTANCE_API f_pApiInstance, IN UINT16 f_usTsstIndex ) @@ -739,6 +766,7 @@ UINT32 Oct6100ApiInvalidatePhasingStructs( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -756,6 +784,7 @@ f_pApiInstance Pointer to API instance. This memory is used to keep the f_usPhasingIndex Index of the phasing TSST in the API list. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100ApiReleasePhasingResources UINT32 Oct6100ApiReleasePhasingResources( IN OUT tPOCT6100_INSTANCE_API f_pApiInstance, IN UINT16 f_usPhasingIndex ) @@ -804,6 +833,7 @@ UINT32 Oct6100ApiReleasePhasingResources( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -821,6 +851,7 @@ f_pApiInstance Pointer to API instance. This memory is used to keep f_pusPhasingIndex Resulting index reserved in the phasing TSST list. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100ApiReservePhasingEntry UINT32 Oct6100ApiReservePhasingEntry( IN OUT tPOCT6100_INSTANCE_API f_pApiInstance, OUT PUINT16 f_pusPhasingIndex ) @@ -848,6 +879,7 @@ UINT32 Oct6100ApiReservePhasingEntry( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -865,6 +897,7 @@ f_pApiInstance Pointer to API instance. This memory is used to keep f_usPhasingIndex Index reserved in the phasing TSST API list. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100ApiReleasePhasingEntry UINT32 Oct6100ApiReleasePhasingEntry( IN OUT tPOCT6100_INSTANCE_API f_pApiInstance, IN UINT16 f_usPhasingIndex ) @@ -886,3 +919,4 @@ UINT32 Oct6100ApiReleasePhasingEntry( return cOCT6100_ERR_OK; } +#endif diff --git a/software/octdeviceapi/oct6100api/oct6100_api/oct6100_playout_buf.c b/software/octdeviceapi/oct6100api/oct6100_api/oct6100_playout_buf.c index 26c6cc8..c1e3a1f 100644 --- a/software/octdeviceapi/oct6100api/oct6100_api/oct6100_playout_buf.c +++ b/software/octdeviceapi/oct6100api/oct6100_api/oct6100_playout_buf.c @@ -79,6 +79,7 @@ f_pApiInstance Pointer to API instance. This memory is used to keep the f_pBufferLoad Pointer to buffer playout load structure. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100BufferPlayoutLoadDef UINT32 Oct6100BufferPlayoutLoadDef( tPOCT6100_BUFFER_LOAD f_pBufferLoad ) { @@ -91,7 +92,9 @@ UINT32 Oct6100BufferPlayoutLoadDef( return cOCT6100_ERR_OK; } +#endif +#if !SKIP_Oct6100BufferPlayoutLoad UINT32 Oct6100BufferPlayoutLoad( tPOCT6100_INSTANCE_API f_pApiInstance, tPOCT6100_BUFFER_LOAD f_pBufferLoad ) @@ -131,6 +134,7 @@ UINT32 Oct6100BufferPlayoutLoad( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -148,6 +152,7 @@ f_pApiInstance Pointer to API instance. This memory is used to keep f_pBufferLoadBlockInit Pointer to buffer playout load block init structure. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100BufferPlayoutLoadBlockInitDef UINT32 Oct6100BufferPlayoutLoadBlockInitDef( tPOCT6100_BUFFER_LOAD_BLOCK_INIT f_pBufferLoadBlockInit ) { @@ -159,7 +164,9 @@ UINT32 Oct6100BufferPlayoutLoadBlockInitDef( return cOCT6100_ERR_OK; } +#endif +#if !SKIP_Oct6100BufferPlayoutLoadBlockInit UINT32 Oct6100BufferPlayoutLoadBlockInit( tPOCT6100_INSTANCE_API f_pApiInstance, tPOCT6100_BUFFER_LOAD_BLOCK_INIT f_pBufferLoadBlockInit ) @@ -199,6 +206,7 @@ UINT32 Oct6100BufferPlayoutLoadBlockInit( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -217,6 +225,7 @@ f_pApiInstance Pointer to API instance. This memory is used to keep f_pBufferLoadBlock Pointer to buffer playout load block structure. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100BufferPlayoutLoadBlockDef UINT32 Oct6100BufferPlayoutLoadBlockDef( tPOCT6100_BUFFER_LOAD_BLOCK f_pBufferLoadBlock ) { @@ -228,7 +237,9 @@ UINT32 Oct6100BufferPlayoutLoadBlockDef( return cOCT6100_ERR_OK; } +#endif +#if !SKIP_Oct6100BufferPlayoutLoadBlock UINT32 Oct6100BufferPlayoutLoadBlock( tPOCT6100_INSTANCE_API f_pApiInstance, tPOCT6100_BUFFER_LOAD_BLOCK f_pBufferLoadBlock ) @@ -268,6 +279,7 @@ UINT32 Oct6100BufferPlayoutLoadBlock( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -285,6 +297,7 @@ f_pApiInstance Pointer to API instance. This memory is used to keep the f_pBufferUnload Pointer to buffer playout unload structure. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100BufferPlayoutUnloadDef UINT32 Oct6100BufferPlayoutUnloadDef( tPOCT6100_BUFFER_UNLOAD f_pBufferUnload ) { @@ -292,7 +305,9 @@ UINT32 Oct6100BufferPlayoutUnloadDef( return cOCT6100_ERR_OK; } +#endif +#if !SKIP_Oct6100BufferPlayoutUnload UINT32 Oct6100BufferPlayoutUnload( tPOCT6100_INSTANCE_API f_pApiInstance, tPOCT6100_BUFFER_UNLOAD f_pBufferUnload ) @@ -332,6 +347,7 @@ UINT32 Oct6100BufferPlayoutUnload( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -350,6 +366,7 @@ f_pApiInstance Pointer to API instance. This memory is used to keep the f_pBufferPlayoutAdd Pointer to buffer playout add structure. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100BufferPlayoutAddDef UINT32 Oct6100BufferPlayoutAddDef( tPOCT6100_BUFFER_PLAYOUT_ADD f_pBufferPlayoutAdd ) { @@ -369,7 +386,9 @@ UINT32 Oct6100BufferPlayoutAddDef( return cOCT6100_ERR_OK; } +#endif +#if !SKIP_Oct6100BufferPlayoutAdd UINT32 Oct6100BufferPlayoutAdd( tPOCT6100_INSTANCE_API f_pApiInstance, tPOCT6100_BUFFER_PLAYOUT_ADD f_pBufferPlayoutAdd ) @@ -409,6 +428,7 @@ UINT32 Oct6100BufferPlayoutAdd( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -427,6 +447,7 @@ f_pApiInstance Pointer to API instance. This memory is used to keep the f_pBufferPlayoutStart Pointer to buffer playout start structure. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100BufferPlayoutStartDef UINT32 Oct6100BufferPlayoutStartDef( tPOCT6100_BUFFER_PLAYOUT_START f_pBufferPlayoutStart ) { @@ -438,7 +459,9 @@ UINT32 Oct6100BufferPlayoutStartDef( return cOCT6100_ERR_OK; } +#endif +#if !SKIP_Oct6100BufferPlayoutStart UINT32 Oct6100BufferPlayoutStart( tPOCT6100_INSTANCE_API f_pApiInstance, tPOCT6100_BUFFER_PLAYOUT_START f_pBufferPlayoutStart ) @@ -478,6 +501,7 @@ UINT32 Oct6100BufferPlayoutStart( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -496,6 +520,7 @@ f_pApiInstance Pointer to API instance. This memory is used to keep the f_pBufferPlayoutStop Pointer to buffer playout stop structure. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100BufferPlayoutStopDef UINT32 Oct6100BufferPlayoutStopDef( tPOCT6100_BUFFER_PLAYOUT_STOP f_pBufferPlayoutStop ) { @@ -507,7 +532,9 @@ UINT32 Oct6100BufferPlayoutStopDef( return cOCT6100_ERR_OK; } +#endif +#if !SKIP_Oct6100BufferPlayoutStop UINT32 Oct6100BufferPlayoutStop( tPOCT6100_INSTANCE_API f_pApiInstance, tPOCT6100_BUFFER_PLAYOUT_STOP f_pBufferPlayoutStop ) @@ -547,6 +574,7 @@ UINT32 Oct6100BufferPlayoutStop( return cOCT6100_ERR_OK; } +#endif /**************************** PRIVATE FUNCTIONS ****************************/ @@ -565,6 +593,7 @@ f_pOpenChip Pointer to chip configuration struct. f_pInstSizes Pointer to struct containing instance sizes. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100ApiGetPlayoutBufferSwSizes UINT32 Oct6100ApiGetPlayoutBufferSwSizes( IN tPOCT6100_CHIP_OPEN f_pOpenChip, OUT tPOCT6100_API_INSTANCE_SIZES f_pInstSizes ) @@ -598,6 +627,7 @@ UINT32 Oct6100ApiGetPlayoutBufferSwSizes( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -614,6 +644,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_Oct6100ApiPlayoutBufferSwInit UINT32 Oct6100ApiPlayoutBufferSwInit( IN OUT tPOCT6100_INSTANCE_API f_pApiInstance ) { @@ -657,6 +688,7 @@ UINT32 Oct6100ApiPlayoutBufferSwInit( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -684,6 +716,7 @@ f_ulBufIndex If the f_fReserveListStruct flag is set, this index that must be used to load the specified buffer. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100BufferLoadSer UINT32 Oct6100BufferLoadSer( IN OUT tPOCT6100_INSTANCE_API f_pApiInstance, IN OUT tPOCT6100_BUFFER_LOAD f_pBufferLoad, @@ -716,6 +749,7 @@ UINT32 Oct6100BufferLoadSer( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -735,6 +769,7 @@ f_pBufferLoadBlockInit Pointer to buffer configuration structure. The function calls is returned in this structure. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100BufferLoadBlockInitSer UINT32 Oct6100BufferLoadBlockInitSer( IN OUT tPOCT6100_INSTANCE_API f_pApiInstance, IN OUT tPOCT6100_BUFFER_LOAD_BLOCK_INIT f_pBufferLoadBlockInit ) @@ -771,6 +806,7 @@ UINT32 Oct6100BufferLoadBlockInitSer( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -789,6 +825,7 @@ f_pBufferLoadBlock Pointer to buffer block to be loaded into external memory descriptor. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100BufferLoadBlockSer UINT32 Oct6100BufferLoadBlockSer( IN OUT tPOCT6100_INSTANCE_API f_pApiInstance, IN OUT tPOCT6100_BUFFER_LOAD_BLOCK f_pBufferLoadBlock ) @@ -809,6 +846,7 @@ UINT32 Oct6100BufferLoadBlockSer( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -827,6 +865,7 @@ f_pBufferLoad Pointer to buffer configuration structure. f_fCheckBufferPtr Check if the buffer pointer is NULL or not. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100ApiCheckBufferParams UINT32 Oct6100ApiCheckBufferParams( IN OUT tPOCT6100_INSTANCE_API f_pApiInstance, IN OUT tPOCT6100_BUFFER_LOAD f_pBufferLoad, @@ -860,6 +899,7 @@ UINT32 Oct6100ApiCheckBufferParams( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -880,6 +920,7 @@ f_pulBufferBase Pointer to the base address of the buffer in external memory. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100ApiCheckBufferLoadBlockParams UINT32 Oct6100ApiCheckBufferLoadBlockParams( IN OUT tPOCT6100_INSTANCE_API f_pApiInstance, IN tPOCT6100_BUFFER_LOAD_BLOCK f_pBufferLoadBlock, @@ -913,6 +954,7 @@ UINT32 Oct6100ApiCheckBufferLoadBlockParams( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -941,6 +983,7 @@ f_pulBufferIndex Allocated entry in buffer playout list. f_pulBufferBase Allocated external memory block for the buffer. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100ApiReserveBufferResources UINT32 Oct6100ApiReserveBufferResources( IN OUT tPOCT6100_INSTANCE_API f_pApiInstance, IN tPOCT6100_BUFFER_LOAD f_pBufferLoad, @@ -983,6 +1026,7 @@ UINT32 Oct6100ApiReserveBufferResources( return ulResult; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -1004,6 +1048,7 @@ f_ulBufferLength Length in bytes of the buffer to be copied in memory. f_pbyBuffer Address where the buffer should be copied from. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100ApiWriteBufferInMemory UINT32 Oct6100ApiWriteBufferInMemory( IN OUT tPOCT6100_INSTANCE_API f_pApiInstance, IN UINT32 f_ulBufferBase, @@ -1085,6 +1130,7 @@ UINT32 Oct6100ApiWriteBufferInMemory( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -1104,6 +1150,7 @@ f_ulBufferIndex Allocated entry in buffer playout list. f_ulBufferBase Allocated external memory block for the buffer. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100ApiUpdateBufferEntry UINT32 Oct6100ApiUpdateBufferEntry( IN OUT tPOCT6100_INSTANCE_API f_pApiInstance, IN OUT tPOCT6100_BUFFER_LOAD f_pBufferLoad, @@ -1148,6 +1195,7 @@ UINT32 Oct6100ApiUpdateBufferEntry( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -1167,6 +1215,7 @@ f_fReleaseListStruct Whether to release the buffer playout list structure or not. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100BufferUnloadSer UINT32 Oct6100BufferUnloadSer( IN OUT tPOCT6100_INSTANCE_API f_pApiInstance, IN OUT tPOCT6100_BUFFER_UNLOAD f_pBufferUnload, @@ -1188,6 +1237,7 @@ UINT32 Oct6100BufferUnloadSer( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -1207,6 +1257,7 @@ f_pulBufferIndex Pointer to the index of the buffer in the API's buffers list. f_pulBufferBase Pointer to the base address of the buffer in external memory. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100ApiAssertBufferParams UINT32 Oct6100ApiAssertBufferParams( IN OUT tPOCT6100_INSTANCE_API f_pApiInstance, IN tPOCT6100_BUFFER_UNLOAD f_pBufferUnload, @@ -1233,6 +1284,7 @@ UINT32 Oct6100ApiAssertBufferParams( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -1252,6 +1304,7 @@ f_ulBufferBase Allocated external memory block for the buffer. f_fReleaseListStruct Free the list structure. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100ApiReleaseBufferResources UINT32 Oct6100ApiReleaseBufferResources( IN OUT tPOCT6100_INSTANCE_API f_pApiInstance, IN UINT32 f_ulBufferIndex, @@ -1297,6 +1350,7 @@ UINT32 Oct6100ApiReleaseBufferResources( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -1314,6 +1368,7 @@ f_pApiInstance Pointer to API instance. This memory is used to keep the f_pBufferPlayoutAdd Pointer to buffer playout add structure. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100BufferPlayoutAddSer UINT32 Oct6100BufferPlayoutAddSer( IN OUT tPOCT6100_INSTANCE_API f_pApiInstance, IN OUT tPOCT6100_BUFFER_PLAYOUT_ADD f_pBufferPlayoutAdd ) @@ -1334,6 +1389,7 @@ UINT32 Oct6100BufferPlayoutAddSer( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -1353,6 +1409,7 @@ f_pulChannelIndex Pointer to the channel index of the selected channel. f_pulBufferIndex Pointer to the buffer index within the API's buffer list. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100ApiCheckPlayoutAddParams UINT32 Oct6100ApiCheckPlayoutAddParams( IN OUT tPOCT6100_INSTANCE_API f_pApiInstance, IN tPOCT6100_BUFFER_PLAYOUT_ADD f_pBufferPlayoutAdd, @@ -1457,6 +1514,7 @@ UINT32 Oct6100ApiCheckPlayoutAddParams( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -1477,6 +1535,7 @@ f_ulChannelIndex Index of the channel on which the buffer is to be added. f_ulBufferIndex Index of the buffer structure within the API's buffer list. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100ApiWriteBufferAddStructs UINT32 Oct6100ApiWriteBufferAddStructs( IN OUT tPOCT6100_INSTANCE_API f_pApiInstance, IN tPOCT6100_BUFFER_PLAYOUT_ADD f_pBufferPlayoutAdd, @@ -1923,6 +1982,7 @@ UINT32 Oct6100ApiWriteBufferAddStructs( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -1942,6 +2002,7 @@ f_pBufferPlayoutStart Pointer to buffer playout start structure. f_ulPlayoutStopEventType Playout stop event type to be generated if required. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100BufferPlayoutStartSer UINT32 Oct6100BufferPlayoutStartSer( IN OUT tPOCT6100_INSTANCE_API f_pApiInstance, IN OUT tPOCT6100_BUFFER_PLAYOUT_START f_pBufferPlayoutStart, @@ -1966,6 +2027,7 @@ UINT32 Oct6100BufferPlayoutStartSer( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -1989,6 +2051,7 @@ f_pulUserEventId Pointer to the user event id specified. f_pfAllowStartIfActive Pointer to the add to currently playing list flag. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100ApiCheckPlayoutStartParams UINT32 Oct6100ApiCheckPlayoutStartParams( IN OUT tPOCT6100_INSTANCE_API f_pApiInstance, IN OUT tPOCT6100_BUFFER_PLAYOUT_START f_pBufferPlayoutStart, @@ -2084,6 +2147,7 @@ UINT32 Oct6100ApiCheckPlayoutStartParams( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -2107,6 +2171,7 @@ f_fAllowStartIfActive Add to currently playing list flag. f_ulPlayoutStopEventType Playout stop event type to be generated if required. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100ApiWriteChanPlayoutStructs UINT32 Oct6100ApiWriteChanPlayoutStructs( IN OUT tPOCT6100_INSTANCE_API f_pApiInstance, IN tPOCT6100_BUFFER_PLAYOUT_START f_pBufferPlayoutStart, @@ -2500,6 +2565,7 @@ UINT32 Oct6100ApiWriteChanPlayoutStructs( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -2517,6 +2583,7 @@ f_pApiInstance Pointer to API instance. This memory is used to keep the f_pBufferPlayoutStop Pointer to buffer playout stop structure. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100BufferPlayoutStopSer UINT32 Oct6100BufferPlayoutStopSer( IN OUT tPOCT6100_INSTANCE_API f_pApiInstance, IN OUT tPOCT6100_BUFFER_PLAYOUT_STOP f_pBufferPlayoutStop ) @@ -2547,6 +2614,7 @@ UINT32 Oct6100BufferPlayoutStopSer( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -2566,6 +2634,7 @@ f_pulChannelIndex Pointer to the channel index on which playout is to be stoppe f_pusEchoMemIndex Pointer to the echo mem index on which playout is to be stopped. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100ApiAssertPlayoutStopParams UINT32 Oct6100ApiAssertPlayoutStopParams( IN OUT tPOCT6100_INSTANCE_API f_pApiInstance, IN tPOCT6100_BUFFER_PLAYOUT_STOP f_pBufferPlayoutStop, @@ -2628,6 +2697,7 @@ UINT32 Oct6100ApiAssertPlayoutStopParams( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -2647,6 +2717,7 @@ f_ulChannelIndex Index of the channel within the API's channel list. f_usEchoMemIndex Index of the echo channel in hardware memory. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100ApiInvalidateChanPlayoutStructs UINT32 Oct6100ApiInvalidateChanPlayoutStructs( IN OUT tPOCT6100_INSTANCE_API f_pApiInstance, IN tPOCT6100_BUFFER_PLAYOUT_STOP f_pBufferPlayoutStop, @@ -3203,6 +3274,7 @@ UINT32 Oct6100ApiInvalidateChanPlayoutStructs( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -3220,6 +3292,7 @@ f_pApiInstance Pointer to API instance. This memory is used to keep the f_pulBufferIndex List entry reserved. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100ApiReserveBufPlayoutListEntry UINT32 Oct6100ApiReserveBufPlayoutListEntry( IN OUT tPOCT6100_INSTANCE_API f_pApiInstance, OUT PUINT32 f_pulBufferIndex ) @@ -3240,6 +3313,7 @@ UINT32 Oct6100ApiReserveBufPlayoutListEntry( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -3257,6 +3331,7 @@ f_pApiInstance Pointer to API instance. This memory is used to keep the f_ulBufferIndex List entry to be freed. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100ApiReleaseBufPlayoutListEntry UINT32 Oct6100ApiReleaseBufPlayoutListEntry( IN OUT tPOCT6100_INSTANCE_API f_pApiInstance, IN UINT32 f_ulBufferIndex ) @@ -3272,4 +3347,4 @@ UINT32 Oct6100ApiReleaseBufPlayoutListEntry( return cOCT6100_ERR_OK; } - +#endif diff --git a/software/octdeviceapi/oct6100api/oct6100_api/oct6100_remote_debug.c b/software/octdeviceapi/oct6100api/oct6100_api/oct6100_remote_debug.c index b9f747b..0c67d0b 100644 --- a/software/octdeviceapi/oct6100api/oct6100_api/oct6100_remote_debug.c +++ b/software/octdeviceapi/oct6100api/oct6100_api/oct6100_remote_debug.c @@ -86,6 +86,7 @@ f_pApiInstance Pointer to API instance. This memory is used to keep f_pRemoteDebug Pointer to a remote debug structure. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100RemoteDebugDef UINT32 Oct6100RemoteDebugDef( tPOCT6100_REMOTE_DEBUG f_pRemoteDebug ) { @@ -97,7 +98,9 @@ UINT32 Oct6100RemoteDebugDef( return cOCT6100_ERR_OK; } +#endif +#if !SKIP_Oct6100RemoteDebug UINT32 Oct6100RemoteDebug( tPOCT6100_INSTANCE_API f_pApiInstance, tPOCT6100_REMOTE_DEBUG f_pRemoteDebug ) @@ -234,6 +237,7 @@ UINT32 Oct6100RemoteDebug( return cOCT6100_ERR_OK; } +#endif /**************************** PRIVATE FUNCTIONS ****************************/ @@ -253,6 +257,7 @@ f_pChipOpen Pointer to chip configuration struct. f_pInstSizes Pointer to struct containing instance sizes. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100ApiGetRemoteDebugSwSizes UINT32 Oct6100ApiGetRemoteDebugSwSizes( IN tPOCT6100_CHIP_OPEN f_pChipOpen, OUT tPOCT6100_API_INSTANCE_SIZES f_pInstSizes ) @@ -288,6 +293,7 @@ UINT32 Oct6100ApiGetRemoteDebugSwSizes( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -304,6 +310,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_Oct6100ApiRemoteDebuggingSwInit UINT32 Oct6100ApiRemoteDebuggingSwInit( IN OUT tPOCT6100_INSTANCE_API f_pApiInstance ) { @@ -330,6 +337,7 @@ UINT32 Oct6100ApiRemoteDebuggingSwInit( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -348,6 +356,7 @@ f_pApiInstance Pointer to API instance. This memory is used to keep f_ulPktLengthDword Length of the packet in dwords. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100ApiCheckEndianDetectField UINT32 Oct6100ApiCheckEndianDetectField( IN OUT tPOCTRPC_OGRDTP_HEADER f_pOgrdtpHeader, IN UINT32 f_ulPktLengthDword ) @@ -409,6 +418,7 @@ UINT32 Oct6100ApiCheckEndianDetectField( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -425,6 +435,7 @@ f_ulPktLengthDword Length of the packet in dwords. f_pulChecksum Pointer to the checksum of the packet. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100ApiCalculateChecksum VOID Oct6100ApiCalculateChecksum( IN PUINT32 f_pulPktPayload, IN UINT32 f_ulPktLengthDword, @@ -443,6 +454,7 @@ VOID Oct6100ApiCalculateChecksum( *f_pulChecksum -= (pOgrdtpHeader->ulChecksum >> 16) & 0xFFFF; *f_pulChecksum -= (pOgrdtpHeader->ulChecksum >> 0) & 0xFFFF; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -472,6 +484,7 @@ f_ulPayloadDwordIndex Index in the packet where the payload starts. f_ulChecksum Checksum of the packet. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100ApiFormResponsePkt VOID Oct6100ApiFormResponsePkt( IN OUT tPOCT6100_INSTANCE_API f_pApiInstance, IN PUINT32 f_pulRcvPktPayload, @@ -584,6 +597,7 @@ VOID Oct6100ApiFormResponsePkt( Oct6100UserMemCopy( pulPktCache, f_pulRspPktPayload, f_ulPktLengthDword * 4 ); } } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -607,6 +621,7 @@ f_ulSessionIndex Index of the remote debug session within the API' session lis f_ulChecksum Checksum of the packet. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100ApiCheckPktCommands UINT32 Oct6100ApiCheckPktCommands( IN OUT tPOCT6100_INSTANCE_API f_pApiInstance, IN PUINT32 f_pulRcvPktPayload, @@ -734,6 +749,7 @@ UINT32 Oct6100ApiCheckPktCommands( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -754,6 +770,7 @@ f_pulRcvPktPayload Pointer to the payload of the received packet. f_ulPktLengthDword Length of the packet in dwords. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100ApiExecutePktCommands VOID Oct6100ApiExecutePktCommands( IN tPOCT6100_INSTANCE_API f_pApiInstance, IN PUINT32 f_pulRcvPktPayload, @@ -817,6 +834,7 @@ VOID Oct6100ApiExecutePktCommands( pReqCmndHeader = ( tPOCTRPC_COMMAND_HEADER )(( PUINT32 )pReqCmndHeader + (pReqCmndHeader->ulCommandByteSize / 4)); } } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -839,6 +857,7 @@ f_pulSessionIndex Pointer to the remote debugging session within the API's session list. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100ApiCheckSessionNum UINT32 Oct6100ApiCheckSessionNum( IN OUT tPOCT6100_INSTANCE_API f_pApiInstance, IN tPOCTRPC_OGRDTP_HEADER f_pOgrdtpHeader, @@ -1035,6 +1054,7 @@ UINT32 Oct6100ApiCheckSessionNum( return cOCT6100_ERR_FATAL_46; } } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -1053,6 +1073,7 @@ f_pApiInstance Pointer to API instance. This memory is used to keep f_pCmndHeader Pointer to RPC command structure. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100ApiRpcReadWord VOID Oct6100ApiRpcReadWord( IN OUT tPOCT6100_INSTANCE_API f_pApiInstance, IN OUT tPOCTRPC_COMMAND_HEADER f_pCmndHeader ) @@ -1085,6 +1106,7 @@ VOID Oct6100ApiRpcReadWord( pReadCommand->ulReadData = (usReadData << 16) | usReadData; f_pCmndHeader->ulFunctionResult = ulResult; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -1103,6 +1125,7 @@ f_pApiInstance Pointer to API instance. This memory is used to keep f_pCmndHeader Pointer to RPC command structure. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100ApiRpcReadBurst VOID Oct6100ApiRpcReadBurst( IN OUT tPOCT6100_INSTANCE_API f_pApiInstance, IN OUT tPOCTRPC_COMMAND_HEADER f_pCmndHeader ) @@ -1169,6 +1192,7 @@ VOID Oct6100ApiRpcReadBurst( /* Return result. */ f_pCmndHeader->ulFunctionResult = ulResult; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -1187,6 +1211,7 @@ f_pApiInstance Pointer to API instance. This memory is used to keep f_pCmndHeader Pointer to RPC command structure. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100ApiRpcReadArray VOID Oct6100ApiRpcReadArray( IN OUT tPOCT6100_INSTANCE_API f_pApiInstance, IN OUT tPOCTRPC_COMMAND_HEADER f_pCmndHeader ) @@ -1235,6 +1260,7 @@ VOID Oct6100ApiRpcReadArray( /* Return result. */ f_pCmndHeader->ulFunctionResult = ulResult; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -1253,6 +1279,7 @@ f_pApiInstance Pointer to API instance. This memory is used to keep f_pCmndHeader Pointer to RPC command structure. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100ApiRpcWriteWord VOID Oct6100ApiRpcWriteWord( IN OUT tPOCT6100_INSTANCE_API f_pApiInstance, IN OUT tPOCTRPC_COMMAND_HEADER f_pCmndHeader ) @@ -1279,6 +1306,7 @@ VOID Oct6100ApiRpcWriteWord( /* Return result. */ f_pCmndHeader->ulFunctionResult = ulResult; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -1297,6 +1325,7 @@ f_pApiInstance Pointer to API instance. This memory is used to keep f_pCmndHeader Pointer to RPC command structure. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100ApiRpcWriteSmear VOID Oct6100ApiRpcWriteSmear( IN OUT tPOCT6100_INSTANCE_API f_pApiInstance, IN OUT tPOCTRPC_COMMAND_HEADER f_pCmndHeader ) @@ -1324,6 +1353,7 @@ VOID Oct6100ApiRpcWriteSmear( /* Return result. */ f_pCmndHeader->ulFunctionResult = ulResult; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -1342,6 +1372,7 @@ f_pApiInstance Pointer to API instance. This memory is used to keep f_pCmndHeader Pointer to RPC command structure. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100ApiRpcWriteBurst VOID Oct6100ApiRpcWriteBurst( IN OUT tPOCT6100_INSTANCE_API f_pApiInstance, IN OUT tPOCTRPC_COMMAND_HEADER f_pCmndHeader ) @@ -1382,6 +1413,7 @@ VOID Oct6100ApiRpcWriteBurst( /* Return result. */ f_pCmndHeader->ulFunctionResult = ulResult; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -1400,6 +1432,7 @@ f_pApiInstance Pointer to API instance. This memory is used to keep f_pCmndHeader Pointer to RPC command structure. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100ApiRpcSetHotChannel VOID Oct6100ApiRpcSetHotChannel( IN OUT tPOCT6100_INSTANCE_API f_pApiInstance, IN OUT tPOCTRPC_COMMAND_HEADER f_pCmndHeader ) @@ -1431,6 +1464,7 @@ VOID Oct6100ApiRpcSetHotChannel( /* Return result. */ f_pCmndHeader->ulFunctionResult = ulResult; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -1449,6 +1483,7 @@ f_pApiInstance Pointer to API instance. This memory is used to keep f_pCmndHeader Pointer to RPC command structure. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100ApiRpcGetDebugChanIndex VOID Oct6100ApiRpcGetDebugChanIndex( IN OUT tPOCT6100_INSTANCE_API f_pApiInstance, IN OUT tPOCTRPC_COMMAND_HEADER f_pCmndHeader ) @@ -1463,6 +1498,7 @@ VOID Oct6100ApiRpcGetDebugChanIndex( /* Return result. */ f_pCmndHeader->ulFunctionResult = cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -1481,6 +1517,7 @@ f_pCmndHeader Pointer to RPC command structure. f_ulSessionNumber Session number of the current remote debugging session. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100ApiRpcDisconnect VOID Oct6100ApiRpcDisconnect( IN OUT tPOCT6100_INSTANCE_API f_pApiInstance, IN OUT tPOCTRPC_COMMAND_HEADER f_pCmndHeader, @@ -1558,3 +1595,4 @@ VOID Oct6100ApiRpcDisconnect( /* Increment number of open sessions. */ pRemoteDebugInfo->ulNumSessionsOpen--; } +#endif diff --git a/software/octdeviceapi/oct6100api/oct6100_api/oct6100_tlv.c b/software/octdeviceapi/oct6100api/oct6100_api/oct6100_tlv.c index 8a1a1b9..0c797c1 100644 --- a/software/octdeviceapi/oct6100api/oct6100_api/oct6100_tlv.c +++ b/software/octdeviceapi/oct6100api/oct6100_api/oct6100_tlv.c @@ -77,6 +77,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_Oct6100ApiProcessTlvRegion UINT32 Oct6100ApiProcessTlvRegion( tPOCT6100_INSTANCE_API f_pApiInstance ) { @@ -224,6 +225,7 @@ UINT32 Oct6100ApiProcessTlvRegion( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -244,6 +246,7 @@ f_ulTlvFieldLength Byte length of the TLV field. f_ulTlvValueAddress Address where the data of the TLV block starts. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100ApiInterpretTlvEntry UINT32 Oct6100ApiInterpretTlvEntry( IN OUT tPOCT6100_INSTANCE_API f_pApiInstance, IN UINT32 f_ulTlvFieldType, @@ -1957,6 +1960,7 @@ UINT32 Oct6100ApiInterpretTlvEntry( return ulResult; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -1973,6 +1977,7 @@ f_ulMinLengthValue Minimum value supported for the TLV. f_ulMaxLengthValue Maximum value supported for the TLV. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100ApiTlvCheckLengthField UINT32 Oct6100ApiTlvCheckLengthField( IN UINT32 f_ulTlvFieldLength, IN UINT32 f_ulMinLengthValue, @@ -1992,6 +1997,7 @@ UINT32 Oct6100ApiTlvCheckLengthField( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -2010,6 +2016,7 @@ f_ulAddress Address where the read the TLV information. f_pBitOffsetStruct Pointer to a bit offset stucture. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100ApiTlvReadBitOffsetStruct UINT32 Oct6100ApiTlvReadBitOffsetStruct( IN OUT tPOCT6100_INSTANCE_API f_pApiInstance, IN UINT32 f_ulAddress, @@ -2079,3 +2086,4 @@ UINT32 Oct6100ApiTlvReadBitOffsetStruct( return cOCT6100_ERR_OK; } +#endif diff --git a/software/octdeviceapi/oct6100api/oct6100_api/oct6100_tone_detection.c b/software/octdeviceapi/oct6100api/oct6100_api/oct6100_tone_detection.c index 266061a..e19152e 100644 --- a/software/octdeviceapi/oct6100api/oct6100_api/oct6100_tone_detection.c +++ b/software/octdeviceapi/oct6100api/oct6100_api/oct6100_tone_detection.c @@ -83,6 +83,7 @@ f_pApiInstance Pointer to API instance. This memory is used to keep the f_pToneDetectEnable Pointer to tone detection enable structure. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100ToneDetectionEnableDef UINT32 Oct6100ToneDetectionEnableDef( tPOCT6100_TONE_DETECTION_ENABLE f_pToneDetectEnable ) { @@ -91,7 +92,9 @@ UINT32 Oct6100ToneDetectionEnableDef( return cOCT6100_ERR_OK; } +#endif +#if !SKIP_Oct6100ToneDetectionEnable UINT32 Oct6100ToneDetectionEnable( tPOCT6100_INSTANCE_API f_pApiInstance, tPOCT6100_TONE_DETECTION_ENABLE f_pToneDetectEnable ) @@ -131,6 +134,7 @@ UINT32 Oct6100ToneDetectionEnable( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -149,6 +153,7 @@ f_pApiInstance Pointer to API instance. This memory is used to keep the f_pToneDetectDisable Pointer to tone detection disable structure. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100ToneDetectionDisableDef UINT32 Oct6100ToneDetectionDisableDef( tPOCT6100_TONE_DETECTION_DISABLE f_pToneDetectDisable ) { @@ -158,8 +163,10 @@ UINT32 Oct6100ToneDetectionDisableDef( return cOCT6100_ERR_OK; } +#endif +#if !SKIP_Oct6100ToneDetectionDisable UINT32 Oct6100ToneDetectionDisable( tPOCT6100_INSTANCE_API f_pApiInstance, tPOCT6100_TONE_DETECTION_DISABLE f_pToneDetectDisable ) @@ -199,6 +206,7 @@ UINT32 Oct6100ToneDetectionDisable( return cOCT6100_ERR_OK; } +#endif /**************************** PRIVATE FUNCTIONS ****************************/ @@ -221,6 +229,7 @@ f_pToneDetectEnable Pointer to tone detect enable structure. This structure enabled. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100ToneDetectionEnableSer UINT32 Oct6100ToneDetectionEnableSer( IN OUT tPOCT6100_INSTANCE_API f_pApiInstance, IN tPOCT6100_TONE_DETECTION_ENABLE f_pToneDetectEnable ) @@ -263,6 +272,7 @@ UINT32 Oct6100ToneDetectionEnableSer( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -283,6 +293,7 @@ f_pulToneEventNumber Pointer to the Index of the tone associated to the requeste f_pulExtToneChanIndex Pointer to the index of the extended channel index. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100ApiCheckToneEnableParams UINT32 Oct6100ApiCheckToneEnableParams( IN OUT tPOCT6100_INSTANCE_API f_pApiInstance, IN tPOCT6100_TONE_DETECTION_ENABLE f_pToneDetectEnable, @@ -346,6 +357,7 @@ UINT32 Oct6100ApiCheckToneEnableParams( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -365,6 +377,7 @@ f_ulToneEventNumber Event number of the tone to be activated. f_ulExtToneChanIndex Index of the extended tone detection channel. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100ApiWriteToneDetectEvent UINT32 Oct6100ApiWriteToneDetectEvent( IN OUT tPOCT6100_INSTANCE_API f_pApiInstance, IN UINT32 f_ulChannelIndex, @@ -442,6 +455,7 @@ UINT32 Oct6100ApiWriteToneDetectEvent( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -462,6 +476,7 @@ f_ulToneEventNumber Enabled tone event number. f_ulExtToneChanIndex Index of the extended tone detection channel. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100ApiUpdateChanToneDetectEntry UINT32 Oct6100ApiUpdateChanToneDetectEntry ( IN OUT tPOCT6100_INSTANCE_API f_pApiInstance, IN UINT32 f_ulChannelIndex, @@ -558,6 +573,7 @@ UINT32 Oct6100ApiUpdateChanToneDetectEntry ( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -576,6 +592,7 @@ f_pApiInstance Pointer to API instance. This memory is used to keep the f_pToneDetectDisable Pointer to tOCT6100_TONE_DETECTION_DISABLE structure. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100ToneDetectionDisableSer UINT32 Oct6100ToneDetectionDisableSer( IN OUT tPOCT6100_INSTANCE_API f_pApiInstance, IN tPOCT6100_TONE_DETECTION_DISABLE f_pToneDetectDisable ) @@ -622,6 +639,7 @@ UINT32 Oct6100ToneDetectionDisableSer( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -644,6 +662,7 @@ f_pfDisableAll Pointer to the flag specifying whether all tones should be disabled. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100ApiAssertToneDetectionParams UINT32 Oct6100ApiAssertToneDetectionParams( IN OUT tPOCT6100_INSTANCE_API f_pApiInstance, IN tPOCT6100_TONE_DETECTION_DISABLE f_pToneDetectDisable, @@ -719,6 +738,7 @@ UINT32 Oct6100ApiAssertToneDetectionParams( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -739,6 +759,7 @@ f_ulExtToneChanIndex Index of the extended tone detection channel. f_fDisableAll Clear all activated tones. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100ApiClearToneDetectionEvent UINT32 Oct6100ApiClearToneDetectionEvent( IN OUT tPOCT6100_INSTANCE_API f_pApiInstance, IN UINT32 f_ulChannelIndex, @@ -851,6 +872,7 @@ UINT32 Oct6100ApiClearToneDetectionEvent( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -872,6 +894,7 @@ f_ulExtToneChanIndex Index of the extended tone detection channel. f_fDisableAll Release all activated tones. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100ApiReleaseToneDetectionEvent UINT32 Oct6100ApiReleaseToneDetectionEvent ( IN OUT tPOCT6100_INSTANCE_API f_pApiInstance, IN UINT32 f_ulChannelIndex, @@ -962,6 +985,7 @@ UINT32 Oct6100ApiReleaseToneDetectionEvent ( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -980,6 +1004,7 @@ f_pApiInstance Pointer to API instance. This memory is used to keep the f_ulToneEventNumber Tone event number to be checked against. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100ApiIsSSTone UINT32 Oct6100ApiIsSSTone( IN OUT tPOCT6100_INSTANCE_API f_pApiInstance, IN UINT32 f_ulToneEventNumber, @@ -999,4 +1024,5 @@ UINT32 Oct6100ApiIsSSTone( return cOCT6100_ERR_OK; } +#endif 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 diff --git a/software/octdeviceapi/oct6100api/oct6100_api/oct6100_tsst.c b/software/octdeviceapi/oct6100api/oct6100_api/oct6100_tsst.c index b6ab475..37bc28d 100644 --- a/software/octdeviceapi/oct6100api/oct6100_api/oct6100_tsst.c +++ b/software/octdeviceapi/oct6100api/oct6100_api/oct6100_tsst.c @@ -73,6 +73,7 @@ Description: Gets the sizes of all portions of the API instance pertinent f_pInstSizes Pointer to struct containing instance sizes. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100ApiGetTsstSwSizes UINT32 Oct6100ApiGetTsstSwSizes( OUT tPOCT6100_API_INSTANCE_SIZES f_pInstSizes ) { @@ -96,6 +97,7 @@ UINT32 Oct6100ApiGetTsstSwSizes( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -112,6 +114,7 @@ f_pApiInstance Pointer to API instance. This tsst is used to keep the present state of the chip and all its resources. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100ApiTsstSwInit UINT32 Oct6100ApiTsstSwInit( IN OUT tPOCT6100_INSTANCE_API f_pApiInstance ) { @@ -141,6 +144,7 @@ UINT32 Oct6100ApiTsstSwInit( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -161,6 +165,7 @@ f_ulNumTssts Number of TSST required. f_ulDirection Direction of the TSST (Input or Output). \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100ApiValidateTsst UINT32 Oct6100ApiValidateTsst( IN OUT tPOCT6100_INSTANCE_API f_pApiInstance, IN UINT32 f_ulNumTssts, @@ -232,6 +237,7 @@ UINT32 Oct6100ApiValidateTsst( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -260,6 +266,7 @@ f_ulDirection Whether the TSST in and input TSST or output TSST. f_pusTsstMemIndex Index of the resulting TSST in the TSST control memory. f_pusTsstListIndex Index in the TSST list of the current entry. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100ApiReserveTsst UINT32 Oct6100ApiReserveTsst( IN OUT tPOCT6100_INSTANCE_API f_pApiInstance, IN UINT32 f_ulTimeslot, @@ -436,6 +443,7 @@ UINT32 Oct6100ApiReserveTsst( return ulResult; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -460,6 +468,7 @@ f_ulDirection Whether the TSST is an input TSST or output TSST. f_usTsstListIndex Index in the TSST list of the current entry. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100ApiReleaseTsst UINT32 Oct6100ApiReleaseTsst( IN OUT tPOCT6100_INSTANCE_API f_pApiInstance, IN UINT32 f_ulTimeslot, @@ -563,3 +572,4 @@ UINT32 Oct6100ApiReleaseTsst( return cOCT6100_ERR_OK; } +#endif diff --git a/software/octdeviceapi/oct6100api/oct6100_api/oct6100_user.c b/software/octdeviceapi/oct6100api/oct6100_api/oct6100_user.c index f54377c..0019b03 100644 --- a/software/octdeviceapi/oct6100api/oct6100_api/oct6100_user.c +++ b/software/octdeviceapi/oct6100api/oct6100_api/oct6100_user.c @@ -49,12 +49,14 @@ Description: Returns the system time in us. f_pTime Pointer to structure in which the time is returned. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100UserGetTime UINT32 Oct6100UserGetTime( IN OUT tPOCT6100_GET_TIME f_pTime ) { return cOCT6100_ERR_OK; } +#endif @@ -76,6 +78,7 @@ f_ulPattern Pattern to apply at the address. This value will never f_ulLength Length in bytes to set. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100UserMemSet UINT32 Oct6100UserMemSet( IN PVOID f_pAddress, IN UINT32 f_ulPattern, @@ -84,6 +87,7 @@ UINT32 Oct6100UserMemSet( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -101,6 +105,7 @@ f_pSource Host data source address. f_ulLength Length in bytes to copy. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100UserMemCopy UINT32 Oct6100UserMemCopy( IN PVOID f_pDestination, IN PVOID f_pSource, @@ -109,6 +114,7 @@ UINT32 Oct6100UserMemCopy( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -125,6 +131,7 @@ f_pCreate Pointer to structure in which the serialization object's handle is returned. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100UserCreateSerializeObject UINT32 Oct6100UserCreateSerializeObject( IN OUT tPOCT6100_CREATE_SERIALIZE_OBJECT f_pCreate ) { @@ -132,6 +139,7 @@ UINT32 Oct6100UserCreateSerializeObject( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -147,6 +155,7 @@ f_pDestroy Pointer to structure containing the handle of the serialization object. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100UserDestroySerializeObject UINT32 Oct6100UserDestroySerializeObject( IN tPOCT6100_DESTROY_SERIALIZE_OBJECT f_pDestroy ) { @@ -154,6 +163,7 @@ UINT32 Oct6100UserDestroySerializeObject( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -169,6 +179,7 @@ f_pSeize Pointer to structure containing the handle of the serialization object. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100UserSeizeSerializeObject UINT32 Oct6100UserSeizeSerializeObject( IN tPOCT6100_SEIZE_SERIALIZE_OBJECT f_pSeize ) { @@ -176,6 +187,7 @@ UINT32 Oct6100UserSeizeSerializeObject( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -191,6 +203,7 @@ f_pRelease Pointer to structure containing the handle of the serialization object. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100UserReleaseSerializeObject UINT32 Oct6100UserReleaseSerializeObject( IN tPOCT6100_RELEASE_SERIALIZE_OBJECT f_pRelease ) { @@ -198,6 +211,7 @@ UINT32 Oct6100UserReleaseSerializeObject( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -215,6 +229,7 @@ f_pWriteParams Pointer to structure containing the Params to the write function. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100UserDriverWriteApi UINT32 Oct6100UserDriverWriteApi( IN tPOCT6100_WRITE_PARAMS f_pWriteParams ) { @@ -224,6 +239,7 @@ UINT32 Oct6100UserDriverWriteApi( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -241,12 +257,14 @@ f_pWriteParams Pointer to structure containing the Params to the write function. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100UserDriverWriteOs UINT32 Oct6100UserDriverWriteOs( IN tPOCT6100_WRITE_PARAMS f_pWriteParams ) { return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -267,6 +285,7 @@ f_pSmearParams Pointer to structure containing the parameters to the write smear function. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100UserDriverWriteSmearApi UINT32 Oct6100UserDriverWriteSmearApi( IN tPOCT6100_WRITE_SMEAR_PARAMS f_pSmearParams ) { @@ -276,6 +295,7 @@ UINT32 Oct6100UserDriverWriteSmearApi( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -296,6 +316,7 @@ f_pSmearParams Pointer to structure containing the parameters to the write smear function. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100UserDriverWriteSmearOs UINT32 Oct6100UserDriverWriteSmearOs( IN tPOCT6100_WRITE_SMEAR_PARAMS f_pSmearParams ) { @@ -303,6 +324,7 @@ UINT32 Oct6100UserDriverWriteSmearOs( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -323,6 +345,7 @@ f_pBurstParams Pointer to structure containing the parameters to the write burst function. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100UserDriverWriteBurstApi UINT32 Oct6100UserDriverWriteBurstApi( IN tPOCT6100_WRITE_BURST_PARAMS f_pBurstParams ) { @@ -332,6 +355,7 @@ UINT32 Oct6100UserDriverWriteBurstApi( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -352,6 +376,7 @@ f_pBurstParams Pointer to structure containing the parameters to the write burst function. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100UserDriverWriteBurstOs UINT32 Oct6100UserDriverWriteBurstOs( IN tPOCT6100_WRITE_BURST_PARAMS f_pBurstParams ) { @@ -359,6 +384,7 @@ UINT32 Oct6100UserDriverWriteBurstOs( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -376,6 +402,7 @@ f_pReadParams Pointer to structure containing the parameters to the read function. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100UserDriverReadApi UINT32 Oct6100UserDriverReadApi( IN OUT tPOCT6100_READ_PARAMS f_pReadParams ) { @@ -385,6 +412,7 @@ UINT32 Oct6100UserDriverReadApi( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -402,6 +430,7 @@ f_pReadParams Pointer to structure containing the parameters to the read function. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100UserDriverReadOs UINT32 Oct6100UserDriverReadOs( IN OUT tPOCT6100_READ_PARAMS f_pReadParams ) { @@ -409,6 +438,7 @@ UINT32 Oct6100UserDriverReadOs( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -429,6 +459,7 @@ f_pBurstParams Pointer to structure containing the parameters to the read burst function. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100UserDriverReadBurstApi UINT32 Oct6100UserDriverReadBurstApi( IN OUT tPOCT6100_READ_BURST_PARAMS f_pBurstParams ) { @@ -438,6 +469,7 @@ UINT32 Oct6100UserDriverReadBurstApi( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -458,6 +490,7 @@ f_pBurstParams Pointer to structure containing the parameters to the read burst function. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100UserDriverReadBurstOs UINT32 Oct6100UserDriverReadBurstOs( IN OUT tPOCT6100_READ_BURST_PARAMS f_pBurstParams ) { @@ -465,6 +498,7 @@ UINT32 Oct6100UserDriverReadBurstOs( return cOCT6100_ERR_OK; } +#endif -- cgit v1.2.3