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