mlt 0.7.6

mlt_properties.h

Go to the documentation of this file.
00001 
00025 #ifndef _MLT_PROPERTIES_H_
00026 #define _MLT_PROPERTIES_H_
00027 
00028 #include "mlt_types.h"
00029 #include "mlt_events.h"
00030 #include <stdio.h>
00031 
00038 struct mlt_properties_s
00039 {
00040     void *child; 
00041     void *local; 
00044     mlt_destructor close;
00045     void *close_object;  
00046 };
00047 
00048 extern int mlt_properties_init( mlt_properties, void *child );
00049 extern mlt_properties mlt_properties_new( );
00050 extern int mlt_properties_set_lcnumeric( mlt_properties, const char *locale );
00051 extern const char* mlt_properties_get_lcnumeric( mlt_properties self );
00052 extern mlt_properties mlt_properties_load( const char *file );
00053 extern int mlt_properties_preset( mlt_properties self, const char *name );
00054 extern int mlt_properties_inc_ref( mlt_properties self );
00055 extern int mlt_properties_dec_ref( mlt_properties self );
00056 extern int mlt_properties_ref_count( mlt_properties self );
00057 extern void mlt_properties_mirror( mlt_properties self, mlt_properties that );
00058 extern int mlt_properties_inherit( mlt_properties self, mlt_properties that );
00059 extern int mlt_properties_pass( mlt_properties self, mlt_properties that, const char *prefix );
00060 extern void mlt_properties_pass_property( mlt_properties self, mlt_properties that, const char *name );
00061 extern int mlt_properties_pass_list( mlt_properties self, mlt_properties that, const char *list );
00062 extern int mlt_properties_set( mlt_properties self, const char *name, const char *value );
00063 extern int mlt_properties_set_or_default( mlt_properties self, const char *name, const char *value, const char *def );
00064 extern int mlt_properties_parse( mlt_properties self, const char *namevalue );
00065 extern char *mlt_properties_get( mlt_properties self, const char *name );
00066 extern char *mlt_properties_get_name( mlt_properties self, int index );
00067 extern char *mlt_properties_get_value( mlt_properties self, int index );
00068 extern void *mlt_properties_get_data_at( mlt_properties self, int index, int *size );
00069 extern int mlt_properties_get_int( mlt_properties self, const char *name );
00070 extern int mlt_properties_set_int( mlt_properties self, const char *name, int value );
00071 extern int64_t mlt_properties_get_int64( mlt_properties self, const char *name );
00072 extern int mlt_properties_set_int64( mlt_properties self, const char *name, int64_t value );
00073 extern double mlt_properties_get_double( mlt_properties self, const char *name );
00074 extern int mlt_properties_set_double( mlt_properties self, const char *name, double value );
00075 extern mlt_position mlt_properties_get_position( mlt_properties self, const char *name );
00076 extern int mlt_properties_set_position( mlt_properties self, const char *name, mlt_position value );
00077 extern int mlt_properties_set_data( mlt_properties self, const char *name, void *value, int length, mlt_destructor, mlt_serialiser );
00078 extern void *mlt_properties_get_data( mlt_properties self, const char *name, int *length );
00079 extern int mlt_properties_rename( mlt_properties self, const char *source, const char *dest );
00080 extern int mlt_properties_count( mlt_properties self );
00081 extern void mlt_properties_dump( mlt_properties self, FILE *output );
00082 extern void mlt_properties_debug( mlt_properties self, const char *title, FILE *output );
00083 extern int mlt_properties_save( mlt_properties, const char * );
00084 extern int mlt_properties_dir_list( mlt_properties, const char *, const char *, int );
00085 extern void mlt_properties_close( mlt_properties self );
00086 extern int mlt_properties_is_sequence( mlt_properties self );
00087 extern mlt_properties mlt_properties_parse_yaml( const char *file );
00088 extern char *mlt_properties_serialise_yaml( mlt_properties self );
00089 extern void mlt_properties_lock( mlt_properties self );
00090 extern void mlt_properties_unlock( mlt_properties self );
00091 
00092 #endif
TWiki Appliance - Powered by TurnKey Linux