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

« back to all changes in this revision

Viewing changes to connect/ncbi_memory_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___NCBI_MEMORY_CONNECTOR__H
2
2
#define CONNECT___NCBI_MEMORY_CONNECTOR__H
3
3
 
4
 
/*  $Id: ncbi_memory_connector.h,v 6.5 2004/10/27 18:44:14 lavr Exp $
 
4
/*  $Id: ncbi_memory_connector.h,v 6.6 2006/03/30 17:39:24 lavr Exp $
5
5
 * ===========================================================================
6
6
 *
7
7
 *                            PUBLIC DOMAIN NOTICE
52
52
 
53
53
 
54
54
/* Create new CONNECTOR structure to handle a data transfer in-memory.
55
 
 * Use lock (may be NULL) to protect write/read operations.
 
55
 * Onwership of "buf" (if passed non-NULL) is not assumed by the connector.
56
56
 * Return NULL on error.
57
57
 */
58
 
extern NCBI_XCONNECT_EXPORT CONNECTOR MEMORY_CreateConnector(MT_LOCK lock);
59
 
 
60
 
 
61
 
extern NCBI_XCONNECT_EXPORT CONNECTOR MEMORY_CreateConnectorEx(BUF     buf,
62
 
                                                               MT_LOCK lock);
 
58
extern NCBI_XCONNECT_EXPORT CONNECTOR MEMORY_CreateConnector(void);
 
59
 
 
60
 
 
61
extern NCBI_XCONNECT_EXPORT CONNECTOR MEMORY_CreateConnectorEx(BUF buf);
 
62
 
63
63
 
64
64
#ifdef __cplusplus
65
65
}  /* extern "C" */
72
72
/*
73
73
 * --------------------------------------------------------------------------
74
74
 * $Log: ncbi_memory_connector.h,v $
 
75
 * Revision 6.6  2006/03/30 17:39:24  lavr
 
76
 * MEMORY_Connector: Remove unnecessary lock
 
77
 *
75
78
 * Revision 6.5  2004/10/27 18:44:14  lavr
76
79
 * +MEMORY_CreateConnectorEx()
77
80
 *