From e9161adbe621799a2a717cceae1c6035821dcb85 Mon Sep 17 00:00:00 2001 From: Lew Rossman Date: Sat, 27 Oct 2018 08:48:41 -0400 Subject: [PATCH] Defined EN_MAXID & EN_MAXMSG limits in API header --- include/epanet2.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/epanet2.h b/include/epanet2.h index 1593783..842875c 100644 --- a/include/epanet2.h +++ b/include/epanet2.h @@ -67,6 +67,9 @@ // --- Define the EPANET toolkit constants +#define EN_MAXID 31 /**< Max. # characters in ID name */ +#define EN_MAXMSG 255 /**< Max. # characters in message text */ + /// Node property codes typedef enum { EN_ELEVATION = 0, /**< Node Elevation */