~ubuntu-branches/ubuntu/precise/ncbi-tools6/precise

« back to all changes in this revision

Viewing changes to connect/ncbi_http_connector.h

  • Committer: Bazaar Package Importer
  • Author(s): Aaron M. Ucko
  • Date: 2005-03-27 12:00:15 UTC
  • mfrom: (2.1.2 hoary)
  • Revision ID: james.westby@ubuntu.com-20050327120015-embhesp32nj73p9r
Tags: 6.1.20041020-3
* Fix FTBFS under GCC 4.0 caused by inconsistent use of "static" on
  functions.  (Closes: #295110.)
* Add a watch file, now that we can.  (Upstream's layout needs version=3.)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#ifndef NCBI_HTTP_CONNECTOR__H
2
 
#define NCBI_HTTP_CONNECTOR__H
 
1
#ifndef CONNECT___HTTP_CONNECTOR__H
 
2
#define CONNECT___HTTP_CONNECTOR__H
3
3
 
4
 
/*  $Id: ncbi_http_connector.h,v 6.8 2001/09/28 20:46:13 lavr Exp $
 
4
/*  $Id: ncbi_http_connector.h,v 6.13 2003/05/29 20:13:15 lavr Exp $
5
5
 * ===========================================================================
6
6
 *
7
7
 *                            PUBLIC DOMAIN NOTICE
34
34
 *   See in "ncbi_connector.h" for the detailed specification of the underlying
35
35
 *   connector("CONNECTOR", "SConnectorTag") methods and structures.
36
36
 *
37
 
 * --------------------------------------------------------------------------
38
 
 * $Log: ncbi_http_connector.h,v $
39
 
 * Revision 6.8  2001/09/28 20:46:13  lavr
40
 
 * Comments revised; parameter names adjusted
41
 
 *
42
 
 * Revision 6.7  2001/09/10 21:15:48  lavr
43
 
 * Readability issue: FParseHTTPHdr -> FParseHTTPHeader
44
 
 *
45
 
 * Revision 6.6  2001/05/23 21:52:00  lavr
46
 
 * +fHCC_NoUpread
47
 
 *
48
 
 * Revision 6.5  2001/01/25 16:53:22  lavr
49
 
 * New flag for HTTP_CreateConnectorEx: fHCC_DropUnread
50
 
 *
51
 
 * Revision 6.4  2000/12/29 17:41:44  lavr
52
 
 * Pretty printed; HTTP_CreateConnectorEx constructor interface changed
53
 
 *
54
 
 * Revision 6.3  2000/10/03 21:20:34  lavr
55
 
 * Request method changed from POST to {GET|POST}
56
 
 *
57
 
 * Revision 6.2  2000/09/26 22:02:55  lavr
58
 
 * HTTP request method added
59
 
 *
60
 
 * Revision 6.1  2000/04/21 19:40:58  vakatov
61
 
 * Initial revision
62
 
 *
63
 
 * ==========================================================================
64
37
 */
65
38
 
66
 
#include <connect/ncbi_connector.h>
67
39
#include <connect/ncbi_connutil.h>
68
40
 
 
41
 
 
42
/** @addtogroup Connectors
 
43
 *
 
44
 * @{
 
45
 */
 
46
 
 
47
 
69
48
#ifdef __cplusplus
70
49
extern "C" {
71
50
#endif
148
127
} EHCC_Flags;
149
128
typedef int THCC_Flags;  /* binary OR of "EHttpCreateConnectorFlags"         */
150
129
 
151
 
extern CONNECTOR HTTP_CreateConnector
 
130
extern NCBI_XCONNECT_EXPORT CONNECTOR HTTP_CreateConnector
152
131
(const SConnNetInfo* net_info,
153
132
 const char*         user_header,
154
133
 THCC_Flags          flags
184
163
(void* adjust_data                  /* supplemental user data for cleanup    */
185
164
 );
186
165
 
187
 
extern CONNECTOR HTTP_CreateConnectorEx
 
166
extern NCBI_XCONNECT_EXPORT CONNECTOR HTTP_CreateConnectorEx
188
167
(const SConnNetInfo*  net_info,
189
168
 THCC_Flags           flags,
190
169
 FHttpParseHTTPHeader parse_http_hdr, /* may be NULL, then no addtl. parsing */
198
177
}  /* extern "C" */
199
178
#endif
200
179
 
201
 
#endif /* NCBI_HTTP_CONNECTOR__H */
 
180
 
 
181
/* @} */
 
182
 
 
183
 
 
184
/*
 
185
 * --------------------------------------------------------------------------
 
186
 * $Log: ncbi_http_connector.h,v $
 
187
 * Revision 6.13  2003/05/29 20:13:15  lavr
 
188
 * -#include <connect/ncbi_connector.h>
 
189
 *
 
190
 * Revision 6.12  2003/04/09 19:05:44  siyan
 
191
 * Added doxygen support
 
192
 *
 
193
 * Revision 6.11  2003/01/08 01:59:32  lavr
 
194
 * DLL-ize CONNECT library for MSVC (add NCBI_XCONNECT_EXPORT)
 
195
 *
 
196
 * Revision 6.10  2002/09/19 18:06:39  lavr
 
197
 * Additional blank line inserted after inclusion of headers
 
198
 *
 
199
 * Revision 6.9  2002/09/06 15:41:13  lavr
 
200
 * Log moved to end
 
201
 *
 
202
 * Revision 6.8  2001/09/28 20:46:13  lavr
 
203
 * Comments revised; parameter names adjusted
 
204
 *
 
205
 * Revision 6.7  2001/09/10 21:15:48  lavr
 
206
 * Readability issue: FParseHTTPHdr -> FParseHTTPHeader
 
207
 *
 
208
 * Revision 6.6  2001/05/23 21:52:00  lavr
 
209
 * +fHCC_NoUpread
 
210
 *
 
211
 * Revision 6.5  2001/01/25 16:53:22  lavr
 
212
 * New flag for HTTP_CreateConnectorEx: fHCC_DropUnread
 
213
 *
 
214
 * Revision 6.4  2000/12/29 17:41:44  lavr
 
215
 * Pretty printed; HTTP_CreateConnectorEx constructor interface changed
 
216
 *
 
217
 * Revision 6.3  2000/10/03 21:20:34  lavr
 
218
 * Request method changed from POST to {GET|POST}
 
219
 *
 
220
 * Revision 6.2  2000/09/26 22:02:55  lavr
 
221
 * HTTP request method added
 
222
 *
 
223
 * Revision 6.1  2000/04/21 19:40:58  vakatov
 
224
 * Initial revision
 
225
 *
 
226
 * ==========================================================================
 
227
 */
 
228
 
 
229
#endif /* CONNECT___HTTP_CONNECTOR__H */