LiVES  3.2.0
Macros | Enumerations | Functions
lsd-tab.h File Reference

Go to the source code of this file.

Macros

#define LIVES_STRUCT_FIRST   LIVES_STRUCT_CLIP_DATA_T
 

Enumerations

enum  lives_struct_type { LIVES_STRUCT_CLIP_DATA_T, LIVES_STRUCT_FILE_DETS_T, LIVES_N_STRUCTS }
 

Functions

const lives_struct_def_tget_lsd (lives_struct_type st_type)
 
void * struct_from_template (lives_struct_type st_type)
 
void * copy_struct (lives_struct_def_t *)
 
const char * lives_struct_get_creator (lives_struct_def_t *)
 
void unref_struct (lives_struct_def_t *)
 
void ref_struct (lives_struct_def_t *)
 
boolean lives_structs_equal (lives_struct_def_t *, lives_struct_def_t *)
 
boolean lives_struct_is_a (lives_struct_def_t *, const char *st_type)
 
boolean lives_structs_same_type (lives_struct_def_t *, lives_struct_def_t *)
 
uint64_t lsd_check_struct (lives_struct_def_t *)
 
uint64_t lsd_check_match (lives_struct_def_t *, lives_struct_def_t *)
 
char * weed_plant_to_header (weed_plant_t *, const char *tname)
 bonus functions More...
 

Macro Definition Documentation

◆ LIVES_STRUCT_FIRST

#define LIVES_STRUCT_FIRST   LIVES_STRUCT_CLIP_DATA_T

Definition at line 17 of file lsd-tab.h.

Enumeration Type Documentation

◆ lives_struct_type

Enumerator
LIVES_STRUCT_CLIP_DATA_T 
LIVES_STRUCT_FILE_DETS_T 
LIVES_N_STRUCTS 

Definition at line 11 of file lsd-tab.h.

Function Documentation

◆ copy_struct()

void* copy_struct ( lives_struct_def_t )

Definition at line 83 of file lsd-tab.c.

◆ get_lsd()

const lives_struct_def_t* get_lsd ( lives_struct_type  st_type)

Definition at line 23 of file lsd-tab.c.

Referenced by struct_from_template().

◆ lives_struct_get_creator()

const char* lives_struct_get_creator ( lives_struct_def_t )

Definition at line 99 of file lsd-tab.c.

◆ lives_struct_is_a()

boolean lives_struct_is_a ( lives_struct_def_t ,
const char *  st_type 
)

Definition at line 111 of file lsd-tab.c.

Referenced by lives_structs_same_type().

◆ lives_structs_equal()

boolean lives_structs_equal ( lives_struct_def_t ,
lives_struct_def_t  
)

Definition at line 105 of file lsd-tab.c.

◆ lives_structs_same_type()

boolean lives_structs_same_type ( lives_struct_def_t ,
lives_struct_def_t  
)

Definition at line 117 of file lsd-tab.c.

Referenced by lsd_check_match().

◆ lsd_check_match()

uint64_t lsd_check_match ( lives_struct_def_t ,
lives_struct_def_t  
)

TODO - check special_fields and self_fields

Definition at line 174 of file lsd-tab.c.

◆ lsd_check_struct()

uint64_t lsd_check_struct ( lives_struct_def_t )

Definition at line 131 of file lsd-tab.c.

◆ ref_struct()

void ref_struct ( lives_struct_def_t )

Definition at line 94 of file lsd-tab.c.

◆ struct_from_template()

void* struct_from_template ( lives_struct_type  st_type)

Definition at line 76 of file lsd-tab.c.

Referenced by _item_to_file_details(), and reload_clip().

◆ unref_struct()

void unref_struct ( lives_struct_def_t )

Definition at line 89 of file lsd-tab.c.

Referenced by reload_clip().

◆ weed_plant_to_header()

char* weed_plant_to_header ( weed_plant_t *  ,
const char *  tname 
)

bonus functions

Definition at line 222 of file lsd-tab.c.