/* default.h Parameters mostly used to coordinate inners and outer. However, some parameters have system-wide significance (eg, VARNAMESIZE), so this file is of more general use than "originally" designed. It is #include'd in core.h, which, in turn, is used by routines in the jgofs.a library, among many other places WJS Apr 95 */ #define OPTIONS_VERSION "OOserver default.h 8 Sep 14" /* 8 Sep 14. WJS */ /* Discovered via email that Bob intends to change COMMENTLINE to 500 */ /* 5 Sep 14. WJS */ /* Discovered a COMMENTLINE 100 on data.bco-dmo.org. I think that all */ /* code that reads objects has been modified to dynamically allocate comment */ /* stuff, so that we don't have to change anything here on the OOserver, but */ /* why not stay out of trouble? Besides, maybe persistent objects (esp */ /* those that work on a "copy") read "the original" rather than objects */ /* 6 Jun 09. WJS */ /* Discovered that Bob asked Dennis to bump the 385s to 512s */ /* Nov 07. Good thing nothing got built w/that so far (I guess) */ /* 13 Jan 08. WJS */ /* Add OPTIONS_VERSION */ /* 26 Mar 07. WJS */ /* Get sizes from globec data server (biggest?) */ /* 17 May 05. TOKEN; DATUMSIZE; OUTBUFSIZE -> 385. */ /* VARNAMESIZE 40 -> 240 RCG */ /* 5 Apr 05. WJS */ /* Bigger MAX_SERV_DCT_BUF for OOservers. */ /* used to store the value of input strings between parameter separators this could include an attribute string */ #define TOKEN 512 /* a datum, or value size */ #define DATUMSIZE 512 /* size that a parameter name can be */ #define VARNAMESIZE 240 /* attribute size: for a single datum all attributes defined */ #define ATTRSIZE 80 /* size of all attributes for a single parameter, including punctuation */ #define TOTATTRSIZE 1024 /* comment lines: for a single comment line, all chars, excl. #, incl nl */ #define COMMENTLINE 500 /* buffer size for dct. At moment represents size of a few different */ /* buffers, notably the maximum size of a line in a .objects file */ #define MAX_SERV_DCT_BUF 5000