31 #include "libComAPI.h" 83 const unsigned *
pId,
const void *
pApp);
92 void *
const *
pId,
const void *
pApp);
101 const char *
pId,
const void *
pApp);
175 #define BUCKET_SUCCESS S_bucket_success 179 #define S_bucket_success 0 183 #define S_bucket_noMemory (M_bucket | 1) 187 #define S_bucket_idInUse (M_bucket | 2) 191 #define S_bucket_uknId (M_bucket | 3)
LIBCOM_API int epicsStdCall bucketAddItemPointerId(BUCKET *prb, void *const *pId, const void *pApp)
Add an item identified by a pointer to the table.
Internal: bucket item structure.
LIBCOM_API void *epicsStdCall bucketLookupAndRemoveItemPointerId(BUCKET *prb, void *const *pId)
Find and delete an item identified by a pointer from the table.
LIBCOM_API int epicsStdCall bucketRemoveItemUnsignedId(BUCKET *prb, const unsigned *pId)
Remove an item identified by a string from the table.
LIBCOM_API void *epicsStdCall bucketLookupAndRemoveItemStringId(BUCKET *prb, const char *pId)
Find and delete an item identified by a string from the table.
LIBCOM_API void *epicsStdCall bucketLookupItemPointerId(BUCKET *prb, void *const *pId)
Find an item identified by a pointer in the table.
buckTypeOfId
Internal: bucket key type.
struct bucket BUCKET
Internal: Hash table structure.
struct item ITEM
Internal: bucket item structure.
LIBCOM_API void *epicsStdCall bucketLookupAndRemoveItemUnsignedId(BUCKET *prb, const unsigned *pId)
Find and delete an item identified by an unsigned int from the table.
LIBCOM_API void *epicsStdCall bucketLookupItemUnsignedId(BUCKET *prb, const unsigned *pId)
Find an item identified by an unsigned int in the table.
LIBCOM_API int epicsStdCall bucketRemoveItemStringId(BUCKET *prb, const char *pId)
Remove an item identified by a string from the table.
LIBCOM_API int epicsStdCall bucketFree(BUCKET *prb)
Release memory used by a hash table.
unsigned BUCKETID
Internal: bucket identifier.
LIBCOM_API int epicsStdCall bucketRemoveItemPointerId(BUCKET *prb, void *const *pId)
Remove an item identified by a pointer from the table.
LIBCOM_API int epicsStdCall bucketAddItemStringId(BUCKET *prb, const char *pId, const void *pApp)
Add an item identified by a string to the table.
LIBCOM_API int epicsStdCall bucketAddItemUnsignedId(BUCKET *prb, const unsigned *pId, const void *pApp)
Add an item identified by an unsigned int to the table.
LIBCOM_API BUCKET *epicsStdCall bucketCreate(unsigned nHashTableEntries)
Creates a new hash table.
LIBCOM_API void *epicsStdCall bucketLookupItemStringId(BUCKET *prb, const char *pId)
Find an item identified by a string in the table.
LIBCOM_API int epicsStdCall bucketShow(BUCKET *prb)
Display information about a hash table.
Internal: Hash table structure.