extension_thread.c File Reference

Include dependency graph for extension_thread.c:


Data Structures

struct  thread_sys_t

Typedefs

typedef struct lua_State lua_State

Functions

static void * Run (void *data)
 Thread Run.
static void FreeCommands (struct command_t *command)
 Recursively drop and free commands starting from "command".
static int RemoveActivated (extensions_manager_t *p_mgr, extension_t *p_ext)
 Remove an extension from the activated list.
int Activate (extensions_manager_t *p_mgr, extension_t *p_ext)
 Activate an extension.
bool IsActivated (extensions_manager_t *p_mgr, extension_t *p_ext)
 Look for an extension in the activated extensions list.
int Deactivate (extensions_manager_t *p_mgr, extension_t *p_ext)
 Deactivate this extension: pushes immediate command and drops queued.
void WaitForDeactivation (extension_t *p_ext)
 Wait for an extension to finish.
int __PushCommand (extension_t *p_ext, bool b_unique, int i_command, va_list args)
 Push a UI command.

Typedef Documentation

typedef struct lua_State lua_State


Function Documentation

int __PushCommand ( extension_t p_ext,
bool  b_unique,
int  i_command,
va_list  args 
)

int Activate ( extensions_manager_t p_mgr,
extension_t p_ext 
)

int Deactivate ( extensions_manager_t p_mgr,
extension_t p_ext 
)

static void FreeCommands ( struct command_t command  )  [static]

Recursively drop and free commands starting from "command".

References CMD_ACTIVATE, CMD_CLICK, CMD_DEACTIVATE, CMD_PLAYING_CHANGED, CMD_TRIGGERMENU, and next().

Referenced by __PushCommand(), Deactivate(), and Run().

bool IsActivated ( extensions_manager_t p_mgr,
extension_t p_ext 
)

static int RemoveActivated ( extensions_manager_t p_mgr,
extension_t p_ext 
) [static]

static void * Run ( void *  data  )  [static]

void WaitForDeactivation ( extension_t p_ext  ) 

Wait for an extension to finish.

References extension_t::p_sys, extension_sys_t::thread, and vlc_join().

Referenced by Close_Extension().


Generated on Tue May 25 08:05:25 2010 for VLC by  doxygen 1.5.6