~ubuntu-branches/ubuntu/oneiric/ncbi-tools6/oneiric

« back to all changes in this revision

Viewing changes to connect/urlquery.h

  • Committer: Bazaar Package Importer
  • Author(s): Aaron M. Ucko
  • Date: 2008-07-14 19:43:15 UTC
  • mfrom: (2.1.12 intrepid)
  • Revision ID: james.westby@ubuntu.com-20080714194315-ed44u9ek7txva2rz
Tags: 6.1.20080302-3
tools/readdb.c: enable madvise()-based code on all glibc (hence all
Debian) systems, not just Linux.  (Closes: #490437.)

Show diffs side-by-side

added added

removed removed

Lines of Context:
29
29
 *
30
30
 * Version Creation Date:   4/16/98
31
31
 *
32
 
 * $Revision: 6.15 $
 
32
 * $Revision: 6.16 $
33
33
 *
34
34
 * File Description: 
35
35
 *
36
36
 * Modifications:  
37
37
 * --------------------------------------------------------------------------
38
38
 * $Log: urlquery.h,v $
 
39
 * Revision 6.16  2006/10/17 02:19:07  lavr
 
40
 * Use "const char*" wherever appropriate
 
41
 *
39
42
 * Revision 6.15  2006/04/15 01:59:01  lavr
40
43
 * +QUERY_OpenServiceQueryEx
41
44
 *
114
117
  The returned CONN value is then passed data before being sent to the cgi.
115
118
*/
116
119
NLM_EXTERN CONN QUERY_OpenUrlQuery (
117
 
  Nlm_CharPtr host_machine,
 
120
  const char* host_machine,
118
121
  Nlm_Uint2 host_port,
119
 
  Nlm_CharPtr host_path,
120
 
  Nlm_CharPtr arguments,
121
 
  Nlm_CharPtr appName,
 
122
  const char* host_path,
 
123
  const char* arguments,
 
124
  const char* appName,
122
125
  Nlm_Uint4 timeoutsec,
123
126
  EMIME_Type type,
124
127
  EMIME_SubType subtype,
137
140
*/
138
141
 
139
142
NLM_EXTERN CONN QUERY_OpenServiceQueryEx (
140
 
  Nlm_CharPtr service, Nlm_CharPtr parameters, Nlm_Uint4 timeoutsec,
141
 
  Nlm_CharPtr arguments
 
143
  const char* service,
 
144
  const char* parameters,
 
145
  Nlm_Uint4 timeoutsec,
 
146
  const char* arguments
142
147
);
143
148
 
144
149
/*
145
150
  Same as QUERY_OpenServiceQueryEx(service, parameters, timeoutsec, 0);
146
151
*/
147
152
NLM_EXTERN CONN QUERY_OpenServiceQuery (
148
 
  Nlm_CharPtr service, Nlm_CharPtr parameters, Nlm_Uint4 timeoutsec
 
153
  const char* service,
 
154
  const char* parameters,
 
155
  Nlm_Uint4 timeoutsec
149
156
);
150
157
 
151
158
/*
192
199
  to AsnRead and AsnWrite functions.
193
200
*/
194
201
NLM_EXTERN AsnIoConnPtr QUERY_AsnIoConnOpen (
195
 
  Nlm_CharPtr mode,
 
202
  const char* mode,
196
203
  CONN conn
197
204
);
198
205