Main Page | Modules | Class Hierarchy | Class List | Directories | File List | Class Members | File Members | Related Pages

interface.c File Reference

#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <vlc/vlc.h>
#include <vlc/input.h>
#include "audio_output.h"
#include "vlc_interface.h"
#include "vlc_video.h"
#include "video_output.h"

Go to the source code of this file.

Functions

intf_thread_t * __intf_Create (vlc_object_t *p_this, const char *psz_module)
int intf_RunThread (intf_thread_t *p_intf)
void intf_StopThread (intf_thread_t *p_intf)
void intf_Destroy (intf_thread_t *p_intf)
 Destroy the interface after the main loop endeed.


Detailed Description

This file contains functions related to interface management

Definition in file interface.c.


Function Documentation

intf_thread_t* __intf_Create vlc_object_t p_this,
const char *  psz_module
 

Create the interface, and prepare it for main loop.

Parameters:
p_this the calling vlc_object_t
psz_module a prefered interface module
Returns:
a pointer to the created interface thread, NULL on error

Definition at line 87 of file interface.c.

void intf_Destroy intf_thread_t *  p_intf  ) 
 

Destroy the interface after the main loop endeed.

Destroys interfaces and closes output devices

Parameters:
p_intf the interface thread
Returns:
nothing

Definition at line 248 of file interface.c.

Referenced by VLC_AddIntf(), and VLC_CleanUp().

int intf_RunThread intf_thread_t *  p_intf  ) 
 

Run the interface thread.

If b_block is not set, runs the interface in the thread, else, creates a new thread and runs the interface.

Parameters:
p_intf the interface thread
Returns:
VLC_SUCCESS on success, an error number else

Definition at line 142 of file interface.c.

Referenced by VLC_AddIntf().

void intf_StopThread intf_thread_t *  p_intf  ) 
 

Stops the interface thread

This function asks the interface thread to stop

Parameters:
p_intf the interface thread
Returns:
nothing

Definition at line 229 of file interface.c.

Referenced by VLC_CleanUp().


Generated on Tue Dec 20 10:15:02 2005 for vlc-0.8.4a by  doxygen 1.4.2