]> git.proxmox.com Git - mirror_frr.git/blobdiff - lib/frrstr.h
zebra, lib: fix the ZEBRA_INTERFACE_VRF_UPDATE zapi message
[mirror_frr.git] / lib / frrstr.h
index 24547711221618a7c981ab9876ba99a3540183ee..891a3f337ca98da88542c7392dfd2218dc3d0fab 100644 (file)
@@ -97,4 +97,15 @@ void frrstr_strvec_free(vector v);
  */
 bool begins_with(const char *str, const char *prefix);
 
+/*
+ * Check the string only contains digit characters.
+ *
+ * str
+ *    string to check for digits
+ *
+ * Returns:
+ *    1 str only contains digit characters, 0 otherwise
+ */
+int all_digit(const char *str);
+
 #endif /* _FRRSTR_H_ */