Functions | Variables

vlc_gcrypt.h File Reference

This file implements gcrypt support functions in vlc. More...

Include dependency graph for vlc_gcrypt.h:

Go to the source code of this file.

Functions

static int gcry_vlc_mutex_init (void **p_sys)
 gcrypt thread option VLC implementation
static int gcry_vlc_mutex_destroy (void **p_sys)
static int gcry_vlc_mutex_lock (void **p_sys)
static int gcry_vlc_mutex_unlock (void **lock)
static void vlc_gcrypt_init (void)
 Initializes gcrypt with proper locking.

Variables

static struct gcry_thread_cbs gcry_threads_vlc

Detailed Description

This file implements gcrypt support functions in vlc.


Function Documentation

static int gcry_vlc_mutex_destroy ( void **  p_sys  )  [static]

References vlc_mutex_destroy().

static int gcry_vlc_mutex_init ( void **  p_sys  )  [static]

gcrypt thread option VLC implementation

References vlc_mutex_init().

static int gcry_vlc_mutex_lock ( void **  p_sys  )  [static]

References vlc_mutex_lock().

static int gcry_vlc_mutex_unlock ( void **  lock  )  [static]

References vlc_mutex_unlock().

static void vlc_gcrypt_init ( void   )  [inline, static]

Initializes gcrypt with proper locking.

References gcry_threads_vlc, VLC_GCRYPT_MUTEX, vlc_global_lock, and vlc_global_unlock.


Variable Documentation

struct gcry_thread_cbs gcry_threads_vlc [static]
Initial value:
{
    GCRY_THREAD_OPTION_USER,
    NULL,
    gcry_vlc_mutex_init,
    gcry_vlc_mutex_destroy,
    gcry_vlc_mutex_lock,
    gcry_vlc_mutex_unlock,
    NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL
}

Referenced by vlc_gcrypt_init().

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines