]> git.proxmox.com Git - mirror_iproute2.git/blobdiff - include/utils.h
Unify batch processing across tools
[mirror_iproute2.git] / include / utils.h
index 7041c4612e4632b40a5ce8d5b676ed65639b891f..085b17b1f6e3ec9a790fcb5098f19ea4c7c0a867 100644 (file)
@@ -322,4 +322,7 @@ int get_time64(__s64 *time, const char *str);
 char *sprint_time(__u32 time, char *buf);
 char *sprint_time64(__s64 time, char *buf);
 
+int do_batch(const char *name, bool force,
+            int (*cmd)(int argc, char *argv[], void *user), void *user);
+
 #endif /* __UTILS_H__ */