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 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233
|
/* file generated by oo2c -- do not edit */
#include "ParamPaths.h"
#include "Filenames.h"
#include "Files.h"
#include "Out.h"
#include "Strings.h"
#include "Strings2.h"
#include "RCS.h"
/* local definitions */
ParamPaths__PathsSection ParamPaths__paths;
ParamPaths__NewFilesSection ParamPaths__newFiles;
static unsigned char ParamPaths__usePaths;
/* function prototypes */
void ParamPaths__PathsSectionDesc_AddPattern_Add(ParamPaths__Pattern *list, ParamPaths__Pattern *ParamPaths__PathsSectionDesc_AddPattern_p);
void ParamPaths__ParsePatterns_Next(const unsigned char* sep__ref, int sep_0d, Parameter__Filename ParamPaths__ParsePatterns_str, signed char *ParamPaths__ParsePatterns_sym, unsigned char *ParamPaths__ParsePatterns_includeEnd);
ParamPaths__Path ParamPaths__ParsePatterns_PathList_NewPath(unsigned char* str, int str_0d);
ParamPaths__Path ParamPaths__ParsePatterns_PathList(unsigned char multiple, Parameter__Filename ParamPaths__ParsePatterns_str, signed char *ParamPaths__ParsePatterns_sym, unsigned char *ParamPaths__ParsePatterns_includeEnd);
unsigned char ParamPaths__ParsePatterns_PatternList_CheckForRCS(unsigned char *ParamPaths__ParsePatterns_sourceSect, ParamPaths__PathsSection *ParamPaths__ParsePatterns_s);
ParamPaths__Pattern ParamPaths__ParsePatterns_PatternList_NewPattern(const unsigned char* wildcard__ref, int wildcard_0d, unsigned char rcsIsEnabled);
ParamPaths__Pattern ParamPaths__ParsePatterns_PatternList(Parameter__Filename ParamPaths__ParsePatterns_str, signed char *ParamPaths__ParsePatterns_sym, unsigned char *ParamPaths__ParsePatterns_includeEnd, unsigned char *ParamPaths__ParsePatterns_sourceSect, ParamPaths__PathsSection *ParamPaths__ParsePatterns_s);
void ParamPaths__ParsePatterns(ParamPaths__PathsSection s, unsigned char includeEnd, unsigned char sourceSect);
void ParamPaths__PathsSectionDesc_Write_WritePaths(ParamPaths__Path pathList);
/* module and type descriptors */
static const struct {
int length;
void* pad;
const char name[11];
} _n0 = {11, NULL, {"ParamPaths"}};
static struct _MD ParamPaths_md = {
NULL,
&Kernel__ModuleDesc_td.td,
{
NULL,
(const unsigned char*)_n0.name,
-1,
NULL
}
};
static const struct {
int length;
void* pad;
const char name[9];
} _n1 = {9, NULL, {"PathDesc"}};
static const struct {
int length;
void* pad;
_Type btypes[1];
} ParamPaths__PathDesc_tdb = {
1,
NULL,
{
&ParamPaths__PathDesc_td.td
}
};
static const struct {
int length;
void* pad;
const void* tbprocs[1];
} _tb0 = {0, NULL, {
NULL
}};
struct _TD ParamPaths__PathDesc_td = {
NULL,
&Types__TypeDesc_td.td,
{
ParamPaths__PathDesc_tdb.btypes,
_tb0.tbprocs,
(const unsigned char*)_n1.name,
&ParamPaths_md.md,
0,
'0', '1',
sizeof(ParamPaths__PathDesc),
NULL
}
};
static const struct {
int length;
void* pad;
const char name[12];
} _n2 = {12, NULL, {"PatternDesc"}};
static const struct {
int length;
void* pad;
_Type btypes[1];
} ParamPaths__PatternDesc_tdb = {
1,
NULL,
{
&ParamPaths__PatternDesc_td.td
}
};
static const struct {
int length;
void* pad;
const void* tbprocs[1];
} _tb1 = {0, NULL, {
NULL
}};
struct _TD ParamPaths__PatternDesc_td = {
NULL,
&Types__TypeDesc_td.td,
{
ParamPaths__PatternDesc_tdb.btypes,
_tb1.tbprocs,
(const unsigned char*)_n2.name,
&ParamPaths_md.md,
0,
'0', '1',
sizeof(ParamPaths__PatternDesc),
&ParamPaths__PathDesc_td.td
}
};
static const struct {
int length;
void* pad;
const char name[17];
} _n3 = {17, NULL, {"PathsSectionDesc"}};
static const struct {
int length;
void* pad;
_Type btypes[2];
} ParamPaths__PathsSectionDesc_tdb = {
2,
NULL,
{
&Parameter__SectionDesc_td.td,
&ParamPaths__PathsSectionDesc_td.td
}
};
static const struct {
int length;
void* pad;
const void* tbprocs[4];
} _tb2 = {4, NULL, {
(void*)ParamPaths__PathsSectionDesc_Parse,
(void*)ParamPaths__PathsSectionDesc_Write,
(void*)Parameter__SectionDesc_CmdLineOption,
(void*)ParamPaths__PathsSectionDesc_AddPattern
}};
struct _TD ParamPaths__PathsSectionDesc_td = {
NULL,
&Types__TypeDesc_td.td,
{
ParamPaths__PathsSectionDesc_tdb.btypes,
_tb2.tbprocs,
(const unsigned char*)_n3.name,
&ParamPaths_md.md,
1,
'0', '1',
sizeof(ParamPaths__PathsSectionDesc),
&ParamPaths__PatternDesc_td.td
}
};
static const struct {
int length;
void* pad;
const char name[13];
} _n4 = {13, NULL, {"NewFilesDesc"}};
static const struct {
int length;
void* pad;
_Type btypes[3];
} ParamPaths__NewFilesDesc_tdb = {
3,
NULL,
{
&Parameter__SectionDesc_td.td,
&ParamPaths__PathsSectionDesc_td.td,
&ParamPaths__NewFilesDesc_td.td
}
};
static const struct {
int length;
void* pad;
const void* tbprocs[4];
} _tb3 = {4, NULL, {
(void*)ParamPaths__NewFilesDesc_Parse,
(void*)ParamPaths__PathsSectionDesc_Write,
(void*)Parameter__SectionDesc_CmdLineOption,
(void*)ParamPaths__PathsSectionDesc_AddPattern
}};
struct _TD ParamPaths__NewFilesDesc_td = {
NULL,
&Types__TypeDesc_td.td,
{
ParamPaths__NewFilesDesc_tdb.btypes,
_tb3.tbprocs,
(const unsigned char*)_n4.name,
&ParamPaths_md.md,
2,
'0', '1',
sizeof(ParamPaths__NewFilesDesc),
&ParamPaths__PathsSectionDesc_td.td
}
};
/* local strings */
static const unsigned char _c27[] = "NEWFILES";
static const unsigned char _c26[] = "PATHS";
static const unsigned char _c25[] = "";
static const unsigned char _c24[] = " FROM ";
static const unsigned char _c23[] = " INTO ";
static const unsigned char _c22[] = " [RCS]";
static const unsigned char _c21[] = " GET ";
static const unsigned char _c20[] = " PUT ";
static const unsigned char _c19[] = "; ";
static const unsigned char _c18[] = "END expected";
static const unsigned char _c17[] = "PUT expected";
static const unsigned char _c16[] = "INTO expected";
static const unsigned char _c15[] = "GET expected";
static const unsigned char _c14[] = "FROM expected";
static const unsigned char _c13[] = ",;";
static const unsigned char _c12[] = "Wildcard string expected";
static const unsigned char _c11[] = ",[";
static const unsigned char _c10[] = "]";
static const unsigned char _c9[] = "Can\047t specify RCS support here";
static const unsigned char _c8[] = "RCS";
static const unsigned char _c7[] = "Only one destination path allowed";
static const unsigned char _c6[] = "File path expected";
static const unsigned char _c5[] = ";";
static const unsigned char _c4[] = "END";
static const unsigned char _c3[] = "INTO";
static const unsigned char _c2[] = "PUT";
static const unsigned char _c1[] = "FROM";
static const unsigned char _c0[] = "GET";
|