include/constants.h File Reference

??? More...

This graph shows which files directly or indirectly include this file:

Included by dependency graph

Go to the source code of this file.

Defines

#define BIT
#define GRANTEXTLENGTH   950
#define XUBUFSIZ   1024
#define ERROR   -1
#define stdprint   2
#define INTLEN   7
#define NAMELEN   103
#define metachar   int
#define ESC   '\033'
#define OK   0
#define MAXLINE   400
#define RECURSIVE
#define WIDTH   0
#define ORGLRANGE   0
#define SPANRANGE   1
#define I   0
#define V   1
#define DSPSIZEGR   1
#define WIDSIZEGR   1
#define DSPSIZESP   2
#define WIDSIZESP   2
#define DSPSIZEPM   2
#define WIDSIZEPM   2
#define GRAN   1
#define POOM   2
#define SPAN   3
#define MAXUCINLOAF   4
#define MAXBCINLOAF   1
#define MAX2DBCINLOAF   4
#define RESERVED   0xff
#define NEW   0
#define OLD   1
#define ALLOCSIZE   20000000
#define INCREMENTALALLOCSIZE   2500000

Enumerations

enum  typeitemid {
  TEXTID = 0, ISPANID = 1, VSPANID = 2, VSPECID = 3,
  NODEID = 4, ADDRESSID = 5, SPORGLID = 6, LINKID = ADDRESSID,
  UNKNOWNID = 99
}
enum  GranItemType { GRANNULL = 0, GRANTEXT = 1, GRANORGL = 2, GRANCLEARLYILLEGALINFO = 42 }
enum  MemTags {
  SESSTAG = 1, INTTAG = 2, ITEMTAG = 4, CONTEXTTAG = 6,
  CONTEXT2DTAG = 8, CRUMCONTEXTTAG = 10, CUCTAG = 12, CBCTAG = 14,
  SPANTAG = 16, TUMBLERTAG = 18, ISPANTAG = 20, VSPANTAG = 22,
  SPORGLTAG = 24, LINKTAG = 26, VSPECTAG = 28, FREEDISKLOAFTAG = 30,
  BERTTAG = 32, BERTCONSCELLTAG = 34, FREEDISKENTRYTAG = 36, FREEDISKENTRYCONSCELLTAG = 38,
  HUMBERTAG = 40, LOAFTAG = 42, POINTERTAG = 100
}
enum  BertType { NOBERTREQUIRED = 0, READBERT = 1, WRITEBERT = 2 }
enum  BertMode { BERTMODEONLY = 1, BERTMODECOPYIF = 2, BERTMODECOPY = 3 }


Detailed Description

???

(to be defined)

Definition in file constants.h.


Define Documentation

#define ALLOCSIZE   20000000
 

Definition at line 201 of file constants.h.

#define BIT
 

Definition at line 52 of file constants.h.

#define DSPSIZEGR   1
 

Definition at line 165 of file constants.h.

#define DSPSIZEPM   2
 

Definition at line 169 of file constants.h.

#define DSPSIZESP   2
 

Definition at line 167 of file constants.h.

#define ERROR   -1
 

Definition at line 55 of file constants.h.

#define ESC   '\033'
 

Definition at line 61 of file constants.h.

#define GRAN   1
 

Definition at line 176 of file constants.h.

Referenced by assertwidsarepositive(), contextfree(), createcontext(), createcruminternal(), createenf(), deletefullcrumandgarbageddescendents(), deletewithgarbageddescendents(), dumphedr(), dumpinfo(), enftypestring(), graphcrum(), initkluge(), initsession(), insertseq(), is2dcrum(), isemptyenfilade(), isreapable(), makecontextfromcbc(), makecutsbackuptohere(), nodecolor(), nodefillcolor(), nodeid(), recombine(), retrieve(), retrievecrums(), retrieveinspan(), setwisp(), splitcrum(), subtreefree(), subtreewriterecurs(), whereoncontext(), and whereoncrum().

#define GRANTEXTLENGTH   950
 

Definition at line 53 of file constants.h.

Referenced by fillupcbcseq(), getmuchtext(), gettext(), and insertseq().

#define I   0
 

Definition at line 162 of file constants.h.

Referenced by index2itemid(), insertpm(), ispan2vspanset(), link2sporglset(), showpoomwisps(), vspanset2ispanset(), and widdiffs().

#define INCREMENTALALLOCSIZE   2500000
 

Definition at line 202 of file constants.h.

#define INTLEN   7
 

Definition at line 57 of file constants.h.

#define MAX2DBCINLOAF   4
 

Definition at line 182 of file constants.h.

Referenced by ishouldbother(), roomformoresons(), toofewsons(), and toomanysons().

#define MAXBCINLOAF   1
 

Definition at line 181 of file constants.h.

Referenced by roomformoresons(), toofewsons(), and toomanysons().

#define MAXLINE   400
 

Definition at line 63 of file constants.h.

#define MAXUCINLOAF   4
 

Definition at line 180 of file constants.h.

Referenced by ishouldbother(), recombinend(), recombineseq(), roomformoresons(), takeovernephewsnd(), toofewsons(), and toomanysons().

#define metachar   int
 

Definition at line 59 of file constants.h.

Referenced by eatchar(), establishprotocol(), and getnum().

#define NAMELEN   103
 

Definition at line 58 of file constants.h.

#define NEW   0
 

Definition at line 192 of file constants.h.

Referenced by createcruminternal(), funcrejuvinate(), and peelcrumoffnd().

#define OK   0
 

Definition at line 62 of file constants.h.

#define OLD   1
 

Definition at line 193 of file constants.h.

Referenced by isreapable().

#define ORGLRANGE   0
 

Definition at line 158 of file constants.h.

Referenced by finddocscontainingsp(), insertspanf(), retrievesporglsetinrange(), showspanfcrum(), and sporglset2linksetinrange().

#define POOM   2
 

Definition at line 177 of file constants.h.

Referenced by createcruminternal(), createorglgr(), dumphedr(), dumpsubtree(), dumpwholesubtree(), enftypestring(), findvsatoappend(), index2itemid(), insertnd(), insertpm(), isemptyenfilade(), isemptyorgl(), isreapable(), nodecolor(), nodefillcolor(), nodeid(), orglwritepart2(), rearrangend(), recombine(), retrieve(), retrieveinarea(), setwisp(), splitcrum(), transferloaf(), whereoncontext(), whereoncrum(), and widdiffs().

#define RECURSIVE
 

Definition at line 64 of file constants.h.

Referenced by findpreviousisagr().

#define RESERVED   0xff
 

Definition at line 191 of file constants.h.

#define SPAN   3
 

Definition at line 178 of file constants.h.

Referenced by createcruminternal(), dumphedr(), enftypestring(), index2itemid(), initsession(), insertnd(), isemptyenfilade(), nodecolor(), nodefillcolor(), nodeid(), rearrangend(), recombine(), retrieve(), retrieveinarea(), setwisp(), splitcrum(), transferloaf(), whereoncontext(), and whereoncrum().

#define SPANRANGE   1
 

Definition at line 159 of file constants.h.

Referenced by finddocscontainingsp(), insertspanf(), retrievesporglsetinrange(), showspanfcrum(), splitcrumpm(), and sporglset2linksetinrange().

#define stdprint   2
 

Definition at line 56 of file constants.h.

#define V   1
 

Definition at line 163 of file constants.h.

Referenced by deletevspanpm(), findnextaddressinvspace(), findvsatoappend(), insertnd(), insertpm(), islinkcrum(), ispan2vspanset(), istextcrum(), link2sporglset(), makegappm(), maxtextwid(), rearrangepm(), retrievedocumentpartofvspanpm(), retrievevspanpm(), retrievevspansetpm(), showpoomwisps(), vspanset2ispanset(), and widdiffs().

#define WIDSIZEGR   1
 

Definition at line 166 of file constants.h.

#define WIDSIZEPM   2
 

Definition at line 170 of file constants.h.

#define WIDSIZESP   2
 

Definition at line 168 of file constants.h.

#define WIDTH   0
 

Definition at line 155 of file constants.h.

Referenced by context2vstuff(), context2vtext(), crumintersectsspanseq(), dodumpistreamgr(), dumpgranfwids(), fetchorglgr(), findcbcseq(), findcbcseqcrum(), findlastcbcseq(), findpreviousisagr(), insertseq(), isaexistsgr(), ispan2vstuffset(), retrieveinspan(), showgranwids(), whereoncontext(), and whereoncrum().

#define XUBUFSIZ   1024
 

Definition at line 54 of file constants.h.


Enumeration Type Documentation

enum BertMode
 

Enumeration values:
BERTMODEONLY 
BERTMODECOPYIF 
BERTMODECOPY 

Definition at line 127 of file constants.h.

00127               {
00128     BERTMODEONLY=1,
00129     BERTMODECOPYIF=2,
00130     BERTMODECOPY=3,
00131 };

enum BertType
 

Enumeration values:
NOBERTREQUIRED 
READBERT 
WRITEBERT 

Definition at line 121 of file constants.h.

00121               {
00122     NOBERTREQUIRED=0,
00123     READBERT=1,
00124     WRITEBERT=2,
00125 };

enum GranItemType
 

Enumeration values:
GRANNULL 
GRANTEXT 
GRANORGL 
GRANCLEARLYILLEGALINFO 

Definition at line 79 of file constants.h.

00079                   {
00080     GRANNULL=0,
00081     GRANTEXT=1,
00082     GRANORGL=2,
00083     GRANCLEARLYILLEGALINFO=42,
00084 };

enum MemTags
 

Enumeration values:
SESSTAG 
INTTAG 
ITEMTAG 
CONTEXTTAG 
CONTEXT2DTAG 
CRUMCONTEXTTAG 
CUCTAG 
CBCTAG 
SPANTAG 
TUMBLERTAG 
ISPANTAG 
VSPANTAG 
SPORGLTAG 
LINKTAG 
VSPECTAG 
FREEDISKLOAFTAG 
BERTTAG 
BERTCONSCELLTAG 
FREEDISKENTRYTAG 
FREEDISKENTRYCONSCELLTAG 
HUMBERTAG 
LOAFTAG 
POINTERTAG 

Definition at line 90 of file constants.h.

00090              {
00091     SESSTAG=                     1,
00092     INTTAG=                      2,
00093     ITEMTAG=                     4,
00094     CONTEXTTAG=                  6,
00095     CONTEXT2DTAG=                8,
00096     CRUMCONTEXTTAG=             10,
00097     CUCTAG=                     12,
00098     CBCTAG=                     14,
00099     SPANTAG=                    16,
00100     TUMBLERTAG=                 18,
00101     ISPANTAG=                   20,
00102     VSPANTAG=                   22,
00103     SPORGLTAG=                  24,
00104     LINKTAG=                    26,
00105     VSPECTAG=                   28,
00106     FREEDISKLOAFTAG=            30,
00107     BERTTAG=                    32,
00108     BERTCONSCELLTAG=            34,
00109     FREEDISKENTRYTAG=           36,
00110     FREEDISKENTRYCONSCELLTAG=   38,
00111     HUMBERTAG=                  40,
00112     LOAFTAG=                    42,
00113     POINTERTAG=                100,
00114 };

enum typeitemid
 

Enumeration values:
TEXTID 
ISPANID 
VSPANID 
VSPECID 
NODEID 
ADDRESSID 
SPORGLID 
LINKID 
UNKNOWNID 

Definition at line 67 of file constants.h.

00067                 {
00068     TEXTID=0,
00069     ISPANID=1,
00070     VSPANID=2,
00071     VSPECID=3,
00072     NODEID=4,
00073     ADDRESSID=5,
00074     SPORGLID=6,
00075     LINKID=ADDRESSID,
00076     UNKNOWNID=99, // Is never legally used, for asserts only
00077 };


Generated on Sun Aug 21 04:18:17 2005 for Udanax-Green by doxygen1.3.4