[monitoring-plugins] Introduce regex_list

Alexander A. Klimov git at monitoring-plugins.org
Thu Oct 5 11:00:13 CEST 2023


 Module: monitoring-plugins
 Branch: master
 Commit: f457615d845ec3bf9d3072511999b69d93c934c5
 Author: Alexander A. Klimov <alexander.klimov at icinga.com>
   Date: Wed Aug 23 17:33:16 2023 +0200
    URL: https://www.monitoring-plugins.org/repositories/monitoring-plugins/commit/?id=f457615

Introduce regex_list

---

 lib/utils_disk.h | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/lib/utils_disk.h b/lib/utils_disk.h
index 3b5a45f..442fd94 100644
--- a/lib/utils_disk.h
+++ b/lib/utils_disk.h
@@ -10,6 +10,12 @@ struct name_list
   struct name_list *next;
 };
 
+struct regex_list
+{
+  regex_t regex;
+  struct regex_list *next;
+};
+
 struct parameter_list
 {
   char *name;



More information about the Commits mailing list