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.c File Reference

Go to the source code of this file.

Functions

static int basename_no_ext (const char *in, char **out)
 Extracts the filename without extension from a path. More...
 
void remmina_plugin_python_init (void)
 Initializes the Python plugin loaders. More...
 
gboolean remmina_plugin_python_load (RemminaPluginService *service, const char *name)
 

Variables

static const char * python_init_commands []
 An null terminated array of commands that are executed after the initialization of the Python engine. More...
 

Function Documentation

◆ basename_no_ext()

static int basename_no_ext ( const char *  in,
char **  out 
)
static

Extracts the filename without extension from a path.

Parameters
inThe string to extract the filename from
outThe resulting filename without extension (must point to allocated memory).
Returns
The length of the filename extracted.

Definition at line 69 of file remmina_plugin_python.c.

◆ remmina_plugin_python_init()

void remmina_plugin_python_init ( void  )

Initializes the Python plugin loaders.

This does not load any plugins but initializes the implementation (e.g. globals and the Python engine).

Definition at line 104 of file remmina_plugin_python.c.

◆ remmina_plugin_python_load()

gboolean remmina_plugin_python_load ( RemminaPluginService service,
const char *  name 
)

Definition at line 119 of file remmina_plugin_python.c.

Variable Documentation

◆ python_init_commands

const char* python_init_commands[]
static
Initial value:
= { "import sys", "sys.path.append('" REMMINA_RUNTIME_PLUGINDIR "')", NULL
}

An null terminated array of commands that are executed after the initialization of the Python engine.

Every entry represents a line of Python code.

Definition at line 54 of file remmina_plugin_python.c.