1
1
#ifndef CONNECT___NCBI_CONNECTOR__H
2
2
#define CONNECT___NCBI_CONNECTOR__H
4
/* $Id: ncbi_connector.h,v 6.16 2003/08/25 14:47:59 lavr Exp $
4
/* $Id: ncbi_connector.h,v 6.17 2007/09/04 20:25:30 kazimird Exp $
5
5
* ===========================================================================
7
7
* PUBLIC DOMAIN NOTICE
247
247
/* Connector specification.
249
249
typedef struct SConnectorTag {
250
void* handle; /* data handle of the connector */
251
CONNECTOR next; /* linked list */
252
250
SMetaConnector* meta; /* back link to CONNECTION */
253
251
FSetupVTable setup; /* used in CONNECTION init */
254
252
FDestroy destroy; /* destroys handle, can be NULL */
253
void* handle; /* data handle of the connector */
254
CONNECTOR next; /* linked list */
290
* --------------------------------------------------------------------------
291
* $Log: ncbi_connector.h,v $
292
* Revision 6.16 2003/08/25 14:47:59 lavr
293
* Get rid of old ...TIMEOUT constants [now replaced with k...Timeout]
295
* Revision 6.15 2003/05/21 17:52:37 lavr
296
* Pre- and post-conditions clarified for read and write virtual methods
298
* Revision 6.14 2003/05/14 03:47:53 lavr
299
* +(*FConnectorDescr)()
301
* Revision 6.13 2003/04/09 17:58:45 siyan
302
* Added doxygen support
304
* Revision 6.12 2003/01/08 01:59:32 lavr
305
* DLL-ize CONNECT library for MSVC (add NCBI_XCONNECT_EXPORT)
307
* Revision 6.11 2002/09/19 18:00:11 lavr
308
* Header file guard macro changed
310
* Revision 6.10 2002/09/06 15:40:54 lavr
311
* More comments and notes to the API; log moved to end
313
* Revision 6.9 2002/04/26 16:29:32 lavr
314
* Add default_timeout member to meta-connector
316
* Revision 6.8 2002/03/22 22:18:48 lavr
319
* Revision 6.7 2001/04/24 21:20:01 lavr
320
* Introduced CONN_DEFAULT_TIMEOUT and CONN_INFINITE_TIMEOUT
322
* Revision 6.6 2001/03/02 20:07:18 lavr
325
* Revision 6.5 2001/01/11 16:39:33 lavr
326
* FDestroy function is now clearly documented not to destroy
327
* the connector itself, only its handle (private internal data).
329
* Revision 6.4 2001/01/03 22:29:22 lavr
330
* Changed IOStatus -> Status
332
* Revision 6.3 2000/12/29 17:45:07 lavr
333
* Heavily modified to have a stack of connectors
334
* VTable format changed; all virtual function now accept CONNECTOR as a
335
* first argument (not void* as in previous versions)
337
* Revision 6.2 2000/04/07 19:59:49 vakatov
338
* Moved forward-declaration of CONNECTOR from "ncbi_connection.h"
339
* to "ncbi_connector.h"
341
* Revision 6.1 2000/03/24 22:52:48 vakatov
344
* ==========================================================================
347
288
#endif /* CONNECT___NCBI_CONNECTOR__H */