xine-lib: xine-lib-1.2.13/src/input/media_helper.c File Reference

xine-lib 1.2.13-20230125hg15249

Macros | Functions
media_helper.c File Reference
`#include "config.h"`
`#include <stdio.h>`
`#include <stdlib.h>`
`#include <errno.h>`
`#include <fcntl.h>`
`#include <sys/types.h>`
`#include <sys/wait.h>`
`#include <sys/ioctl.h>`
`#include <unistd.h>`
`#include <string.h>`
`#include "media_helper.h"`

## Macros
#define | LOG_MEDIA_EJECT

## Functions
static int | media_umount_media (const char *device)
int | media_eject_media (xine_t *xine, const char *device)

## Macro Definition Documentation

## ◆ LOG_MEDIA_EJECT

#define LOG_MEDIA_EJECT

## Function Documentation

## ◆ media_eject_media()

int media_eject_media | ( | xine_t * | xine,
|  | const char * | device )

References _, media_umount_media(), NULL, xine_open_cloexec(), XINE_VERBOSITY_DEBUG, XINE_VERBOSITY_LOG, and xprintf.

Referenced by bluray_class_eject_media(), cdda_class_eject_media(), dvd_class_eject_media(), and vcd_class_eject_media().

## ◆ media_umount_media()

static int media_umount_media | ( | const char * | device | ) |
| static

References NULL.

Referenced by media_eject_media().