diff options
Diffstat (limited to '')
-rw-r--r-- | linden/indra/llcommon/lldefs.h | 11 |
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; | |||
132 | const U32 TOP_SIDE = 5; | 132 | const U32 TOP_SIDE = 5; |
133 | const U32 BOTTOM_SIDE = 6; | 133 | const 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 | // | ||
135 | const U32 LL_MAX_PATH = 1024; // buffer size of maximum path + filename string length | 143 | const 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 |
138 | const U32 STD_STRING_BUF_SIZE = 255; // Buffer size | 146 | const U32 STD_STRING_BUF_SIZE = 255; // Buffer size |
139 | const U32 STD_STRING_STR_LEN = 254; // Length of the string (not including \0) | 147 | const 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. | ||
140 | const U32 MAX_STRING = STD_STRING_BUF_SIZE; // Buffer size | 151 | const U32 MAX_STRING = STD_STRING_BUF_SIZE; // Buffer size |
141 | 152 | ||
142 | const U32 MAXADDRSTR = 17; // 123.567.901.345 = 15 chars + \0 + 1 for good luck | 153 | const U32 MAXADDRSTR = 17; // 123.567.901.345 = 15 chars + \0 + 1 for good luck |