le_avdata_common.h
Go to the documentation of this file.
28 //--------------------------------------------------------------------------------------------------32 //--------------------------------------------------------------------------------------------------35 //--------------------------------------------------------------------------------------------------38 //--------------------------------------------------------------------------------------------------41 //--------------------------------------------------------------------------------------------------45 //--------------------------------------------------------------------------------------------------48 //--------------------------------------------------------------------------------------------------51 //--------------------------------------------------------------------------------------------------54 //--------------------------------------------------------------------------------------------------61 //--------------------------------------------------------------------------------------------------74 //--------------------------------------------------------------------------------------------------78 //--------------------------------------------------------------------------------------------------/// read access type85 //--------------------------------------------------------------------------------------------------89 //--------------------------------------------------------------------------------------------------100 //--------------------------------------------------------------------------------------------------104 //--------------------------------------------------------------------------------------------------121 //--------------------------------------------------------------------------------------------------126 //--------------------------------------------------------------------------------------------------137 //--------------------------------------------------------------------------------------------------141 //--------------------------------------------------------------------------------------------------145 //--------------------------------------------------------------------------------------------------149 //--------------------------------------------------------------------------------------------------153 //--------------------------------------------------------------------------------------------------157 //--------------------------------------------------------------------------------------------------161 //--------------------------------------------------------------------------------------------------165 //--------------------------------------------------------------------------------------------------169 //--------------------------------------------------------------------------------------------------173 //--------------------------------------------------------------------------------------------------184 //--------------------------------------------------------------------------------------------------188 //--------------------------------------------------------------------------------------------------192 //--------------------------------------------------------------------------------------------------194 * Handler for resource activity. Note that the path returned by this event follows the unix format198 //--------------------------------------------------------------------------------------------------200 (211 //--------------------------------------------------------------------------------------------------215 //--------------------------------------------------------------------------------------------------217 (224 //--------------------------------------------------------------------------------------------------228 //--------------------------------------------------------------------------------------------------230 (238 //--------------------------------------------------------------------------------------------------242 //--------------------------------------------------------------------------------------------------249 //--------------------------------------------------------------------------------------------------253 //--------------------------------------------------------------------------------------------------260 //--------------------------------------------------------------------------------------------------264 //--------------------------------------------------------------------------------------------------271 //--------------------------------------------------------------------------------------------------279 * For "commands", the handler function must call the "ReplyExecResult" function to send the command283 //--------------------------------------------------------------------------------------------------295 //--------------------------------------------------------------------------------------------------299 //--------------------------------------------------------------------------------------------------307 //--------------------------------------------------------------------------------------------------309 * Create an asset data with the provided path. Note that asset data type and value are determined310 * upon the first call to a Set function. When an asset data is created, it contains a null value,319 //--------------------------------------------------------------------------------------------------329 //--------------------------------------------------------------------------------------------------337 //--------------------------------------------------------------------------------------------------345 //--------------------------------------------------------------------------------------------------354 //--------------------------------------------------------------------------------------------------362 //--------------------------------------------------------------------------------------------------373 //--------------------------------------------------------------------------------------------------383 //--------------------------------------------------------------------------------------------------392 //--------------------------------------------------------------------------------------------------402 //--------------------------------------------------------------------------------------------------413 //--------------------------------------------------------------------------------------------------423 //--------------------------------------------------------------------------------------------------432 //--------------------------------------------------------------------------------------------------442 //--------------------------------------------------------------------------------------------------453 //--------------------------------------------------------------------------------------------------463 //--------------------------------------------------------------------------------------------------472 //--------------------------------------------------------------------------------------------------482 //--------------------------------------------------------------------------------------------------494 //--------------------------------------------------------------------------------------------------506 //--------------------------------------------------------------------------------------------------515 //--------------------------------------------------------------------------------------------------525 //--------------------------------------------------------------------------------------------------533 //--------------------------------------------------------------------------------------------------545 //--------------------------------------------------------------------------------------------------553 //--------------------------------------------------------------------------------------------------565 //--------------------------------------------------------------------------------------------------573 //--------------------------------------------------------------------------------------------------585 //--------------------------------------------------------------------------------------------------594 //--------------------------------------------------------------------------------------------------608 //--------------------------------------------------------------------------------------------------610 * Get the length (excluding terminating null byte) of the string argument of the specified name.616 //--------------------------------------------------------------------------------------------------628 //--------------------------------------------------------------------------------------------------630 * Reply command execution result to AVC Daemon, which can then respond to AV server. This function631 * MUST be called at the end of a command execution, in order for AV server to be notified about the634 //--------------------------------------------------------------------------------------------------644 //--------------------------------------------------------------------------------------------------656 //--------------------------------------------------------------------------------------------------668 //--------------------------------------------------------------------------------------------------679 //--------------------------------------------------------------------------------------------------693 //--------------------------------------------------------------------------------------------------699 //--------------------------------------------------------------------------------------------------705 //--------------------------------------------------------------------------------------------------709 //--------------------------------------------------------------------------------------------------717 //--------------------------------------------------------------------------------------------------721 * @note The client will be terminated if the recordRef is not valid, or the resource doesn't exist728 //--------------------------------------------------------------------------------------------------742 //--------------------------------------------------------------------------------------------------746 * @note The client will be terminated if the recordRef is not valid, or the resource doesn't exist753 //--------------------------------------------------------------------------------------------------767 //--------------------------------------------------------------------------------------------------771 * @note The client will be terminated if the recordRef is not valid, or the resource doesn't exist778 //--------------------------------------------------------------------------------------------------792 //--------------------------------------------------------------------------------------------------796 * @note The client will be terminated if the recordRef is not valid, or the resource doesn't exist803 //--------------------------------------------------------------------------------------------------817 //--------------------------------------------------------------------------------------------------831 //--------------------------------------------------------------------------------------------------843 //--------------------------------------------------------------------------------------------------849 //--------------------------------------------------------------------------------------------------859 //--------------------------------------------------------------------------------------------------863 //--------------------------------------------------------------------------------------------------871 //--------------------------------------------------------------------------------------------------879 //--------------------------------------------------------------------------------------------------885 //--------------------------------------------------------------------------------------------------890 //--------------------------------------------------------------------------------------------------struct le_avdata_Record * le_avdata_RecordRef_tDefinition: le_avdata_common.h:158struct le_avdata_ResourceEventHandler * le_avdata_ResourceEventHandlerRef_tDefinition: le_avdata_common.h:150struct le_avdata_SessionStateHandler * le_avdata_SessionStateHandlerRef_tDefinition: le_avdata_common.h:189void(* le_avdata_CallbackResultFunc_t)(le_avdata_PushStatus_t status, void *contextPtr)Definition: le_avdata_common.h:217void(* le_avdata_ResourceHandlerFunc_t)(const char *LE_NONNULL path, le_avdata_AccessType_t accessType, le_avdata_ArgumentListRef_t argumentListRef, void *contextPtr)Definition: le_avdata_common.h:200struct le_avdata_RequestSessionObj * le_avdata_RequestSessionObjRef_tDefinition: le_avdata_common.h:166read/write (server) or read/write (client)Definition: le_avdata_common.h:66void(* le_avdata_SessionStateHandlerFunc_t)(le_avdata_SessionState_t sessionState, void *contextPtr)Definition: le_avdata_common.h:230struct le_avdata_ArgumentList * le_avdata_ArgumentListRef_tDefinition: le_avdata_common.h:142