VLC  3.0.0-git
Data Structures | Typedefs | Functions
LibVLC logging (legacy)
Collaboration diagram for LibVLC logging (legacy):

Data Structures

struct  libvlc_log_message_t
 

Typedefs

typedef struct libvlc_log_iterator_t libvlc_log_iterator_t
 This structure is opaque. More...
 
typedef struct libvlc_log_message_t libvlc_log_message_t
 

Functions

LIBVLC_DEPRECATED LIBVLC_API unsigned libvlc_get_log_verbosity (const libvlc_instance_t *p_instance)
 Always returns minus one. More...
 
LIBVLC_DEPRECATED LIBVLC_API void libvlc_set_log_verbosity (libvlc_instance_t *p_instance, unsigned level)
 This function does nothing. More...
 
LIBVLC_DEPRECATED LIBVLC_API libvlc_log_tlibvlc_log_open (libvlc_instance_t *p_instance)
 This function does nothing useful. More...
 
LIBVLC_DEPRECATED LIBVLC_API void libvlc_log_close (libvlc_log_t *p_log)
 Frees memory allocated by libvlc_log_open(). More...
 
LIBVLC_DEPRECATED LIBVLC_API unsigned libvlc_log_count (const libvlc_log_t *p_log)
 Always returns zero. More...
 
LIBVLC_DEPRECATED LIBVLC_API void libvlc_log_clear (libvlc_log_t *p_log)
 This function does nothing. More...
 
LIBVLC_DEPRECATED LIBVLC_API libvlc_log_iterator_tlibvlc_log_get_iterator (const libvlc_log_t *p_log)
 This function does nothing useful. More...
 
LIBVLC_DEPRECATED LIBVLC_API void libvlc_log_iterator_free (libvlc_log_iterator_t *p_iter)
 Frees memory allocated by libvlc_log_get_iterator(). More...
 
LIBVLC_DEPRECATED LIBVLC_API int libvlc_log_iterator_has_next (const libvlc_log_iterator_t *p_iter)
 Always returns zero. More...
 
LIBVLC_DEPRECATED LIBVLC_API libvlc_log_message_tlibvlc_log_iterator_next (libvlc_log_iterator_t *p_iter, libvlc_log_message_t *p_buf)
 Always returns NULL. More...
 

Detailed Description

Typedef Documentation

◆ libvlc_log_iterator_t

This structure is opaque.

It represents a libvlc log iterator

◆ libvlc_log_message_t

Function Documentation

◆ libvlc_get_log_verbosity()

LIBVLC_DEPRECATED LIBVLC_API unsigned libvlc_get_log_verbosity ( const libvlc_instance_t p_instance)

Always returns minus one.

This function is only provided for backward compatibility.

Parameters
p_instanceignored
Returns
always -1

◆ libvlc_log_clear()

LIBVLC_DEPRECATED LIBVLC_API void libvlc_log_clear ( libvlc_log_t p_log)

This function does nothing.

It is only provided for backward compatibility.

Parameters
p_logignored

◆ libvlc_log_close()

LIBVLC_DEPRECATED LIBVLC_API void libvlc_log_close ( libvlc_log_t p_log)

Frees memory allocated by libvlc_log_open().

Parameters
p_loglibvlc log instance or NULL

◆ libvlc_log_count()

LIBVLC_DEPRECATED LIBVLC_API unsigned libvlc_log_count ( const libvlc_log_t p_log)

Always returns zero.

This function is only provided for backward compatibility.

Parameters
p_logignored
Returns
always zero

◆ libvlc_log_get_iterator()

LIBVLC_DEPRECATED LIBVLC_API libvlc_log_iterator_t* libvlc_log_get_iterator ( const libvlc_log_t p_log)

This function does nothing useful.

It is only provided for backward compatibility.

Parameters
p_logignored
Returns
an unique pointer or NULL on error or if the parameter was NULL

◆ libvlc_log_iterator_free()

LIBVLC_DEPRECATED LIBVLC_API void libvlc_log_iterator_free ( libvlc_log_iterator_t p_iter)

Frees memory allocated by libvlc_log_get_iterator().

Parameters
p_iterlibvlc log iterator or NULL

◆ libvlc_log_iterator_has_next()

LIBVLC_DEPRECATED LIBVLC_API int libvlc_log_iterator_has_next ( const libvlc_log_iterator_t p_iter)

Always returns zero.

This function is only provided for backward compatibility.

Parameters
p_iterignored
Returns
always zero

◆ libvlc_log_iterator_next()

LIBVLC_DEPRECATED LIBVLC_API libvlc_log_message_t* libvlc_log_iterator_next ( libvlc_log_iterator_t p_iter,
libvlc_log_message_t p_buf 
)

Always returns NULL.

This function is only provided for backward compatibility.

Parameters
p_iterlibvlc log iterator or NULL
p_bufignored
Returns
always NULL

◆ libvlc_log_open()

LIBVLC_DEPRECATED LIBVLC_API libvlc_log_t* libvlc_log_open ( libvlc_instance_t p_instance)

This function does nothing useful.

It is only provided for backward compatibility.

Parameters
p_instancelibvlc instance
Returns
an unique pointer or NULL on error

◆ libvlc_set_log_verbosity()

LIBVLC_DEPRECATED LIBVLC_API void libvlc_set_log_verbosity ( libvlc_instance_t p_instance,
unsigned  level 
)

This function does nothing.

It is only provided for backward compatibility.

Parameters
p_instanceignored
levelignored