1#ifndef __UTILS_H__ 2#define __UTILS_H__ 3char *str_trim(char *s); 4int exec_with_result_line(char *cmd, char *result, int len); 5int check_same_network(char *ip1, char *netmask, char *ip2); 6#endif
1#ifndef __UTILS_H__ 2#define __UTILS_H__ 3char *str_trim(char *s); 4int exec_with_result_line(char *cmd, char *result, int len); 5int check_same_network(char *ip1, char *netmask, char *ip2); 6#endif