summaryrefslogtreecommitdiffabout
path: root/include/napkin/st/download.h
authorMichael Krelin <hacker@klever.net>2008-04-05 11:17:33 (UTC)
committer Michael Krelin <hacker@klever.net>2008-04-05 11:17:33 (UTC)
commit04fb190243442e83349f129b523ab747e58100bf (patch) (side-by-side diff)
treeddc28357fbe78b07fd3a5e0aa8088130bf305829 /include/napkin/st/download.h
downloadnapkin-04fb190243442e83349f129b523ab747e58100bf.zip
napkin-04fb190243442e83349f129b523ab747e58100bf.tar.gz
napkin-04fb190243442e83349f129b523ab747e58100bf.tar.bz2
Initial commit into public repository0.0
Signed-off-by: Michael Krelin <hacker@klever.net>
Diffstat (limited to 'include/napkin/st/download.h') (more/less context) (ignore whitespace changes)
-rw-r--r--include/napkin/st/download.h20
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 */