aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/llcommon/lldefs.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--linden/indra/llcommon/lldefs.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/linden/indra/llcommon/lldefs.h b/linden/indra/llcommon/lldefs.h
index 2bba4f8..c0435fb 100644
--- a/linden/indra/llcommon/lldefs.h
+++ b/linden/indra/llcommon/lldefs.h
@@ -132,11 +132,22 @@ const U32 RIGHT_SIDE = 4;
132const U32 TOP_SIDE = 5; 132const U32 TOP_SIDE = 5;
133const U32 BOTTOM_SIDE = 6; 133const U32 BOTTOM_SIDE = 6;
134 134
135
136//
137// *NOTE: These values may be used as hard-coded numbers in scanf() variants.
138//
139// --------------
140// DO NOT CHANGE.
141// --------------
142//
135const U32 LL_MAX_PATH = 1024; // buffer size of maximum path + filename string length 143const U32 LL_MAX_PATH = 1024; // buffer size of maximum path + filename string length
136 144
137// For strings we send in messages 145// For strings we send in messages
138const U32 STD_STRING_BUF_SIZE = 255; // Buffer size 146const U32 STD_STRING_BUF_SIZE = 255; // Buffer size
139const U32 STD_STRING_STR_LEN = 254; // Length of the string (not including \0) 147const U32 STD_STRING_STR_LEN = 254; // Length of the string (not including \0)
148
149// *NOTE: This value is used as hard-coded numbers in scanf() variants.
150// DO NOT CHANGE.
140const U32 MAX_STRING = STD_STRING_BUF_SIZE; // Buffer size 151const U32 MAX_STRING = STD_STRING_BUF_SIZE; // Buffer size
141 152
142const U32 MAXADDRSTR = 17; // 123.567.901.345 = 15 chars + \0 + 1 for good luck 153const U32 MAXADDRSTR = 17; // 123.567.901.345 = 15 chars + \0 + 1 for good luck