le_avdata_common.h File Reference

#include "legato.h"

Go to the source code of this file.

Macros

#define LE_AVDATA_PATH_NAME_LEN   511
 
#define LE_AVDATA_PATH_NAME_BYTES   512
 
#define LE_AVDATA_STRING_VALUE_LEN   255
 
#define LE_AVDATA_STRING_VALUE_BYTES   256
 
#define LE_AVDATA_ACCESS_READ   0x1
 
#define LE_AVDATA_ACCESS_WRITE   0x2
 
#define LE_AVDATA_ACCESS_EXEC   0x4
 

Typedefs

typedef uint32_t le_avdata_AccessType_t
 
typedef struct le_avdata_ArgumentList * le_avdata_ArgumentListRef_t
 
typedef struct le_avdata_ResourceEventHandler * le_avdata_ResourceEventHandlerRef_t
 
typedef struct le_avdata_Record * le_avdata_RecordRef_t
 
typedef struct le_avdata_RequestSessionObj * le_avdata_RequestSessionObjRef_t
 
typedef struct le_avdata_SessionStateHandler * le_avdata_SessionStateHandlerRef_t
 
typedef void(* le_avdata_ResourceHandlerFunc_t) (const char *LE_NONNULL path, le_avdata_AccessType_t accessType, le_avdata_ArgumentListRef_t argumentListRef, void *contextPtr)
 
typedef void(* le_avdata_CallbackResultFunc_t) (le_avdata_PushStatus_t status, void *contextPtr)
 
typedef void(* le_avdata_SessionStateHandlerFunc_t) (le_avdata_SessionState_t sessionState, void *contextPtr)
 

Enumerations

enum  le_avdata_AccessMode_t { LE_AVDATA_ACCESS_VARIABLE = 0, LE_AVDATA_ACCESS_SETTING = 1, LE_AVDATA_ACCESS_COMMAND = 2 }
 
enum  le_avdata_Namespace_t { LE_AVDATA_NAMESPACE_APPLICATION = 0, LE_AVDATA_NAMESPACE_GLOBAL = 1 }
 
enum  le_avdata_DataType_t {
  LE_AVDATA_DATA_TYPE_NONE = 0, LE_AVDATA_DATA_TYPE_INT = 1, LE_AVDATA_DATA_TYPE_FLOAT = 2, LE_AVDATA_DATA_TYPE_BOOL = 3,
  LE_AVDATA_DATA_TYPE_STRING = 4
}
 
enum  le_avdata_PushStatus_t { LE_AVDATA_PUSH_SUCCESS = 0, LE_AVDATA_PUSH_FAILED = 1 }
 
enum  le_avdata_SessionState_t { LE_AVDATA_SESSION_STARTED = 0, LE_AVDATA_SESSION_STOPPED = 1 }
 

Detailed Description

Type definitions for le_avdata.