New upstream version 8.1.0
This commit is contained in:
20
client_module/source/common/toolkit/ackstore/AckStoreMap.c
Normal file
20
client_module/source/common/toolkit/ackstore/AckStoreMap.c
Normal file
@@ -0,0 +1,20 @@
|
||||
#include "AckStoreMap.h"
|
||||
#include "AckStoreMapIter.h"
|
||||
|
||||
AckStoreMapIter AckStoreMap_find(AckStoreMap* this, const char* searchKey)
|
||||
{
|
||||
RBTreeElem* treeElem = _PointerRBTree_findElem( (RBTree*)this, searchKey);
|
||||
|
||||
AckStoreMapIter iter;
|
||||
AckStoreMapIter_init(&iter, this, treeElem);
|
||||
|
||||
return iter;
|
||||
}
|
||||
|
||||
int compareAckStoreMapElems(const void* key1, const void* key2)
|
||||
{
|
||||
return strcmp(key1, key2);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user