RocketLogger  1.1
lib_util.h
Go to the documentation of this file.
1 
31 #ifndef LIB_UTIL_H_
32 #define LIB_UTIL_H_
33 
34 #include <fcntl.h>
35 #include <stdio.h>
36 #include <string.h>
37 
38 #include "types.h"
39 
40 int check_sample_rate(int sample_rate);
41 int check_update_rate(int update_rate);
42 
43 pid_t get_pid(void);
44 int set_pid(pid_t pid);
45 
46 #endif /* LIB_UTIL_H_ */
int check_update_rate(int update_rate)
Definition: lib_util.c:63
pid_t get_pid(void)
Definition: lib_util.c:76
int set_pid(pid_t pid)
Definition: lib_util.c:99
int check_sample_rate(int sample_rate)
Definition: lib_util.c:49