rtlimits.h

ldmud-3.2.9/mud/lp-245/sys/rtlimits.h · 528 B

From the archive ldmud-329.tar.gz

Download the archive   « Back to the archive contents

#ifndef LPC_RTLIMITS_H_
#define LPC_RTLIMITS_H_

/* Runtime limit index/tag values */

#define LIMIT_EVAL     0
#define LIMIT_ARRAY    1
#define LIMIT_MAPPING  2
#define LIMIT_BYTE     3
#define LIMIT_FILE     4
#define LIMIT_CALLOUTS 5

#define LIMIT_MAX      6  /* Number of recognized limits */

/* Special limit values */

#define LIMIT_UNLIMITED    0   /* No limit */
#define LIMIT_KEEP       (-1)  /* Keep the old limit setting */
#define LIMIT_DEFAULT    (-2)  /* Use the default setting */

#endif /* LPC_RTLIMITS_H_ */

Site Stats

Snippets: 1791
Codebases: 571