Machine Learning Library
soapStub.h
Go to the documentation of this file.
1 /* soapStub.h
2  Generated by gSOAP 2.7.0e from googleapi.h
3  Copyright (C) 2001-2004 Genivia, Inc. All Rights Reserved.
4  This software is released under one of the following three licenses:
5  GPL, the gSOAP public license, or Genivia's license for commercial use.
6  See README.txt for further details.
7 */
8 #ifndef soapStub_H
9 #define soapStub_H
10 #include "stdsoap2.h"
11 #ifdef __cplusplus
12 extern "C" {
13 #endif
14 
16 
17  /* Enumerations */
18 
19 #ifndef _SOAP__Enum_1
20 #define _SOAP__Enum_1
21  enum _Enum_1 {false_ = 0, true_ = 1};
22 #endif
23 
24 /* Classes and Structs */
25 
26 /* Base64 schema type: */
27  struct xsd__base64Binary
28  {
29  unsigned char *__ptr;
30  int __size;
31  };
32 
33 /* api:DirectoryCategory: */
35  {
36  char *fullViewableName; /* optional element */
37  char *specialEncoding; /* optional element */
38  };
39 
40 /* SOAP encoded array of api:DirectoryCategory schema type: */
42  {
44  int __size;
45  };
46 
47 /* api:ResultElement: */
48  struct api__ResultElement
49  {
50  char *summary; /* optional element */
51  char *URL; /* optional element */
52  char *snippet; /* optional element */
53  char *title; /* optional element */
54  char *cachedSize; /* optional element */
55  enum _Enum_1 relatedInformationPresent; /* required element */
56  char *hostName; /* optional element */
57  struct api__DirectoryCategory directoryCategory; /* required element */
58  char *directoryTitle; /* optional element */
59  };
60 
61 /* SOAP encoded array of api:ResultElement schema type: */
62  struct ResultElementArray
63  {
64  struct api__ResultElement *__ptr;
65  int __size;
66  };
67 
68 /* api:GoogleSearchResult: */
70  {
71  enum _Enum_1 documentFiltering; /* required element */
72  char *searchComments; /* optional element */
73  int estimatedTotalResultsCount; /* required element */
74  enum _Enum_1 estimateIsExact; /* required element */
75  struct ResultElementArray resultElements; /* required element */
76  char *searchQuery; /* optional element */
77  int startIndex; /* required element */
78  int endIndex; /* required element */
79  char *searchTips; /* optional element */
80  struct DirectoryCategoryArray directoryCategories; /* required element */
81  double searchTime; /* required element */
82  };
83 
84 /* api:doGoogleSearchResponse: */
86  {
87  struct api__GoogleSearchResult _return; /* RPC return element */ /* required element */
88  };
89 
90 /* api:doGoogleSearch: */
92  {
93  char *key; /* optional element */
94  char *q; /* optional element */
95  int start; /* required element */
96  int maxResults; /* required element */
97  enum _Enum_1 filter; /* required element */
98  char *restrict_; /* optional element */
99  enum _Enum_1 safeSearch; /* required element */
100  char *lr; /* optional element */
101  char *ie; /* optional element */
102  char *oe; /* optional element */
103  };
104 
105 /* api:doGetCachedPageResponse: */
107  {
108  struct xsd__base64Binary *_return; /* RPC return element */ /* optional element */
109  };
110 
111 /* api:doGetCachedPage: */
113  {
114  char *key; /* optional element */
115  char *url; /* optional element */
116  };
117 
118 /* api:doSpellingSuggestionResponse: */
120  {
121  char **_return; /* RPC return element */ /* optional element */
122  };
123 
124 /* api:doSpellingSuggestion: */
126  {
127  char *key; /* optional element */
128  char *phrase; /* optional element */
129  };
130 
131 /* SOAP Header: */
133  {
134  void *dummy; /* transient */
135  };
136 
137 /* SOAP Fault Code: */
139  {
140  char *SOAP_ENV__Value; /* optional element */
141  char *SOAP_ENV__Node; /* optional element */
142  char *SOAP_ENV__Role; /* optional element */
143  };
144 
145 /* SOAP-ENV:Detail: */
147  {
148  int __type; /* any type of element <fault> (defined below) */
149  void *fault; /* transient */
150  char *__any;
151  };
152 
153 /* SOAP Fault: */
155  {
156  char *faultcode; /* optional element */
157  char *faultstring; /* optional element */
158  char *faultactor; /* optional element */
159  struct SOAP_ENV__Detail *detail; /* optional element */
160  struct SOAP_ENV__Code *SOAP_ENV__Code; /* optional element */
161  char *SOAP_ENV__Reason; /* optional element */
162  struct SOAP_ENV__Detail *SOAP_ENV__Detail; /* optional element */
163  };
164 
165 /* Types With Custom (De)serializers: */
166 
167 /* Typedefs */
168  typedef char *_XML;
169  typedef char *_QName;
170  typedef char *xsd__string;
171  typedef enum _Enum_1 xsd__boolean;
172  typedef int xsd__int;
173  typedef double xsd__double;
174 
175 /* Extern */
176 
177 /* Remote Methods */
178 
179  SOAP_FMAC5 int SOAP_FMAC6 api__doGoogleSearch(struct soap*, char *, char *, int, int, enum _Enum_1, char *, enum _Enum_1, char *, char *, char *, struct api__doGoogleSearchResponse *);
180 
181  SOAP_FMAC5 int SOAP_FMAC6 api__doGetCachedPage(struct soap*, char *, char *, struct xsd__base64Binary *);
182 
183  SOAP_FMAC5 int SOAP_FMAC6 api__doSpellingSuggestion(struct soap*, char *, char *, char **);
184 
185 /* Stubs */
186 
187  SOAP_FMAC5 int SOAP_FMAC6 soap_call_api__doGoogleSearch(struct soap*, const char*, const char*, char *, char *, int, int, enum _Enum_1, char *, enum _Enum_1, char *, char *, char *, struct api__doGoogleSearchResponse *);
188 
189  SOAP_FMAC5 int SOAP_FMAC6 soap_call_api__doGetCachedPage(struct soap*, const char*, const char*, char *, char *, struct xsd__base64Binary *);
190 
191  SOAP_FMAC5 int SOAP_FMAC6 soap_call_api__doSpellingSuggestion(struct soap*, const char*, const char*, char *, char *, char **);
192 
193 /* Skeletons */
194 
195  SOAP_FMAC5 int SOAP_FMAC6 soap_serve(struct soap*);
196 
198 
200 
202 
204 
206 
207 #ifdef __cplusplus
208 }
209 #endif
210 
211 #endif
212 
213 /* end of soapStub.h */
_Enum_1
Definition: soapStub.h:21
char * faultactor
Definition: soapStub.h:158
struct api__ResultElement * __ptr
Definition: googleapi.h:51
int __type
Definition: soapStub.h:148
SOAP_FMAC5 int SOAP_FMAC6 soap_call_api__doGoogleSearch(struct soap *, const char *, const char *, char *, char *, int, int, enum _Enum_1, char *, enum _Enum_1, char *, char *, char *, struct api__doGoogleSearchResponse *)
char * SOAP_ENV__Value
Definition: soapStub.h:140
xsd__boolean estimateIsExact
Definition: googleapi.h:59
char * searchComments
Definition: soapStub.h:72
char * restrict_
Definition: soapStub.h:98
char * hostName
Definition: soapStub.h:56
int maxResults
Definition: soapStub.h:96
SOAP_FMAC5 int SOAP_FMAC6 soap_serve_api__doSpellingSuggestion(struct soap *)
enum _Enum_1 safeSearch
Definition: soapStub.h:99
char * _QName
Definition: soapStub.h:169
char * SOAP_ENV__Node
Definition: soapStub.h:141
Definition: googleapi.h:23
Definition: stdsoap2.h:1215
int __size
Definition: googleapi.h:52
Definition: soapStub.h:91
Definition: soapStub.h:85
void * fault
Definition: soapStub.h:149
int estimatedTotalResultsCount
Definition: soapStub.h:73
char * snippet
Definition: soapStub.h:52
struct xsd__base64Binary * _return
Definition: soapStub.h:108
Definition: googleapi.h:38
int start
Definition: soapStub.h:95
int endIndex
Definition: soapStub.h:78
xsd__boolean relatedInformationPresent
Definition: googleapi.h:44
int __size
Definition: googleapi.h:35
char * summary
Definition: soapStub.h:50
char * searchTips
Definition: soapStub.h:79
Definition: soapStub.h:112
struct api__DirectoryCategory * __ptr
Definition: googleapi.h:34
SOAP_FMAC5 int SOAP_FMAC6 soap_serve_api__doGoogleSearch(struct soap *)
char * key
Definition: soapStub.h:127
char * SOAP_ENV__Reason
Definition: soapStub.h:161
struct SOAP_ENV__Detail * detail
Definition: soapStub.h:159
SOAP_FMAC5 int SOAP_FMAC6 soap_serve(struct soap *)
char * oe
Definition: soapStub.h:102
#define SOAP_END_NAMESPACE(name)
Definition: stdsoap2.h:79
struct SOAP_ENV__Detail * SOAP_ENV__Detail
Definition: soapStub.h:162
unsigned char * __ptr
Definition: googleapi.h:24
Definition: soapStub.h:21
char * fullViewableName
Definition: soapStub.h:36
SOAP_FMAC5 int SOAP_FMAC6 api__doGoogleSearch(struct soap *, char *, char *, int, int, enum _Enum_1, char *, enum _Enum_1, char *, char *, char *, struct api__doGoogleSearchResponse *)
Definition: soapStub.h:154
#define SOAP_BEGIN_NAMESPACE(name)
Definition: stdsoap2.h:75
Definition: googleapi.h:28
#define SOAP_FMAC6
Definition: stdsoap2.h:111
enum _Enum_1 xsd__boolean
Definition: soapStub.h:171
SOAP_FMAC5 int SOAP_FMAC6 api__doGetCachedPage(struct soap *, char *, char *, struct xsd__base64Binary *)
char * lr
Definition: soapStub.h:100
int xsd__int
Definition: soapStub.h:172
char * URL
Definition: soapStub.h:51
int startIndex
Definition: soapStub.h:77
Definition: soapStub.h:119
struct DirectoryCategoryArray directoryCategories
Definition: googleapi.h:65
char * SOAP_ENV__Role
Definition: soapStub.h:142
Definition: soapStub.h:125
char * ie
Definition: soapStub.h:101
struct api__GoogleSearchResult _return
Definition: soapStub.h:87
void * dummy
Definition: soapStub.h:134
char * key
Definition: soapStub.h:93
char * directoryTitle
Definition: soapStub.h:58
enum _Enum_1 filter
Definition: soapStub.h:97
SOAP_FMAC5 int SOAP_FMAC6 soap_serve_api__doGetCachedPage(struct soap *)
#define SOAP_FMAC5
Definition: stdsoap2.h:107
xsd__boolean documentFiltering
Definition: googleapi.h:56
char * cachedSize
Definition: soapStub.h:54
Definition: googleapi.h:33
char * url
Definition: soapStub.h:115
SOAP_FMAC5 int SOAP_FMAC6 soap_call_api__doGetCachedPage(struct soap *, const char *, const char *, char *, char *, struct xsd__base64Binary *)
char * faultstring
Definition: soapStub.h:157
double xsd__double
Definition: soapStub.h:173
char * specialEncoding
Definition: soapStub.h:37
Definition: googleapi.h:55
char * key
Definition: soapStub.h:114
char * xsd__string
Definition: soapStub.h:170
char * searchQuery
Definition: soapStub.h:76
struct api__DirectoryCategory directoryCategory
Definition: googleapi.h:46
SOAP_FMAC5 int SOAP_FMAC6 api__doSpellingSuggestion(struct soap *, char *, char *, char **)
char * __any
Definition: soapStub.h:150
struct SOAP_ENV__Code * SOAP_ENV__Code
Definition: soapStub.h:160
Definition: soapStub.h:21
struct ResultElementArray resultElements
Definition: googleapi.h:60
double searchTime
Definition: soapStub.h:81
int __size
Definition: googleapi.h:25
Definition: soapStub.h:138
Definition: soapStub.h:146
SOAP_FMAC5 int SOAP_FMAC6 soap_serve_request(struct soap *)
char * faultcode
Definition: soapStub.h:156
char * title
Definition: soapStub.h:53
Definition: soapStub.h:132
Definition: soapStub.h:106
char * phrase
Definition: soapStub.h:128
SOAP_FMAC5 int SOAP_FMAC6 soap_call_api__doSpellingSuggestion(struct soap *, const char *, const char *, char *, char *, char **)
char * _XML
Definition: soapStub.h:168
Definition: googleapi.h:50
char ** _return
Definition: soapStub.h:121
char * q
Definition: soapStub.h:94