MLT
7.28.0
|
Properties class definition. More...
#include "mlt_properties.h"
#include "mlt_deque.h"
#include "mlt_factory.h"
#include "mlt_log.h"
#include "mlt_property.h"
#include <ctype.h>
#include <dirent.h>
#include <errno.h>
#include <float.h>
#include <locale.h>
#include <pthread.h>
#include <stdarg.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/stat.h>
#include <sys/types.h>
Data Structures | |
struct | property_list |
private implementation of the property list More... | |
struct | strbuf_s |
Private to mlt_properties_s, a self-growing buffer for building strings. More... | |
struct | yaml_parser_context |
YAML Tiny Parser context structure. More... | |
Macros | |
#define | _GNU_SOURCE |
#define | MAX_LOAD_LINE_SIZE 4096 |
#define | STRBUF_GROWTH (1024) |
How many bytes to grow at a time. More... | |
Typedefs | |
typedef struct strbuf_s * | strbuf |
typedef struct yaml_parser_context * | yaml_parser |
Functions | |
static void | fire_property_changed (mlt_properties self, const char *name) |
static int | has_reserved_char (const char *string) |
static int | is_valid_expression (mlt_properties self, const char *value) |
static int | load_properties (mlt_properties self, const char *filename) |
static unsigned int | ltrim (char **s) |
Remove spaces from the left side of a string. More... | |
static unsigned int | rtrim (char *s) |
Remove spaces from the right side of a string. More... | |
static void | strbuf_escape (strbuf output, const char *value, char c) |
Properties class definition.
Copyright (C) 2003-2023 Meltytech, LLC
This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
#define _GNU_SOURCE |
#define MAX_LOAD_LINE_SIZE 4096 |
#define STRBUF_GROWTH (1024) |
How many bytes to grow at a time.
typedef struct yaml_parser_context* yaml_parser |
|
static |
|
inlinestatic |
|
static |
|
static |
|
static |
Remove spaces from the left side of a string.
s | the string to trim |
|
static |
Remove spaces from the right side of a string.
s | the string to trim |
|
static |