Added mg_template() function

This commit is contained in:
Sergey Lyubka committed 2014-03-30 12:45:48 +01:00
1 parent 4739de6c28
commit 5a04ab2c56
2 files changed
+43

No files matched your search

+7
View File
@@ -113,6 +113,13 @@ void *mg_start_thread(void *(*func)(void *), void *param);
char *mg_md5(char buf[33], ...);
int mg_authorize_digest(struct mg_connection *c, FILE *fp);
struct mg_expansion {
const char *keyword;
void (*handler)(struct mg_connection *);
};
void mg_template(struct mg_connection *, const char *text,
struct mg_expansion *expansions);
#ifdef __cplusplus
}