diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-06-03 17:01:24 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-06-03 17:01:24 +0000 |
commit | 6dd3dfb79125cd02d02efbce435a6c82e5af92ef (patch) | |
tree | 45084fc83278586f6bbafcb935f92d53f71a6b03 /tools/util.h | |
parent | Initial commit. (diff) | |
download | corosync-upstream.tar.xz corosync-upstream.zip |
Adding upstream version 3.1.8.upstream/3.1.8upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'tools/util.h')
-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 */ |