For PETEY
Dependencies: mbed EthernetNetIf
Diff: TinyHTTP.h
- Revision:
- 2:764ecec3dc59
- Parent:
- 0:f2bf5f966801
diff -r 9f15e579d914 -r 764ecec3dc59 TinyHTTP.h --- a/TinyHTTP.h Wed Jul 27 16:19:14 2011 +0000 +++ b/TinyHTTP.h Thu Jul 28 16:35:09 2011 +0000 @@ -29,4 +29,10 @@ */ int httpRequest (int method, Host *host, char *uri, char *head, char *body); +void createauth (char *user, char *pwd, char *buf, int len); + +int base64enc(const char *input, unsigned int length, char *output, int len); + +int urlencode(char *str, char *buf, int len); + #endif