linux/drivers/accessibility/speakup/buffers.c

// SPDX-License-Identifier: GPL-2.0
#include <linux/console.h>
#include <linux/types.h>
#include <linux/wait.h>

#include "speakup.h"
#include "spk_priv.h"

#define SYNTH_BUF_SIZE

static u16 synth_buffer[SYNTH_BUF_SIZE];	/* guess what this is for! */
static u16 *buff_in =;
static u16 *buff_out =;
static u16 *buffer_end =;

/* These try to throttle applications by stopping the TTYs
 * Note: we need to make sure that we will restart them eventually, which is
 * usually not possible to do from the notifiers. TODO: it should be possible
 * starting from linux 2.6.26.
 *
 * So we only stop when we know alive == 1 (else we discard the data anyway),
 * and the alive synth will eventually call start_ttys from the thread context.
 */
void speakup_start_ttys(void)
{}
EXPORT_SYMBOL_GPL();

static void speakup_stop_ttys(void)
{}

static int synth_buffer_free(void)
{}

int synth_buffer_empty(void)
{}
EXPORT_SYMBOL_GPL();

void synth_buffer_add(u16 ch)
{}

u16 synth_buffer_getc(void)
{}
EXPORT_SYMBOL_GPL();

u16 synth_buffer_peek(void)
{}
EXPORT_SYMBOL_GPL();

void synth_buffer_skip_nonlatin1(void)
{}
EXPORT_SYMBOL_GPL();

void synth_buffer_clear(void)
{}
EXPORT_SYMBOL_GPL();