21 lines
390 B
C
21 lines
390 B
C
//
|
|
// Created by Ajurna on 27/07/2025.
|
|
//
|
|
|
|
#ifndef MAIN_H
|
|
#define MAIN_H
|
|
|
|
#endif //MAIN_H
|
|
|
|
|
|
typedef struct ReplyArray {
|
|
size_t size;
|
|
size_t capacity;
|
|
char *data;
|
|
} array_t;
|
|
|
|
array_t *array_create(int size);
|
|
void array_destroy(array_t *array);
|
|
void array_append(array_t *array, char *value, size_t length);
|
|
void array_print(const array_t *array);
|
|
void array_wipe(array_t *array); |