summaryrefslogtreecommitdiff
path: root/web/web_misc.h
blob: 987218195a9050ea2921c5c4aeb21b0b3d8175a9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#ifndef WEB_MISC_H
#define WEB_MISC_H

#include <stdbool.h>

typedef struct bufstr {
	char *fl, *buf;
} bufstr;

void bufstr_buf(bufstr *b, char *str);
bool bufstr_changed(bufstr *b);
char *bufstr_flush(bufstr *b);

#endif