~ifolder-dev/simias/trunk-packaging

« back to all changes in this revision

Viewing changes to tools/gsoap/macosx-x86-2.7/wsdl/.svn/text-base/includes.h.svn-base

  • Committer: Jorge O. Castro
  • Date: 2007-12-03 06:56:46 UTC
  • Revision ID: jorge@ubuntu.com-20071203065646-mupcnjcwgm5mnhyt
* Remove a bunch of .svn directories we no longer need.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/*
2
 
 
3
 
includes.h
4
 
 
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
 
--------------------------------------------------------------------------------
11
 
GPL license.
12
 
 
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
16
 
version.
17
 
 
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.
21
 
 
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
25
 
 
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
 
--------------------------------------------------------------------------------
31
 
 
32
 
*/
33
 
 
34
 
#ifndef INCLUDES_H
35
 
#define INCLUDES_H
36
 
 
37
 
#include "stdsoap2.h"
38
 
 
39
 
#undef VERSION
40
 
#define VERSION "1.1.4d"
41
 
 
42
 
#include <utility>
43
 
#include <iterator>
44
 
#include <set>
45
 
#include <map>
46
 
 
47
 
using namespace std;
48
 
 
49
 
struct ltstr
50
 
{ bool operator()(const char *s1, const char *s2) const
51
 
  { return strcmp(s1, s2) < 0;
52
 
  }
53
 
}; 
54
 
 
55
 
typedef set<const char*, ltstr> SetOfString;
56
 
 
57
 
typedef pair<const char*, const char*> Pair;
58
 
 
59
 
struct ltpair
60
 
{ bool operator()(Pair s1, Pair s2) const
61
 
  { int cmp = strcmp(s1.first, s2.first);
62
 
    if (cmp)
63
 
      return cmp < 0;
64
 
    return strcmp(s1.second, s2.second) < 0;
65
 
  }
66
 
};
67
 
 
68
 
typedef map<const char*, const char*, ltstr> MapOfStringToString;
69
 
 
70
 
typedef map<Pair, const char*, ltpair> MapOfPairToString;
71
 
 
72
 
typedef map<const char*, size_t, ltstr> MapOfStringToNum;
73
 
 
74
 
extern int cflag, eflag, fflag, iflag, lflag, mflag, pflag, sflag, vflag;
75
 
 
76
 
extern FILE *stream;
77
 
 
78
 
extern char *infile, *outfile, *mapfile, *proxy_host;
79
 
 
80
 
extern int proxy_port;
81
 
 
82
 
extern const char *prefix_name;
83
 
 
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[];
96
 
 
97
 
extern void *emalloc(size_t size);
98
 
extern char *estrdup(const char *s);
99
 
 
100
 
#endif