20#ifndef NET_NANOCOAP_VFS_H
21#define NET_NANOCOAP_VFS_H
67 void *work_buf,
size_t work_buf_len);
83 void *work_buf,
size_t work_buf_len);
int nanocoap_vfs_put(nanocoap_sock_t *sock, const char *path, const char *src, void *work_buf, size_t work_buf_len)
Uploads the file to path via blockwise PUT.
int nanocoap_vfs_put_url(const char *url, const char *src, void *work_buf, size_t work_buf_len)
Uploads the file to url via blockwise PUT.
int nanocoap_vfs_get(nanocoap_sock_t *sock, const char *path, const char *dst)
Downloads the resource behind path via blockwise GET and stores it in the file dst.
int nanocoap_vfs_get_url(const char *url, const char *dst)
Downloads the resource behind url via blockwise GET and stores it in the file dst.