Browse CVS Repository
Diff of /xoonips/AL/commonal.h
Parent Directory
| Revision Log
| Revision Graph
| Patch
| 95 |
|
|
| 96 |
#define XNP_PRIVATE_INDEX_TITLE "Private" |
#define XNP_PRIVATE_INDEX_TITLE "Private" |
| 97 |
|
|
| 98 |
|
typedef enum { |
| 99 |
|
ME_CREATED = 1, |
| 100 |
|
ME_MODIFIED, |
| 101 |
|
ME_DELETED |
| 102 |
|
} metadataevent_t; |
| 103 |
|
|
| 104 |
|
//構造体 dateがNULLなら0 |
| 105 |
|
typedef struct{ |
| 106 |
|
time_t createdTimestamp; |
| 107 |
|
time_t modifiedTimestamp; |
| 108 |
|
time_t deletedTimestamp; |
| 109 |
|
int isDeleted; |
| 110 |
|
} itemstatus_t; |
| 111 |
|
|
| 112 |
EXPORTDLL result_t initializeDB( const char* host, const char* user, const char* password, const char* dbname, const char* prefix, dbtype_t type ); |
EXPORTDLL result_t initializeDB( const char* host, const char* user, const char* password, const char* dbname, const char* prefix, dbtype_t type ); |
| 113 |
EXPORTDLL result_t uninitializeDB(); |
EXPORTDLL result_t uninitializeDB(); |
| 114 |
EXPORTDLL bool isActivated( sessionid_t sid, userid_t uid ); |
EXPORTDLL bool isActivated( sessionid_t sid, userid_t uid ); |
| 224 |
EXPORTDLL result_t updateItemStatus(); |
EXPORTDLL result_t updateItemStatus(); |
| 225 |
EXPORTDLL result_t refreshItemStatus(); |
EXPORTDLL result_t refreshItemStatus(); |
| 226 |
EXPORTDLL result_t selectiveHarvesting( time_t from, time_t until, int startIID, int limit, itemid_t **iids, int *iidsLen ); |
EXPORTDLL result_t selectiveHarvesting( time_t from, time_t until, int startIID, int limit, itemid_t **iids, int *iidsLen ); |
| 227 |
|
EXPORTDLL result_t getMetadataEvent( itemid_t iid, itemstatus_t *status ); |
| 228 |
|
|
| 229 |
|
|
| 230 |
#endif |
#endif |
|
|
Legend:
| Removed from v.1.40 |
|
| changed lines |
| |
Added in v.1.41 |
|
|
| |