2020-11-21 09:25:30 -05:00
|
|
|
#ifndef UTIL_H
|
|
|
|
#define UTIL_H
|
|
|
|
|
|
|
|
#include <stdio.h>
|
|
|
|
|
2020-11-17 12:12:39 -05:00
|
|
|
char* heapstr(const char* str, int len);
|
2020-11-19 06:10:51 -05:00
|
|
|
int countplaces(int n);
|
2020-11-21 09:25:30 -05:00
|
|
|
|
|
|
|
typedef struct lnls {
|
|
|
|
char* content;
|
|
|
|
int truen;
|
|
|
|
struct lnls* next;
|
|
|
|
} LINELIST;
|
|
|
|
|
|
|
|
void printlns(LINELIST* lns, FILE* stream);
|
|
|
|
void freelns(LINELIST* lns);
|
|
|
|
#endif
|