123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100 |
- extern "C" {
- typedef void (*http_download_cb_t)(uint8_t* data, size_t len, void* context);
- void http_download(char* url, size_t max, http_download_cb_t callback, void* context);
- void url_decode(char* url);
- bool out_http_binding(pb_ostream_t* stream, const uint8_t* buf, size_t count);
- bool in_http_binding(pb_istream_t* stream, pb_byte_t* buf, size_t count);
- }
|