xine-lib: xine-lib-1.2.13/src/xine-engine/scratch.c File Reference

xine-lib 1.2.13-20230125hg15249

Macros | Functions
scratch.c File Reference
`#include <stdio.h>`
`#include <stdarg.h>`
`#include <pthread.h>`
`#include <xine/xineutils.h>`
`#include <xine/scratch.h>`

## Macros
#define | LOG_MODULE "scratch"
#define | LOG_VERBOSE

## Functions
static void | XINE_FORMAT_PRINTF (2, 0)
static char ** | scratch_get_content (scratch_buffer_t *this)
static void | scratch_dispose (scratch_buffer_t *this)
scratch_buffer_t * | _x_new_scratch_buffer (int num_lines)

## Macro Definition Documentation

## ◆ LOG_MODULE

#define LOG_MODULE "scratch"

## ◆ LOG_VERBOSE

#define LOG_VERBOSE

## Function Documentation

## ◆ _x_new_scratch_buffer()

scratch_buffer_t * _x_new_scratch_buffer | ( | int | num_lines | ) |

References NULL, scratch_dispose(), and scratch_get_content().

Referenced by check_log_alloc().

## ◆ scratch_dispose()

static void scratch_dispose | ( | scratch_buffer_t * | this | ) |
| static

References _x_freep().

Referenced by _x_new_scratch_buffer().

## ◆ scratch_get_content()

static char ** scratch_get_content | ( | scratch_buffer_t * | this | ) |
| static

References lprintf, and NULL.

Referenced by _x_new_scratch_buffer().

## ◆ XINE_FORMAT_PRINTF()

static void XINE_FORMAT_PRINTF | ( | 2 | ,
|  | 0 | )
| static

References lprintf, and SCRATCH_LINE_LEN_MAX.