syslog-ng source
python-options.h File Reference
#include "python-module.h"
Include dependency graph for python-options.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

PythonOption * python_option_string_new (const gchar *name, const gchar *value)
 
PythonOption * python_option_long_new (const gchar *name, gint64 value)
 
PythonOption * python_option_double_new (const gchar *name, gdouble value)
 
PythonOption * python_option_boolean_new (const gchar *name, gboolean value)
 
PythonOption * python_option_string_list_new (const gchar *name, const GList *value)
 
PythonOption * python_option_template_new (const gchar *name, const gchar *value)
 
PythonOption * python_option_ref (PythonOption *self)
 
void python_option_unref (PythonOption *self)
 
const gchar * python_option_get_name (const PythonOption *self)
 
PyObject * python_option_create_value_py_object (const PythonOption *self)
 
PythonOptions * python_options_new (void)
 
void python_options_add_option (PythonOptions *self, PythonOption *option)
 
PythonOptions * python_options_clone (const PythonOptions *self)
 
PyObject * python_options_create_py_dict (const PythonOptions *self)
 
void python_options_free (PythonOptions *self)
 

Function Documentation

◆ python_option_boolean_new()

PythonOption* python_option_boolean_new ( const gchar *  name,
gboolean  value 
)

◆ python_option_create_value_py_object()

PyObject* python_option_create_value_py_object ( const PythonOption *  self)

◆ python_option_double_new()

PythonOption* python_option_double_new ( const gchar *  name,
gdouble  value 
)

◆ python_option_get_name()

const gchar* python_option_get_name ( const PythonOption *  self)

◆ python_option_long_new()

PythonOption* python_option_long_new ( const gchar *  name,
gint64  value 
)

◆ python_option_ref()

PythonOption* python_option_ref ( PythonOption *  self)

◆ python_option_string_list_new()

PythonOption* python_option_string_list_new ( const gchar *  name,
const GList *  value 
)

◆ python_option_string_new()

PythonOption* python_option_string_new ( const gchar *  name,
const gchar *  value 
)

◆ python_option_template_new()

PythonOption* python_option_template_new ( const gchar *  name,
const gchar *  value 
)

◆ python_option_unref()

void python_option_unref ( PythonOption *  self)

◆ python_options_add_option()

void python_options_add_option ( PythonOptions *  self,
PythonOption *  option 
)

◆ python_options_clone()

PythonOptions* python_options_clone ( const PythonOptions *  self)

◆ python_options_create_py_dict()

PyObject* python_options_create_py_dict ( const PythonOptions *  self)

◆ python_options_free()

void python_options_free ( PythonOptions *  self)

◆ python_options_new()

PythonOptions* python_options_new ( void  )