VLC  2.1.0-git
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | 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.

Macros

#define gcry_threads_vlc   gcry_threads_pthread

Functions

static void vlc_gcrypt_init (void)
 Initializes gcrypt with proper locking.

Variables

 GCRY_THREAD_OPTION_PTHREAD_IMPL
 If possible, use gcrypt-provided thread implementation.

Detailed Description

This file implements gcrypt support functions in vlc.

Macro Definition Documentation

#define gcry_threads_vlc   gcry_threads_pthread

Function Documentation

static void vlc_gcrypt_init ( void  )
inlinestatic

Initializes gcrypt with proper locking.

References VLC_GCRYPT_MUTEX, vlc_global_lock, and vlc_global_unlock.

Variable Documentation

GCRY_THREAD_OPTION_PTHREAD_IMPL

If possible, use gcrypt-provided thread implementation.

This is so that other non-VLC components (inside the process) can also use gcrypt safely.