X-Git-Url: https://code.citadel.org/?p=citadel.git;a=blobdiff_plain;f=libcitadel%2Flib%2Flibcitadel.h;h=54bf8d99285f28e1ac822f3298caca582e8bb51f;hp=9d015a9378927dd1afbe86505f384656c061e1c1;hb=2d108c1f33c86b501a2540ba48eaedded8894f20;hpb=80f14552e61c41057242205ad967d0a3fb6b98ff diff --git a/libcitadel/lib/libcitadel.h b/libcitadel/lib/libcitadel.h index 9d015a937..54bf8d992 100644 --- a/libcitadel/lib/libcitadel.h +++ b/libcitadel/lib/libcitadel.h @@ -26,7 +26,7 @@ #include #include -#define LIBCITADEL_VERSION_NUMBER 925 +#define LIBCITADEL_VERSION_NUMBER 926 /* * Here's a bunch of stupid magic to make the MIME parser portable. @@ -440,6 +440,19 @@ char *html_to_ascii(const char *inputmsg, int msglen, int screenwidth); void LoadEntityList(char *FileName); +typedef struct { + void *the_elements; + size_t element_size; + int num_elements; + int num_alloc; +} Array; + +Array *array_new(size_t element_size); +void array_free(Array *arr); +void array_append(Array *arr, void *new_element); +void *array_get_element_at(Array *arr, int index); +int array_len(Array *arr); + /* vCard stuff */