LV2  1.0.13
Data Structures | Macros | Typedefs | Enumerations
state.h File Reference

Data Structures

struct  LV2_State_Interface
 
struct  LV2_State_Map_Path
 
struct  LV2_State_Make_Path
 

Macros

#define LV2_STATE_URI   "http://lv2plug.in/ns/ext/state"
 
#define LV2_STATE_PREFIX   LV2_STATE_URI "#"
 
#define LV2_STATE__State   LV2_STATE_PREFIX "State"
 
#define LV2_STATE__interface   LV2_STATE_PREFIX "interface"
 
#define LV2_STATE__loadDefaultState   LV2_STATE_PREFIX "loadDefaultState"
 
#define LV2_STATE__makePath   LV2_STATE_PREFIX "makePath"
 
#define LV2_STATE__mapPath   LV2_STATE_PREFIX "mapPath"
 
#define LV2_STATE__state   LV2_STATE_PREFIX "state"
 

Typedefs

typedef void * LV2_State_Handle
 
typedef void * LV2_State_Map_Path_Handle
 
typedef void * LV2_State_Make_Path_Handle
 
typedef LV2_State_Status(* LV2_State_Store_Function) (LV2_State_Handle handle, uint32_t key, const void *value, size_t size, uint32_t type, uint32_t flags)
 
typedef const void *(* LV2_State_Retrieve_Function) (LV2_State_Handle handle, uint32_t key, size_t *size, uint32_t *type, uint32_t *flags)
 

Enumerations

enum  LV2_State_Flags { LV2_STATE_IS_POD = 1, LV2_STATE_IS_PORTABLE = 1 << 1, LV2_STATE_IS_NATIVE = 1 << 2 }
 
enum  LV2_State_Status {
  LV2_STATE_SUCCESS = 0, LV2_STATE_ERR_UNKNOWN = 1, LV2_STATE_ERR_BAD_TYPE = 2, LV2_STATE_ERR_BAD_FLAGS = 3,
  LV2_STATE_ERR_NO_FEATURE = 4, LV2_STATE_ERR_NO_PROPERTY = 5
}