~ubuntu-branches/ubuntu/jaunty/ncbi-tools6/jaunty

« back to all changes in this revision

Viewing changes to connect/ncbi_connector.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:
1
1
#ifndef CONNECT___NCBI_CONNECTOR__H
2
2
#define CONNECT___NCBI_CONNECTOR__H
3
3
 
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
 * ===========================================================================
6
6
 *
7
7
 *                            PUBLIC DOMAIN NOTICE
247
247
/* Connector specification.
248
248
 */
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                  */
255
255
} SConnector;
256
256
 
257
257
 
285
285
 
286
286
/* @} */
287
287
 
288
 
 
289
 
/*
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]
294
 
 *
295
 
 * Revision 6.15  2003/05/21 17:52:37  lavr
296
 
 * Pre- and post-conditions clarified for read and write virtual methods
297
 
 *
298
 
 * Revision 6.14  2003/05/14 03:47:53  lavr
299
 
 * +(*FConnectorDescr)()
300
 
 *
301
 
 * Revision 6.13  2003/04/09 17:58:45  siyan
302
 
 * Added doxygen support
303
 
 *
304
 
 * Revision 6.12  2003/01/08 01:59:32  lavr
305
 
 * DLL-ize CONNECT library for MSVC (add NCBI_XCONNECT_EXPORT)
306
 
 *
307
 
 * Revision 6.11  2002/09/19 18:00:11  lavr
308
 
 * Header file guard macro changed
309
 
 *
310
 
 * Revision 6.10  2002/09/06 15:40:54  lavr
311
 
 * More comments and notes to the API; log moved to end
312
 
 *
313
 
 * Revision 6.9  2002/04/26 16:29:32  lavr
314
 
 * Add default_timeout member to meta-connector
315
 
 *
316
 
 * Revision 6.8  2002/03/22 22:18:48  lavr
317
 
 * Cosmetic update
318
 
 *
319
 
 * Revision 6.7  2001/04/24 21:20:01  lavr
320
 
 * Introduced CONN_DEFAULT_TIMEOUT and CONN_INFINITE_TIMEOUT
321
 
 *
322
 
 * Revision 6.6  2001/03/02 20:07:18  lavr
323
 
 * Typos fixed
324
 
 *
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).
328
 
 *
329
 
 * Revision 6.4  2001/01/03 22:29:22  lavr
330
 
 * Changed IOStatus -> Status
331
 
 *
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)
336
 
 *
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"
340
 
 *
341
 
 * Revision 6.1  2000/03/24 22:52:48  vakatov
342
 
 * Initial revision
343
 
 *
344
 
 * ==========================================================================
345
 
 */
346
 
 
347
288
#endif /* CONNECT___NCBI_CONNECTOR__H */