Remmina - The GTK+ Remote Desktop Client  v1.4.25
Remmina is a remote desktop client written in GTK+, aiming to be useful for system administrators and travellers, who need to work with lots of remote computers in front of either large monitors or tiny netbooks. Remmina supports multiple network protocols in an integrated and consistent user interface. Currently RDP, VNC, NX, XDMCP and SSH are supported.
remmina_plugin_python_remmina.c File Reference

Go to the source code of this file.

Data Structures

struct  PyRemminaProtocolSetting
 Adapter struct to handle Remmina protocol settings. More...
 

Functions

gboolean remmina_plugin_python_check_mandatory_member (PyObject *instance, const gchar *member)
 Util function to check if a specific member is define in a Python object. More...
 
static PyObject * remmina_plugin_python_debug_wrapper (PyObject *self, PyObject *msg)
 
static PyObject * remmina_register_plugin_wrapper (PyObject *self, PyObject *plugin)
 
static PyObject * remmina_file_get_datadir_wrapper (PyObject *self, PyObject *plugin)
 
static PyObject * remmina_file_new_wrapper (PyObject *self, PyObject *args, PyObject *kwargs)
 
static PyObject * remmina_pref_set_value_wrapper (PyObject *self, PyObject *args, PyObject *kwargs)
 
static PyObject * remmina_pref_get_value_wrapper (PyObject *self, PyObject *args, PyObject *kwargs)
 
static PyObject * remmina_pref_get_scale_quality_wrapper (PyObject *self, PyObject *plugin)
 
static PyObject * remmina_pref_get_sshtunnel_port_wrapper (PyObject *self, PyObject *plugin)
 
static PyObject * remmina_pref_get_ssh_loglevel_wrapper (PyObject *self, PyObject *plugin)
 
static PyObject * remmina_pref_get_ssh_parseconfig_wrapper (PyObject *self, PyObject *plugin)
 
static PyObject * remmina_pref_keymap_get_keyval_wrapper (PyObject *self, PyObject *args, PyObject *kwargs)
 
static PyObject * remmina_plugin_python_log_print_wrapper (PyObject *self, PyObject *arg)
 
static PyObject * remmina_widget_pool_register_wrapper (PyObject *self, PyObject *args, PyObject *kwargs)
 
static PyObject * rcw_open_from_file_full_wrapper (PyObject *self, PyObject *args, PyObject *kwargs)
 
static PyObject * remmina_public_get_server_port_wrapper (PyObject *self, PyObject *args, PyObject *kwargs)
 
static PyObject * remmina_masterthread_exec_is_main_thread_wrapper (PyObject *self, PyObject *plugin)
 
static PyObject * remmina_gtksocket_available_wrapper (PyObject *self, PyObject *plugin)
 
static PyObject * remmina_protocol_widget_get_profile_remote_height_wrapper (PyObject *self, PyObject *args, PyObject *kwargs)
 
static PyObject * remmina_protocol_widget_get_profile_remote_width_wrapper (PyObject *self, PyObject *args, PyObject *kwargs)
 
static PyObject * remmina_plugin_python_show_dialog_wrapper (PyObject *self, PyObject *args, PyObject *kwargs)
 
static PyObject * remmina_plugin_python_get_mainwindow_wrapper (PyObject *self, PyObject *args)
 
static PyObject * remmina_protocol_plugin_signal_connection_opened_wrapper (PyObject *self, PyObject *args)
 
static PyObject * remmina_protocol_plugin_signal_connection_closed_wrapper (PyObject *self, PyObject *args)
 
static PyObject * remmina_protocol_plugin_init_auth_wrapper (PyObject *self, PyObject *args, PyObject *kwargs)
 
static PyObject * python_protocol_setting_new (PyTypeObject *type, PyObject *args, PyObject *kwargs)
 Initializes the memory and the fields of the remmina.Setting Python type. More...
 
static int python_protocol_setting_init (PyRemminaProtocolSetting *self, PyObject *args, PyObject *kwargs)
 Constructor of the remmina.Setting Python type. More...
 
PyObject * python_protocol_feature_new (PyTypeObject *type, PyObject *kws, PyObject *args)
 
static int python_protocol_feature_init (PyRemminaProtocolFeature *self, PyObject *args, PyObject *kwargs)
 
PyRemminaProtocolFeatureremmina_plugin_python_protocol_feature_new (void)
 
PyObject * python_screenshot_data_new (PyTypeObject *type, PyObject *kws, PyObject *args)
 
static int python_screenshot_data_init (PyRemminaPluginScreenshotData *self, PyObject *args, PyObject *kwargs)
 
PyRemminaPluginScreenshotDataremmina_plugin_python_screenshot_data_new (void)
 
static PyObject * remmina_plugin_python_generic_to_int (PyGeneric *self, PyObject *args)
 
static PyObject * remmina_plugin_python_generic_to_bool (PyGeneric *self, PyObject *args)
 
static PyObject * remmina_plugin_python_generic_to_string (PyGeneric *self, PyObject *args)
 
static void remmina_plugin_python_generic_dealloc (PyObject *self)
 
PyObject * remmina_plugin_python_generic_type_new (PyTypeObject *type, PyObject *kws, PyObject *args)
 
static int remmina_plugin_python_generic_init (PyGeneric *self, PyObject *args, PyObject *kwargs)
 
PyGenericremmina_plugin_python_generic_new (void)
 Creates a new instance of PyGeneric. More...
 
PyMODINIT_FUNC remmina_plugin_python_module_initialize (void)
 Is called from the Python engine when it initializes the 'remmina' module. More...
 
void remmina_plugin_python_module_init (void)
 Initializes all globals and registers the 'remmina' module in the Python engine. More...
 
void remmina_plugin_python_to_protocol_setting (RemminaProtocolSetting *dest, PyObject *setting)
 Converts the PyObject to RemminaProtocolSetting. More...
 
void remmina_plugin_python_to_protocol_feature (RemminaProtocolFeature *dest, PyObject *feature)
 Converts the PyObject to RemminaProtocolFeature. More...
 

Variables

static PyMethodDef remmina_python_module_type_methods []
 Declares functions for the Remmina module. More...
 
static PyModuleDef remmina_python_module_type
 The definition of the Python module 'remmina'. More...
 
static PyMemberDef python_protocol_setting_type_members []
 
static PyTypeObject python_protocol_setting_type
 
static PyMemberDef python_protocol_feature_members []
 
static PyTypeObject python_protocol_feature_type
 
static PyMemberDef python_screenshot_data_members []
 
static PyTypeObject python_screenshot_data_type
 
static PyMethodDef remmina_plugin_python_generic_methods []
 
static PyMemberDef remmina_plugin_python_generic_members []
 
static PyTypeObject python_generic_type
 

Function Documentation

◆ python_protocol_feature_init()

static int python_protocol_feature_init ( PyRemminaProtocolFeature self,
PyObject *  args,
PyObject *  kwargs 
)
static

Definition at line 394 of file remmina_plugin_python_remmina.c.

◆ python_protocol_feature_new()

PyObject* python_protocol_feature_new ( PyTypeObject *  type,
PyObject *  kws,
PyObject *  args 
)

Definition at line 370 of file remmina_plugin_python_remmina.c.

◆ python_protocol_setting_init()

static int python_protocol_setting_init ( PyRemminaProtocolSetting self,
PyObject *  args,
PyObject *  kwargs 
)
static

Constructor of the remmina.Setting Python type.

This function is callback for the Python engine.

Definition at line 289 of file remmina_plugin_python_remmina.c.

◆ python_protocol_setting_new()

static PyObject* python_protocol_setting_new ( PyTypeObject *  type,
PyObject *  args,
PyObject *  kwargs 
)
static

Initializes the memory and the fields of the remmina.Setting Python type.

This function is callback for the Python engine.

Definition at line 264 of file remmina_plugin_python_remmina.c.

◆ python_screenshot_data_init()

static int python_screenshot_data_init ( PyRemminaPluginScreenshotData self,
PyObject *  args,
PyObject *  kwargs 
)
static

Definition at line 467 of file remmina_plugin_python_remmina.c.

◆ python_screenshot_data_new()

PyObject* python_screenshot_data_new ( PyTypeObject *  type,
PyObject *  kws,
PyObject *  args 
)

Definition at line 449 of file remmina_plugin_python_remmina.c.

◆ rcw_open_from_file_full_wrapper()

static PyObject * rcw_open_from_file_full_wrapper ( PyObject *  self,
PyObject *  args,
PyObject *  kwargs 
)
static

Definition at line 1013 of file remmina_plugin_python_remmina.c.

◆ remmina_file_get_datadir_wrapper()

static PyObject * remmina_file_get_datadir_wrapper ( PyObject *  self,
PyObject *  plugin 
)
static

Definition at line 833 of file remmina_plugin_python_remmina.c.

◆ remmina_file_new_wrapper()

static PyObject * remmina_file_new_wrapper ( PyObject *  self,
PyObject *  args,
PyObject *  kwargs 
)
static

Definition at line 849 of file remmina_plugin_python_remmina.c.

◆ remmina_gtksocket_available_wrapper()

static PyObject * remmina_gtksocket_available_wrapper ( PyObject *  self,
PyObject *  plugin 
)
static

Definition at line 1059 of file remmina_plugin_python_remmina.c.

◆ remmina_masterthread_exec_is_main_thread_wrapper()

static PyObject * remmina_masterthread_exec_is_main_thread_wrapper ( PyObject *  self,
PyObject *  plugin 
)
static

Definition at line 1052 of file remmina_plugin_python_remmina.c.

◆ remmina_plugin_python_check_mandatory_member()

gboolean remmina_plugin_python_check_mandatory_member ( PyObject *  instance,
const gchar *  member 
)

Util function to check if a specific member is define in a Python object.

Definition at line 749 of file remmina_plugin_python_remmina.c.

◆ remmina_plugin_python_debug_wrapper()

static PyObject * remmina_plugin_python_debug_wrapper ( PyObject *  self,
PyObject *  msg 
)
static

Definition at line 984 of file remmina_plugin_python_remmina.c.

◆ remmina_plugin_python_generic_dealloc()

static void remmina_plugin_python_generic_dealloc ( PyObject *  self)
static

Definition at line 502 of file remmina_plugin_python_remmina.c.

◆ remmina_plugin_python_generic_init()

static int remmina_plugin_python_generic_init ( PyGeneric self,
PyObject *  args,
PyObject *  kwargs 
)
static

Definition at line 533 of file remmina_plugin_python_remmina.c.

◆ remmina_plugin_python_generic_new()

PyGeneric* remmina_plugin_python_generic_new ( void  )

Creates a new instance of PyGeneric.

Definition at line 559 of file remmina_plugin_python_remmina.c.

◆ remmina_plugin_python_generic_to_bool()

static PyObject * remmina_plugin_python_generic_to_bool ( PyGeneric self,
PyObject *  args 
)
static

Definition at line 586 of file remmina_plugin_python_remmina.c.

◆ remmina_plugin_python_generic_to_int()

static PyObject * remmina_plugin_python_generic_to_int ( PyGeneric self,
PyObject *  args 
)
static

Definition at line 567 of file remmina_plugin_python_remmina.c.

◆ remmina_plugin_python_generic_to_string()

static PyObject * remmina_plugin_python_generic_to_string ( PyGeneric self,
PyObject *  args 
)
static

Definition at line 601 of file remmina_plugin_python_remmina.c.

◆ remmina_plugin_python_generic_type_new()

PyObject* remmina_plugin_python_generic_type_new ( PyTypeObject *  type,
PyObject *  kws,
PyObject *  args 
)

Definition at line 519 of file remmina_plugin_python_remmina.c.

◆ remmina_plugin_python_get_mainwindow_wrapper()

PyObject * remmina_plugin_python_get_mainwindow_wrapper ( PyObject *  self,
PyObject *  args 
)
static

Definition at line 1149 of file remmina_plugin_python_remmina.c.

◆ remmina_plugin_python_log_print_wrapper()

static PyObject * remmina_plugin_python_log_print_wrapper ( PyObject *  self,
PyObject *  arg 
)
static

Definition at line 970 of file remmina_plugin_python_remmina.c.

◆ remmina_plugin_python_module_init()

void remmina_plugin_python_module_init ( void  )

Initializes all globals and registers the 'remmina' module in the Python engine.

Initializes the 'remmina' module in the Python engine.

This

Definition at line 731 of file remmina_plugin_python_remmina.c.

◆ remmina_plugin_python_module_initialize()

PyMODINIT_FUNC remmina_plugin_python_module_initialize ( void  )

Is called from the Python engine when it initializes the 'remmina' module.

This function is only called by the Python engine!

Definition at line 621 of file remmina_plugin_python_remmina.c.

◆ remmina_plugin_python_protocol_feature_new()

PyRemminaProtocolFeature* remmina_plugin_python_protocol_feature_new ( void  )
Returns

Definition at line 419 of file remmina_plugin_python_remmina.c.

◆ remmina_plugin_python_screenshot_data_new()

PyRemminaPluginScreenshotData* remmina_plugin_python_screenshot_data_new ( void  )
Returns

Definition at line 486 of file remmina_plugin_python_remmina.c.

◆ remmina_plugin_python_show_dialog_wrapper()

PyObject * remmina_plugin_python_show_dialog_wrapper ( PyObject *  self,
PyObject *  args,
PyObject *  kwargs 
)
static

Definition at line 1130 of file remmina_plugin_python_remmina.c.

◆ remmina_plugin_python_to_protocol_feature()

void remmina_plugin_python_to_protocol_feature ( RemminaProtocolFeature dest,
PyObject *  feature 
)

Converts the PyObject to RemminaProtocolFeature.

Parameters
destA target for the converted value.
settingThe source value to convert.

Definition at line 1114 of file remmina_plugin_python_remmina.c.

◆ remmina_plugin_python_to_protocol_setting()

void remmina_plugin_python_to_protocol_setting ( RemminaProtocolSetting dest,
PyObject *  setting 
)

Converts the PyObject to RemminaProtocolSetting.

Parameters
destA target for the converted value.
settingThe source value to convert.

Definition at line 1098 of file remmina_plugin_python_remmina.c.

◆ remmina_pref_get_scale_quality_wrapper()

static PyObject * remmina_pref_get_scale_quality_wrapper ( PyObject *  self,
PyObject *  plugin 
)
static

Definition at line 910 of file remmina_plugin_python_remmina.c.

◆ remmina_pref_get_ssh_loglevel_wrapper()

static PyObject * remmina_pref_get_ssh_loglevel_wrapper ( PyObject *  self,
PyObject *  plugin 
)
static

Definition at line 928 of file remmina_plugin_python_remmina.c.

◆ remmina_pref_get_ssh_parseconfig_wrapper()

static PyObject * remmina_pref_get_ssh_parseconfig_wrapper ( PyObject *  self,
PyObject *  plugin 
)
static

Definition at line 937 of file remmina_plugin_python_remmina.c.

◆ remmina_pref_get_sshtunnel_port_wrapper()

static PyObject * remmina_pref_get_sshtunnel_port_wrapper ( PyObject *  self,
PyObject *  plugin 
)
static

Definition at line 919 of file remmina_plugin_python_remmina.c.

◆ remmina_pref_get_value_wrapper()

static PyObject * remmina_pref_get_value_wrapper ( PyObject *  self,
PyObject *  args,
PyObject *  kwargs 
)
static

Definition at line 884 of file remmina_plugin_python_remmina.c.

◆ remmina_pref_keymap_get_keyval_wrapper()

static PyObject * remmina_pref_keymap_get_keyval_wrapper ( PyObject *  self,
PyObject *  args,
PyObject *  kwargs 
)
static

Definition at line 946 of file remmina_plugin_python_remmina.c.

◆ remmina_pref_set_value_wrapper()

static PyObject * remmina_pref_set_value_wrapper ( PyObject *  self,
PyObject *  args,
PyObject *  kwargs 
)
static

Definition at line 863 of file remmina_plugin_python_remmina.c.

◆ remmina_protocol_plugin_init_auth_wrapper()

static PyObject * remmina_protocol_plugin_init_auth_wrapper ( PyObject *  self,
PyObject *  args,
PyObject *  kwargs 
)
static

Definition at line 1178 of file remmina_plugin_python_remmina.c.

◆ remmina_protocol_plugin_signal_connection_closed_wrapper()

static PyObject * remmina_protocol_plugin_signal_connection_closed_wrapper ( PyObject *  self,
PyObject *  args 
)
static

Definition at line 1163 of file remmina_plugin_python_remmina.c.

◆ remmina_protocol_plugin_signal_connection_opened_wrapper()

static PyObject * remmina_protocol_plugin_signal_connection_opened_wrapper ( PyObject *  self,
PyObject *  args 
)
static

Definition at line 1214 of file remmina_plugin_python_remmina.c.

◆ remmina_protocol_widget_get_profile_remote_height_wrapper()

static PyObject * remmina_protocol_widget_get_profile_remote_height_wrapper ( PyObject *  self,
PyObject *  args,
PyObject *  kwargs 
)
static

Definition at line 1067 of file remmina_plugin_python_remmina.c.

◆ remmina_protocol_widget_get_profile_remote_width_wrapper()

static PyObject * remmina_protocol_widget_get_profile_remote_width_wrapper ( PyObject *  self,
PyObject *  args,
PyObject *  kwargs 
)
static

Definition at line 1083 of file remmina_plugin_python_remmina.c.

◆ remmina_public_get_server_port_wrapper()

static PyObject * remmina_public_get_server_port_wrapper ( PyObject *  self,
PyObject *  args,
PyObject *  kwargs 
)
static

Definition at line 1029 of file remmina_plugin_python_remmina.c.

◆ remmina_register_plugin_wrapper()

static PyObject * remmina_register_plugin_wrapper ( PyObject *  self,
PyObject *  plugin 
)
static

Definition at line 762 of file remmina_plugin_python_remmina.c.

◆ remmina_widget_pool_register_wrapper()

static PyObject * remmina_widget_pool_register_wrapper ( PyObject *  self,
PyObject *  args,
PyObject *  kwargs 
)
static

Definition at line 998 of file remmina_plugin_python_remmina.c.

Variable Documentation

◆ python_generic_type

PyTypeObject python_generic_type
static
Initial value:
= {
PyVarObject_HEAD_INIT(NULL, 0)
.tp_name = "remmina.Generic",
.tp_doc = "",
.tp_basicsize = sizeof(PyGeneric),
.tp_itemsize = 0,
.tp_flags = Py_TPFLAGS_DEFAULT,
.tp_init = (initproc)remmina_plugin_python_generic_init,
}
PyObject * remmina_plugin_python_generic_type_new(PyTypeObject *type, PyObject *kws, PyObject *args)
A struct used to communicate data between Python and C without strict data type.
static void remmina_plugin_python_generic_dealloc(PyObject *self)
static PyMethodDef remmina_plugin_python_generic_methods[]
static int remmina_plugin_python_generic_init(PyGeneric *self, PyObject *args, PyObject *kwargs)
static PyMemberDef remmina_plugin_python_generic_members[]

Definition at line 545 of file remmina_plugin_python_remmina.c.

◆ python_protocol_feature_members

PyMemberDef python_protocol_feature_members[]
static
Initial value:
= {
{ "type", T_INT, offsetof(PyRemminaProtocolFeature, type), 0, NULL },
{ "id", T_INT, offsetof(PyRemminaProtocolFeature, id), 0, NULL },
{ "opt1", T_OBJECT, offsetof(PyRemminaProtocolFeature, opt1), 0, NULL },
{ "opt2", T_OBJECT, offsetof(PyRemminaProtocolFeature, opt2), 0, NULL },
{ "opt3", T_OBJECT, offsetof(PyRemminaProtocolFeature, opt3), 0, NULL },
{ NULL }
}
Wrapper for a Python object that contains a pointer to an instance of RemminaProtocolFeature.

Definition at line 361 of file remmina_plugin_python_remmina.c.

◆ python_protocol_feature_type

PyTypeObject python_protocol_feature_type
static
Initial value:
= {
PyVarObject_HEAD_INIT(NULL, 0)
.tp_name = "remmina.ProtocolFeature",
.tp_doc = "Remmina Setting information",
.tp_basicsize = sizeof(PyRemminaProtocolFeature),
.tp_itemsize = 0,
.tp_flags = Py_TPFLAGS_DEFAULT,
.tp_init = (initproc)python_protocol_feature_init,
}
Wrapper for a Python object that contains a pointer to an instance of RemminaProtocolFeature.
static PyMemberDef python_protocol_feature_members[]
PyObject * python_protocol_feature_new(PyTypeObject *type, PyObject *kws, PyObject *args)
static int python_protocol_feature_init(PyRemminaProtocolFeature *self, PyObject *args, PyObject *kwargs)

Definition at line 407 of file remmina_plugin_python_remmina.c.

◆ python_protocol_setting_type

PyTypeObject python_protocol_setting_type
static
Initial value:
= {
PyVarObject_HEAD_INIT(NULL, 0)
.tp_name = "remmina.Setting",
.tp_doc = "Remmina Setting information",
.tp_basicsize = sizeof(PyRemminaProtocolSetting),
.tp_itemsize = 0,
.tp_flags = Py_TPFLAGS_DEFAULT,
.tp_init = (initproc)python_protocol_setting_init,
}
static int python_protocol_setting_init(PyRemminaProtocolSetting *self, PyObject *args, PyObject *kwargs)
Constructor of the remmina.Setting Python type.
static PyObject * python_protocol_setting_new(PyTypeObject *type, PyObject *args, PyObject *kwargs)
Initializes the memory and the fields of the remmina.Setting Python type.
Adapter struct to handle Remmina protocol settings.
static PyMemberDef python_protocol_setting_type_members[]

Definition at line 346 of file remmina_plugin_python_remmina.c.

◆ python_protocol_setting_type_members

PyMemberDef python_protocol_setting_type_members[]
static
Initial value:
= {
{ "settingType", offsetof(PyRemminaProtocolSetting, settingType), T_INT, 0, NULL },
{ "name", offsetof(PyRemminaProtocolSetting, name), T_STRING, 0, NULL },
{ "label", offsetof(PyRemminaProtocolSetting, label), T_STRING, 0, NULL },
{ "compact", offsetof(PyRemminaProtocolSetting, compact), T_BOOL, 0, NULL },
{ "opt1", offsetof(PyRemminaProtocolSetting, opt1), T_OBJECT, 0, NULL },
{ "opt2", offsetof(PyRemminaProtocolSetting, opt2), T_OBJECT, 0, NULL },
{ NULL }
}
Adapter struct to handle Remmina protocol settings.

Definition at line 336 of file remmina_plugin_python_remmina.c.

◆ python_screenshot_data_members

PyMemberDef python_screenshot_data_members[]
static
Initial value:
= {
{ "buffer", T_OBJECT, offsetof(PyRemminaPluginScreenshotData, buffer), 0, NULL },
{ "width", T_INT, offsetof(PyRemminaPluginScreenshotData, width), 0, NULL },
{ "height", T_INT, offsetof(PyRemminaPluginScreenshotData, height), 0, NULL },
{ "bitsPerPixel", T_INT, offsetof(PyRemminaPluginScreenshotData, bitsPerPixel), 0, NULL },
{ "bytesPerPixel", T_INT, offsetof(PyRemminaPluginScreenshotData, bytesPerPixel), 0, NULL },
{ NULL }
}

Definition at line 440 of file remmina_plugin_python_remmina.c.

◆ python_screenshot_data_type

PyTypeObject python_screenshot_data_type
static
Initial value:
= {
PyVarObject_HEAD_INIT(NULL, 0)
.tp_name = "remmina.RemminaScreenshotData",
.tp_doc = "Remmina Screenshot Data",
.tp_basicsize = sizeof(PyRemminaPluginScreenshotData),
.tp_itemsize = 0,
.tp_flags = Py_TPFLAGS_DEFAULT,
.tp_init = (initproc)python_screenshot_data_init,
}
PyObject * python_screenshot_data_new(PyTypeObject *type, PyObject *kws, PyObject *args)
static int python_screenshot_data_init(PyRemminaPluginScreenshotData *self, PyObject *args, PyObject *kwargs)
static PyMemberDef python_screenshot_data_members[]

Definition at line 475 of file remmina_plugin_python_remmina.c.

◆ remmina_plugin_python_generic_members

PyMemberDef remmina_plugin_python_generic_members[]
static
Initial value:
= {
{ "raw", T_OBJECT, offsetof(PyGeneric, raw), 0, "" },
{ NULL }
}
A struct used to communicate data between Python and C without strict data type.

Definition at line 514 of file remmina_plugin_python_remmina.c.

◆ remmina_plugin_python_generic_methods

PyMethodDef remmina_plugin_python_generic_methods[]
static
Initial value:
= {
{ "to_int", (PyCFunction)remmina_plugin_python_generic_to_int, METH_NOARGS, "" },
{ "to_bool", (PyCFunction)remmina_plugin_python_generic_to_bool, METH_NOARGS, "" },
{ "to_string", (PyCFunction)remmina_plugin_python_generic_to_string, METH_NOARGS, "" },
{ NULL }
}
static PyObject * remmina_plugin_python_generic_to_bool(PyGeneric *self, PyObject *args)
static PyObject * remmina_plugin_python_generic_to_int(PyGeneric *self, PyObject *args)
static PyObject * remmina_plugin_python_generic_to_string(PyGeneric *self, PyObject *args)

Definition at line 507 of file remmina_plugin_python_remmina.c.

◆ remmina_python_module_type

PyModuleDef remmina_python_module_type
static
Initial value:
= {
PyModuleDef_HEAD_INIT,
.m_name = "remmina",
.m_doc = "Remmina API.",
.m_size = -1,
}
static PyMethodDef remmina_python_module_type_methods[]
Declares functions for the Remmina module.

The definition of the Python module 'remmina'.

Definition at line 250 of file remmina_plugin_python_remmina.c.

◆ remmina_python_module_type_methods

PyMethodDef remmina_python_module_type_methods[]
static

Declares functions for the Remmina module.

These functions can be called from Python and are wired to one of the functions here in this file.

Definition at line 109 of file remmina_plugin_python_remmina.c.