LMMS
Loading...
Searching...
No Matches
interposer-safe.cpp File Reference
#include "CarlaUtils.hpp"
#include <cerrno>
#include <dlfcn.h>
#include <sched.h>
#include <spawn.h>

Macros

#define PREVENTED_FUNC_MSG   carla_stderr2("Carla prevented a plugin from calling '%s', bad plugin!", __FUNCTION__)

Functions

CARLA_PLUGIN_EXPORT void gtk_init (int *, char ***)
CARLA_PLUGIN_EXPORT int gtk_init_check (int *, char ***)
CARLA_PLUGIN_EXPORT int gtk_init_with_args (int *, char ***, const char *, void *, const char *, void **)
CARLA_PLUGIN_EXPORT pid_t fork ()
CARLA_PLUGIN_EXPORT int clone (int(*)(void *), void *, int, void *,...)
CARLA_PLUGIN_EXPORT int posix_spawn (pid_t *, const char *, const posix_spawn_file_actions_t *, const posix_spawnattr_t *, char *const[], char *const[])
CARLA_PLUGIN_EXPORT int posix_spawnp (pid_t *, const char *, const posix_spawn_file_actions_t *, const posix_spawnattr_t *, char *const[], char *const[])
CARLA_PLUGIN_EXPORT void exit (int status)

Macro Definition Documentation

◆ PREVENTED_FUNC_MSG

#define PREVENTED_FUNC_MSG   carla_stderr2("Carla prevented a plugin from calling '%s', bad plugin!", __FUNCTION__)

Function Documentation

◆ clone()

CARLA_PLUGIN_EXPORT int clone ( int(*  )(void *),
void * ,
int ,
void * ,
... )

◆ exit()

CARLA_PLUGIN_EXPORT void exit ( int status)

◆ fork()

CARLA_PLUGIN_EXPORT pid_t fork ( )

◆ gtk_init()

CARLA_PLUGIN_EXPORT void gtk_init ( int * ,
char ***  )

◆ gtk_init_check()

CARLA_PLUGIN_EXPORT int gtk_init_check ( int * ,
char ***  )

◆ gtk_init_with_args()

CARLA_PLUGIN_EXPORT int gtk_init_with_args ( int * ,
char *** ,
const char * ,
void * ,
const char * ,
void **  )

◆ posix_spawn()

CARLA_PLUGIN_EXPORT int posix_spawn ( pid_t * ,
const char * ,
const posix_spawn_file_actions_t * ,
const posix_spawnattr_t * ,
char * const [],
char * const [] )

◆ posix_spawnp()

CARLA_PLUGIN_EXPORT int posix_spawnp ( pid_t * ,
const char * ,
const posix_spawn_file_actions_t * ,
const posix_spawnattr_t * ,
char * const [],
char * const [] )