51 CMETHOD ATTR_NONNULL((2));
60 CMETHOD ATTR_NONNULL((2));
72 int (*matcher)(
void *,
const void *),
const void *arg)
73 CMETHOD ATTR_NONNULL((2));
void IBList_remove(IBList *self, void *obj)
Remove a given object from the list.
void * IBList_at(const IBList *self, size_t idx)
Gets an object by position.
size_t IBList_size(const IBList *self)
Number of entries.
void IBList_append(IBList *self, void *obj, void(*deleter)(void *))
Append an object to the list.
IBList * IBList_fromString(const char *str, const char *delim)
Create a List of strings by splitting a given string.
IBListIterator * IBList_iterator(const IBList *self)
Creates an iterator for all entries.
IBList * IBList_create(void)
IBList default constructor.
void IBList_destroy(IBList *self)
IBList destructor.
void IBList_removeAll(IBList *self, int(*matcher)(void *, const void *), const void *arg)
Remove matching objects from the list.
An iterator over the contents of an IBList.
void * IBListIterator_current(const IBListIterator *self)
Gets the object at the current position.
void IBListIterator_destroy(IBListIterator *self)
IBListIterator destructor.
int IBListIterator_moveNext(IBListIterator *self)
Move to the next position.
Common preprocessor declarations for libircbot.