/usr/include/OpenSP/Mode.h is in libosp-dev 1.5.2-13ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 | // Copyright (c) 1994 James Clark
// See the file COPYING for copying permission.
#ifndef Mode_INCLUDED
#define Mode_INCLUDED 1
#ifdef SP_NAMESPACE
namespace SP_NAMESPACE {
#endif
enum Mode {
grpMode, // group
alitMode, // attribute value literals starting with LIT
alitaMode, // attribute value literals starting with LITA
aliteMode, // attribute value literals inside entity
talitMode, // tokenized attribute value literal
talitaMode,
taliteMode,
mdMode, // markup declaration
mdMinusMode, // markup declaration, also recognize minus
mdPeroMode, // markup declaration, also recognize pero
sdMode,
comMode, // comment
sdcomMode, // comment in an SGML declaration
piMode, // processing instruction
refMode, // reference
imsMode, // ignored marked section
cmsMode, // cdata marked section
rcmsMode, // rcdata marked section
// These modes are needed only for the prologue.
proMode, // prologue
dsMode, // declaration subset not in marked section
// nor in entity
dsiMode, // declaration subset in marked section or
// in entity
plitMode, // parameter literal starting with LIT
plitaMode, // paramater literal starting with LITA
pliteMode, // parameter literal inside entity
sdplitMode, // parameter literal starting with LIT
// in an SGML declaration
sdplitaMode, // parameter literal starting with LIT
// in an SGML declaration
grpsufMode, // group suffix
mlitMode, // minimum literal starting with LIT
mlitaMode, // minimum literal starting with LITA
asMode, // data/link/result attribute specification
piPasMode, // pi pseudo-attribute specification
slitMode, // system id literal starting with LIT
slitaMode, // system id literal starting with LITA
sdslitMode, // system id literal starting with LIT
// in an SGML declaration
sdslitaMode, // system id literal starting with LITA
// in an SGML declaration
// These modes are needed only for the instance.
cconMode, // CDATA content
rcconMode, // RCDATA content
cconnetMode, // CDATA content, recognize NET
rcconnetMode, // RCDATA content, recognize NET
rcconeMode, // RCDATA content inside entity
tagMode, // start- or end-tag
econMode, // element content
mconMode, // mixed content
econnetMode, // element content, recognize NET
mconnetMode // mixed content, recognize NET
};
const int nModes = mconnetMode + 1;
const int minShortrefMode = econMode;
#ifdef SP_NAMESPACE
}
#endif
#endif /* not Mode_INCLUDED */
|