summaryrefslogtreecommitdiffstats
path: root/libwebglue.c
blob: 723b76b9353c18933cb1f8f8ca9ac99f8dd40ca9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#include <stdio.h>
#include <time.h>

void web_header(char *fmt)
{
	printf("%s\r\n\r\n", fmt);
}

void web_echo(char *fmt, ...)
{
	printf(fmt);
}

int web_time(void)
{
	time_t unixepoch;
	unixepoch = time(NULL);

	return unixepoch;
}