00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00033 #ifndef EXGMGRUTILS_H_
00034 #define EXGMGRUTILS_H_
00035
00036
00037 #include <linux/types.h>
00038 #include <hiker/types.h>
00039 #include <hiker/exgmgr.h>
00040
00041 #ifdef __cplusplus
00042 extern "C"
00043 {
00044 #endif
00045
00069 alp_status_t alp_exg_utils_store_request_create (AlpExgRequest *oRequest);
00070
00086 alp_status_t alp_exg_utils_store_request_set_data_fd (AlpExgRequest iRequest, int iFd, char *iMIMEType, char *iDescription, char *iName);
00087
00103 alp_status_t alp_exg_utils_store_request_add_object (AlpExgRequest iRequest, char *iFilename, char *iMIMEType, char *iDescription, char *iName);
00104
00106
00125 alp_status_t alp_exg_utils_is_store_request (AlpExgRequest iRequest, int *oIsStoreRequest);
00126
00137 alp_status_t alp_exg_utils_store_request_get_object_count (AlpExgRequest iRequest, int *oObjectCount);
00138
00157 alp_status_t alp_exg_utils_store_request_get_data_fd (AlpExgRequest iRequest, int *oFd, char *oMIMEType, size_t iMIMETypeBufLen, char *oDescription, size_t iDescriptionBufLen, char *oName, size_t iNameBufLen);
00158
00176 alp_status_t alp_exg_utils_store_request_get_object (AlpExgRequest iRequest, int iObjectNum, char *oFilename, size_t iFilenameBufLen, char *oMIMEType, size_t iMIMETypeBufLen, char *oDescription, size_t iDescriptionBufLen, char *oName, size_t iNameBufLen);
00177
00194 alp_status_t alp_exg_utils_store_request_get_object_fd (AlpExgRequest iRequest, int iObjectNum, int *oFd, char *oMIMEType, size_t iMIMETypeBufLen, char *oDescription, size_t iDescriptionBufLen, char *oName, size_t iNameBufLen);
00195
00208 alp_status_t alp_exg_utils_send_method_select (AlpExgRequest iRequest, char *iMIMEType);
00209
00210
00212
00214
00215 #ifdef __cplusplus
00216 }
00217 #endif
00218
00219
00220 #endif