summaryrefslogtreecommitdiff
path: root/manager.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-04-22 02:56:42 +0200
committerLennart Poettering <lennart@poettering.net>2010-04-22 02:56:42 +0200
commit4f0f902fc8837999e5c9f3a6f7e2592cc6f096eb (patch)
tree5c752a0e2776784686d57376d48b426bc9952e54 /manager.h
parentc497c7a9e4db487eab4f92421a74d721d9558186 (diff)
manager: enforce limit on accepted number of names
Diffstat (limited to 'manager.h')
-rw-r--r--manager.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/manager.h b/manager.h
index bd0c82ee77..01490fc180 100644
--- a/manager.h
+++ b/manager.h
@@ -29,6 +29,9 @@
#include "fdset.h"
+/* Enforce upper limit how many names we allow */
+#define MANAGER_MAX_NAMES 2048
+
typedef struct Manager Manager;
typedef enum WatchType WatchType;
typedef struct Watch Watch;