summaryrefslogtreecommitdiff
path: root/software/apilib
diff options
context:
space:
mode:
Diffstat (limited to 'software/apilib')
-rw-r--r--software/apilib/bt/octapi_bt0.c38
-rw-r--r--software/apilib/largmath/octapi_largmath.c16
-rw-r--r--software/apilib/llman/octapi_llman.c72
3 files changed, 126 insertions, 0 deletions
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 **********************************************/