]> git.proxmox.com Git - mirror_corosync.git/blob - tools/util.h
tools: use util_strtonum for options checking
[mirror_corosync.git] / tools / util.h
1 #ifndef COROSYNC_TOOLS_UTIL_H_DEFINED
2 #define COROSYNC_TOOLS_UTIL_H_DEFINED
3
4 #ifdef __cplusplus
5 extern "C" {
6 #endif
7
8 extern int util_strtonum(const char *str, long long int min_val,
9 long long int max_val, long long int *res);
10
11 #ifdef __cplusplus
12 }
13 #endif
14
15 #endif /* COROSYNC_TOOLS_UTIL_H_DEFINED */