Go to the documentation of this file.
35#ifndef __THREADSAFE_STRINGLIST_
36#define __THREADSAFE_STRINGLIST_
45#define MAX_STRINGS 100
Core type definitions, structures, and configuration constants for the OpenLCB library.
Definition threadsafe_stringlist.h:53
int head
Definition threadsafe_stringlist.h:56
pthread_mutex_t mutex
Definition threadsafe_stringlist.h:57
int count
Definition threadsafe_stringlist.h:55
void ThreadSafeStringList_init(StringList *list)
Definition threadsafe_stringlist.c:42
void ThreadSafeStringList_remove(StringList *list, const char *str)
Definition threadsafe_stringlist.c:114
void ThreadSafeStringList_add(StringList *list, const char *string)
Definition threadsafe_stringlist.c:100
#define MAX_STRINGS
Definition threadsafe_stringlist.h:45
void ThreadSafeStringList_destroy(StringList *list)
Definition threadsafe_stringlist.c:149
void ThreadSafeStringList_print(StringList *list)
Definition threadsafe_stringlist.c:136
uint8_t ThreadSafeStringList_push(StringList *list, const char *string)
Definition threadsafe_stringlist.c:51
char * ThreadSafeStringList_pop(StringList *list)
Definition threadsafe_stringlist.c:77
Copyright (c) 2026 Jim Kueneman all rights reserved. See the License