29
29
* This is generally not for the public use.
30
30
* Implementation of functions of meta-connector.
32
* --------------------------------------------------------------------------
33
* $Log: ncbi_connector.c,v $
34
* Revision 6.4 2001/03/02 20:07:56 lavr
37
* Revision 6.3 2001/01/25 16:57:08 lavr
38
* METACONN_Remove revoked call to free() with connector:
39
* connector's DESTROY method is now (back) responsible to call free().
41
* Revision 6.2 2001/01/12 23:51:38 lavr
42
* Message logging modified for use LOG facility only
44
* Revision 6.1 2000/12/29 17:49:29 lavr
47
* ==========================================================================
50
34
#include "ncbi_priv.h"
51
35
#include <connect/ncbi_connector.h>
55
38
/* Standard logging message
57
#define METACONN_LOG(level, descr) \
59
("%s (connector \"%s\", error \"%s\")", \
61
(*meta->get_type)(meta->c_get_type), \
40
#define METACONN_LOG(level, descr) \
42
("%s (connector \"%s\", error \"%s\")", \
43
descr, (*meta->get_type)(meta->c_get_type), \
62
44
IO_StatusStr(status)))
112
(*connector->setup)(meta, connector);
94
connector->setup(meta, connector);
113
95
connector->meta = meta;
114
96
connector->next = meta->list;
115
97
meta->list = connector;
117
99
return eIO_Success;
104
* --------------------------------------------------------------------------
105
* $Log: ncbi_connector.c,v $
106
* Revision 6.7 2002/08/13 19:29:49 lavr
109
* Revision 6.6 2002/04/26 16:31:06 lavr
110
* Minor style changes in call-by-pointer functions
112
* Revision 6.5 2002/03/22 22:17:29 lavr
113
* No <stdlib.h> needed in here, removed
115
* Revision 6.4 2001/03/02 20:07:56 lavr
118
* Revision 6.3 2001/01/25 16:57:08 lavr
119
* METACONN_Remove revoked call to free() with connector:
120
* connector's DESTROY method is now (back) responsible to call free().
122
* Revision 6.2 2001/01/12 23:51:38 lavr
123
* Message logging modified for use LOG facility only
125
* Revision 6.1 2000/12/29 17:49:29 lavr
128
* ==========================================================================