5
--------------------------------------------------------------------------------
6
gSOAP XML Web services tools
7
Copyright (C) 2001-2004, Robert van Engelen, Genivia, Inc. All Rights Reserved.
8
This software is released under one of the following two licenses:
9
GPL or Genivia's license for commercial use.
10
--------------------------------------------------------------------------------
13
This program is free software; you can redistribute it and/or modify it under
14
the terms of the GNU General Public License as published by the Free Software
15
Foundation; either version 2 of the License, or (at your option) any later
18
This program is distributed in the hope that it will be useful, but WITHOUT ANY
19
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
20
PARTICULAR PURPOSE. See the GNU General Public License for more details.
22
You should have received a copy of the GNU General Public License along with
23
this program; if not, write to the Free Software Foundation, Inc., 59 Temple
24
Place, Suite 330, Boston, MA 02111-1307 USA
26
Author contact information:
27
engelen@genivia.com / engelen@acm.org
28
--------------------------------------------------------------------------------
29
A commercial use license is available from Genivia, Inc., contact@genivia.com
30
--------------------------------------------------------------------------------
40
#define VERSION "1.1.4d"
50
{ bool operator()(const char *s1, const char *s2) const
51
{ return strcmp(s1, s2) < 0;
55
typedef set<const char*, ltstr> SetOfString;
57
typedef pair<const char*, const char*> Pair;
60
{ bool operator()(Pair s1, Pair s2) const
61
{ int cmp = strcmp(s1.first, s2.first);
64
return strcmp(s1.second, s2.second) < 0;
68
typedef map<const char*, const char*, ltstr> MapOfStringToString;
70
typedef map<Pair, const char*, ltpair> MapOfPairToString;
72
typedef map<const char*, size_t, ltstr> MapOfStringToNum;
74
extern int cflag, eflag, fflag, iflag, lflag, mflag, pflag, sflag, vflag;
78
extern char *infile, *outfile, *mapfile, *proxy_host;
80
extern int proxy_port;
82
extern const char *prefix_name;
84
extern char elementformat[];
85
extern char pointerformat[];
86
extern char attributeformat[];
87
extern char vectorformat[];
88
extern char arrayformat[];
89
extern char sizeformat[];
90
extern char schemaformat[];
91
extern char serviceformat[];
92
extern char paraformat[];
93
extern char anonformat[];
94
extern char copyrightnotice[];
95
extern char licensenotice[];
97
extern void *emalloc(size_t size);
98
extern char *estrdup(const char *s);