~ubuntu-branches/ubuntu/edgy/ncbi-tools6/edgy

« back to all changes in this revision

Viewing changes to connect/ncbi_http_connector.h

  • Committer: Bazaar Package Importer
  • Author(s): Barry deFreese
  • Date: 2006-07-19 23:28:07 UTC
  • mfrom: (1.1.5 upstream)
  • Revision ID: james.westby@ubuntu.com-20060719232807-et3cdmcjgmnyleyx
Tags: 6.1.20060507-3ubuntu1
Re-merge with Debian

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#ifndef CONNECT___HTTP_CONNECTOR__H
2
2
#define CONNECT___HTTP_CONNECTOR__H
3
3
 
4
 
/*  $Id: ncbi_http_connector.h,v 6.14 2005/08/12 16:09:32 lavr Exp $
 
4
/*  $Id: ncbi_http_connector.h,v 6.15 2006/01/17 20:17:15 lavr Exp $
5
5
 * ===========================================================================
6
6
 *
7
7
 *                            PUBLIC DOMAIN NOTICE
184
184
);
185
185
 
186
186
 
 
187
/* Set message hook procedure for messages originating from NCBI via HTTP.
 
188
 * Any hook will be called not more than once.  Until no hook is installed,
 
189
 * and exactly one message is caught, a warning will be generated in
 
190
 * the standard log file upon each message acceptance.
 
191
 */
 
192
 
 
193
typedef void (*FHTTP_NcbiMessageHook)(const char* message);
 
194
 
 
195
extern NCBI_XCONNECT_EXPORT void HTTP_SetNcbiMessageHook
 
196
(FHTTP_NcbiMessageHook            /* New hook to be installed, NULL to reset */
 
197
 );
 
198
 
 
199
 
187
200
#ifdef __cplusplus
188
201
}  /* extern "C" */
189
202
#endif
195
208
/*
196
209
 * --------------------------------------------------------------------------
197
210
 * $Log: ncbi_http_connector.h,v $
 
211
 * Revision 6.15  2006/01/17 20:17:15  lavr
 
212
 * DISP_SetMessageHook() moved from ncbi_service_misc.h to
 
213
 * ncbi_http_connector.h and renamed to HTTP_SetNcbiMessageHook()
 
214
 *
198
215
 * Revision 6.14  2005/08/12 16:09:32  lavr
199
216
 * +fHCC_Flushable
200
217
 *