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.20 by youi, Fri Jan 21 01:36:11 2005 UTC revision 1.21 by youi, Sat Jan 22 09:28:21 2005 UTC
# Line 15  Line 15 
15  #include "index.h"  #include "index.h"
16  #include "changelog.h"  #include "changelog.h"
17  #include "pubmed.h"  #include "pubmed.h"
18    #include "amazonbook.h"
19    
20  #if defined( WIN32 )  #if defined( WIN32 )
21  #define EXPORTDLL extern "C" __declspec(dllexport)  #define EXPORTDLL extern "C" __declspec(dllexport)
# Line 122  EXPORTDLL result_t unregisterItem( sessi Line 123  EXPORTDLL result_t unregisterItem( sessi
123  EXPORTDLL bool getItemPermission( sessionid_t sid, itemid_t iid, itemop_t op );  EXPORTDLL bool getItemPermission( sessionid_t sid, itemid_t iid, itemop_t op );
124  EXPORTDLL bool getIndexPermission( sessionid_t sid, indexid_t xid, indexop_t op );  EXPORTDLL bool getIndexPermission( sessionid_t sid, indexid_t xid, indexop_t op );
125    
 EXPORTDLL result_t getChangeLog( sessionid_t sid, itemid_t iid, changelog_t** logs, int logsLen );  
   
126  EXPORTDLL bool isValidSessionID( sessionid_t sess_id );  EXPORTDLL bool isValidSessionID( sessionid_t sess_id );
127    
128  EXPORTDLL result_t getAllIndexes( sessionid_t sess_id, criteria_t *cri, const index_t **indexes, int *indexesLen );  EXPORTDLL result_t getAllIndexes( sessionid_t sess_id, criteria_t *cri, const index_t **indexes, int *indexesLen );
# Line 139  EXPORTDLL result_t swapIndexSortNumber( Line 138  EXPORTDLL result_t swapIndexSortNumber(
138  EXPORTDLL result_t getConfigValue( const char* key, char** value );  EXPORTDLL result_t getConfigValue( const char* key, char** value );
139  EXPORTDLL result_t setConfigValue( const char* key, const char* value );  EXPORTDLL result_t setConfigValue( const char* key, const char* value );
140    
141  result_t pubmedComplete( pubmedid_t pmid, const pubmed_t** pubmed );  EXPORTDLL result_t pubmedComplete( pubmedid_t pmid, const pubmed_t** pubmed );
142    EXPORTDLL result_t amazonComplete( const char* url, const amazonbook_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* );
# Line 154  EXPORTDLL void freeString( char* ptr ); Line 154  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 );  EXPORTDLL void freePubmed( const pubmed_t* ptr );
156    
 EXPORTDLL void setLastErrorString( const char* str );  
157  EXPORTDLL const char* getLastErrorString();  EXPORTDLL const char* getLastErrorString();
158    
159  EXPORTDLL result_t getChangeLogs( sessionid_t sid, itemid_t itemid, const changelog_t** logs, int* logsLen );  EXPORTDLL result_t getChangeLogs( sessionid_t sid, itemid_t itemid, const changelog_t** logs, int* logsLen );

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

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