Commit 4eb98a5a169e2debf22f5222bd70311dd1bae297
1 parent
1b7ef503
fixed bug in new response handling
Showing
2 changed files
with
25 additions
and
0 deletions
include/interface/http_intro.h
0 → 100644
| 1 | +#ifndef __HTTP_INTRO_H__ | |
| 2 | +#define __HTTP_INTRO_H__ | |
| 3 | + | |
| 4 | +#include <sys/types.h> | |
| 5 | + | |
| 6 | +typedef size_t (* fptr_httpIntroSizeGet)(void *); | |
| 7 | +typedef char * (* fptr_httpIntroToString)(void *, char *); | |
| 8 | + | |
| 9 | +extern const struct interface i_HttpIntro; | |
| 10 | + | |
| 11 | +struct i_HttpIntro { | |
| 12 | + const struct interface * const _; | |
| 13 | + fptr_httpIntroSizeGet sizeGet; | |
| 14 | + fptr_httpIntroToString toString; | |
| 15 | +}; | |
| 16 | + | |
| 17 | +extern size_t httpIntroSizeGet(void *); | |
| 18 | +extern char * httpIntroToString(void *, char *); | |
| 19 | + | |
| 20 | +#endif // __HTTP_INTRO_H__ | |
| 21 | + | |
| 22 | +// vim: set ts=4 sw=4: | ... | ... |
Please
register
or
login
to post a comment