Diffstat (limited to 'include/napkin/st/download.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | include/napkin/st/download.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/include/napkin/st/download.h b/include/napkin/st/download.h new file mode 100644 index 0000000..92d1d9d --- a/dev/null +++ b/include/napkin/st/download.h @@ -0,0 +1,20 @@ +#ifndef __NAPKIN_ST_DOWNLOAD_H +#define __NAPKIN_ST_DOWNLOAD_H + +#include <napkin/types.h> + +namespace napkin { + namespace sleeptracker { + + int download_initiate(const char *port=0); + size_t download_finish(int fd,void *buffer,size_t buffer_size); + + size_t download( + void *buffer,size_t buffer_size, + const char *port=0); + hypnodata_ptr_t download(const char *port=0); + + } +} + +#endif /* __NAPKIN_ST_DOWNLOAD_H */ |