| 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) |
| 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 |
| 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* ); |
| 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(); |