diff options
author | Daniil Baturin <daniil@baturin.org> | 2018-06-24 17:09:19 +0200 |
---|---|---|
committer | Daniil Baturin <daniil@baturin.org> | 2018-06-24 17:09:19 +0200 |
commit | 345dd8b4c3eb14e1161f26076a7b368ae89dd56d (patch) | |
tree | f5392ea019b350e340a87cdfd4731a00414e4760 /utils/misc.h | |
parent | 1489376748358222a1ba582cde019f494b6dcba3 (diff) | |
download | vyatta-cfg-345dd8b4c3eb14e1161f26076a7b368ae89dd56d.tar.gz vyatta-cfg-345dd8b4c3eb14e1161f26076a7b368ae89dd56d.zip |
T710: move the executables from vyatta-util to vyatta-cfg
Do not use a shared library, since nothing else depends, or should depend on it.
Diffstat (limited to 'utils/misc.h')
-rw-r--r-- | utils/misc.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/utils/misc.h b/utils/misc.h new file mode 100644 index 0000000..dd8e9d0 --- /dev/null +++ b/utils/misc.h @@ -0,0 +1,4 @@ +int re_match(const char *string, char *pattern); +int isValidPortNumber (int port); +int isValidPortRange (int start, int stop); +int isValidPortName (const char *name, const char *proto); |