diff options
Diffstat (limited to '')
-rw-r--r-- | tools/util.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/tools/util.h b/tools/util.h new file mode 100644 index 0000000..619cf67 --- /dev/null +++ b/tools/util.h @@ -0,0 +1,15 @@ +#ifndef COROSYNC_TOOLS_UTIL_H_DEFINED +#define COROSYNC_TOOLS_UTIL_H_DEFINED + +#ifdef __cplusplus +extern "C" { +#endif + +extern int util_strtonum(const char *str, long long int min_val, + long long int max_val, long long int *res); + +#ifdef __cplusplus +} +#endif + +#endif /* COROSYNC_TOOLS_UTIL_H_DEFINED */ |