Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
executable file 19 lines (12 sloc) 296 Bytes
#ifndef SLIST_H
#define SLIST_H
typedef struct slist {
char *data;
int refs;
struct slist *next;
} slist;
slist *s_cons(const char *text, slist *rest);
void s_free(slist *xs);
slist *s_split(const char *text, char delim);
int contains(const char *path, const char *dir);
#endif
You can’t perform that action at this time.