Develop and Download Open Source Software

Browse CVS Repository

Diff of /xoonips/AL/commonal.h

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.19 by youi, Wed Jan 19 05:56:38 2005 UTC revision 1.20 by youi, Fri Jan 21 01:36:11 2005 UTC
# Line 14  Line 14 
14  #include "item.h"  #include "item.h"
15  #include "index.h"  #include "index.h"
16  #include "changelog.h"  #include "changelog.h"
17    #include "pubmed.h"
18    
19  #if defined( WIN32 )  #if defined( WIN32 )
20  #define EXPORTDLL extern "C" __declspec(dllexport)  #define EXPORTDLL extern "C" __declspec(dllexport)
# Line 21  Line 22 
22  #define EXPORTDLL  #define EXPORTDLL
23  #endif  #endif
24    
25    #define PUBMED_EFETCH_URL_BASE "http://eutils.ncbi.nlm.nih.gov/entrez/eutils/efetch.fcgi?db=pubmed&retmode=xml&id="
26    
27  #define ACCOUNT_UNAME_LEN 25  #define ACCOUNT_UNAME_LEN 25
28  #define ACCOUNT_NAME_LEN 60  #define ACCOUNT_NAME_LEN 60
# Line 137  EXPORTDLL result_t swapIndexSortNumber( Line 139  EXPORTDLL result_t swapIndexSortNumber(
139  EXPORTDLL result_t getConfigValue( const char* key, char** value );  EXPORTDLL result_t getConfigValue( const char* key, char** value );
140  EXPORTDLL result_t setConfigValue( const char* key, const char* value );  EXPORTDLL result_t setConfigValue( const char* key, const char* value );
141    
142    result_t pubmedComplete( pubmedid_t pmid, const pubmed_t** pubmed );
143    
144  EXPORTDLL void freeAccount( const account_t* );  EXPORTDLL void freeAccount( const account_t* );
145  EXPORTDLL void freeGroup( const group_t* );  EXPORTDLL void freeGroup( const group_t* );
146  EXPORTDLL void freeSession( const session_t* );  EXPORTDLL void freeSession( const session_t* );
# Line 148  EXPORTDLL void freeIndex( const index_t* Line 152  EXPORTDLL void freeIndex( const index_t*
152  EXPORTDLL void freeIndexID( const indexid_t* ptr );  EXPORTDLL void freeIndexID( const indexid_t* ptr );
153  EXPORTDLL void freeString( char* ptr );  EXPORTDLL void freeString( char* ptr );
154  EXPORTDLL void freeChangeLog( const changelog_t* ptr );  EXPORTDLL void freeChangeLog( const changelog_t* ptr );
155    EXPORTDLL void freePubmed( const pubmed_t* ptr );
156    
157  EXPORTDLL void setLastErrorString( const char* str );  EXPORTDLL void setLastErrorString( const char* str );
158  EXPORTDLL const char* getLastErrorString();  EXPORTDLL const char* getLastErrorString();

Legend:
Removed from v.1.19  
changed lines
  Added in v.1.20

Back to OSDN">Back to OSDN
ViewVC Help
Powered by ViewVC 1.1.26