projects
/
svn42.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
autosample sends actual command now
[svn42.git]
/
powersensordaemon
/
autosample.h
diff --git
a/powersensordaemon/autosample.h
b/powersensordaemon/autosample.h
index
ee3b2f8
..
4ea195e
100644
(file)
--- a/
powersensordaemon/autosample.h
+++ b/
powersensordaemon/autosample.h
@@
-24,6
+24,14
@@
#include "options.h"
#include "options.h"
+struct autosample_device_struct {
+ int delay_;
+ int cnt_;
+ char* device_name_;
+};
+typedef struct autosample_device_struct autosample_device_t;
+
+int send_sample_cmd(int fd, const char* device_name);
int start_autosample_process(options_t* opt);
int autosample_process(options_t *opt, int pipefd);
int start_autosample_process(options_t* opt);
int autosample_process(options_t *opt, int pipefd);