Files
assm-test/includes/list.h
T

21 lines
317 B
C

#ifndef LIST_H
#define LIST_H
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#define LISTDEFAULTSIZE 4
typedef struct {
char** root;
int size;
int capacity;
} List;
List* CreateList(void);
int AddListItem(const char *, List *);
void PrintList(const List*);
void DestroyList(List*);
#endif