RocketLogger  1.0
lib_util.h
Go to the documentation of this file.
1 
5 #ifndef LIB_UTIL_H
6 #define LIB_UTIL_H
7 
8 #include <stdio.h>
9 #include <fcntl.h>
10 #include <string.h>
11 
12 #include "types.h"
13 
14 int check_sample_rate(int sample_rate);
15 int check_update_rate(int update_rate);
16 
17 pid_t get_pid(void);
18 int set_pid(pid_t pid);
19 
20 #endif
int check_update_rate(int update_rate)
Definition: lib_util.c:37
pid_t get_pid(void)
Definition: lib_util.c:51
int set_pid(pid_t pid)
Definition: lib_util.c:74
int check_sample_rate(int sample_rate)
Definition: lib_util.c:22