Go to the documentation of this file.
22 #ifndef MamaSymbolListH__
23 #define MamaSymbolListH__
32 #if defined(__cplusplus)
244 unsigned long *size);
265 void* iterateClosure);
361 #if defined(__cplusplus)
MAMAExpDLL mama_status mamaSymbolList_setRemoveSymbolHandler(mamaSymbolList symbolList, removeSymbolCbType removeCb)
Registers the user defined remove symbol callback with the symbolList.
mama_status
Definition: status.h:37
MAMAExpDLL mama_status mamaSymbolList_clear(mamaSymbolList symbolList, int membersToo)
Clear the symbol list.
MAMAExpDLL mama_status mamaSymbolList_removeMember(mamaSymbolList symbolList, const char *symbol, const char *source, mamaTransport transport, mamaSymbolListMember *member)
Remove a symbol member from the symbol list.
MAMAExpDLL mama_status mamaSymbolList_setClosure(mamaSymbolList symbolList, void *closure)
Set the closure associated with the this symbolList.
MAMAExpDLL mama_status mamaSymbolList_addMember(mamaSymbolList symbolList, mamaSymbolListMember member)
Add a symbol member to the symbol list, this will cause the add callback to be invoked if it has been...
struct mamaSymbolList_ * mamaSymbolList
Definition: symbollisttypes.h:32
MAMAExpDLL mama_status mamaSymbolList_findMember(const mamaSymbolList symbolList, const char *symbol, const char *source, mamaTransport transport, mamaSymbolListMember *member)
Find a symbol member in the symbol list.
void(MAMACALLTYPE * mamaSymbolListIterateMemberFunc)(mamaSymbolList symbolList, mamaSymbolListMember member, void *closure)
Function invoked for each member of the symbol list when iterating using mamaSymbolList_iterate().
Definition: symbollist.h:64
struct mamaSymbolListMember_ * mamaSymbolListMember
Definition: symbollisttypes.h:33
MAMAExpDLL mama_status mamaSymbolList_allocate(mamaSymbolList *symbolList)
Allocate and initialize memory for a new symbolList, mamaSymbolList_deallocate should be called on th...
void(MAMACALLTYPE * mamaSymbolListIterateCompleteFunc)(mamaSymbolList symbolList, void *closure)
Function invoked when completing the iteration over the symbol list using mamaSymbolList_iterate().
Definition: symbollist.h:56
MAMAExpDLL mama_status mamaSymbolList_deallocate(mamaSymbolList symbolList)
Free a symbol list created by mamaSymbolList_allocate.
mama_status(MAMACALLTYPE * removeSymbolCbType)(mamaSymbolListMember symbol, void *closure)
Prototype for remove symbol callback.
Definition: symbollist.h:77
MAMAExpDLL mama_status mamaSymbolList_getClosure(const mamaSymbolList symbolList, void **closure)
Get the closure associated with the this symbolList.
struct mamaTransportImpl_ * mamaTransport
Definition: types.h:98
MAMAExpDLL mama_status mamaSymbolList_getSize(const mamaSymbolList symbolList, unsigned long *size)
Get the size of the symbolList.
MAMAExpDLL mama_status mamaSymbolList_setAddSymbolHandler(mamaSymbolList symbolList, addSymbolCbType addCb)
Registers the user defined add symbol callback with the symbolList.
MAMAExpDLL mama_status mamaSymbolList_iterate(mamaSymbolList symbolList, mamaSymbolListIterateMemberFunc memberFunc, mamaSymbolListIterateCompleteFunc completeFunc, void *iterateClosure)
Iterate over the symbol list.
MAMAExpDLL mama_status mamaSymbolList_removeMemberByRef(mamaSymbolList symbolList, mamaSymbolListMember member)
Remove a symbol member from the symbol list.
MAMAExpDLL mamaSymbolListMember mamaSymbolList_allocateMember(mamaSymbolList symbolList)
Allocate a symbolListMember.
MAMAExpDLL mama_status mamaSymbolList_deallocateWithMembers(mamaSymbolList symbolList)
Free the memory for the symbolList and all members.
mama_status(MAMACALLTYPE * addSymbolCbType)(mamaSymbolListMember symbol, void *closure)
Prototype for add symbol callback.
Definition: symbollist.h:48
MAMAExpDLL mama_status mamaSymbolList_deallocateMember(mamaSymbolList symbolList, mamaSymbolListMember member)
Deallocate a symbolListMember.