linux/drivers/accessibility/speakup/spk_types.h

/* SPDX-License-Identifier: GPL-2.0 */
#ifndef SPEAKUP_TYPES_H
#define SPEAKUP_TYPES_H

/* This file includes all of the typedefs and structs used in speakup. */

#include <linux/types.h>
#include <linux/fs.h>
#include <linux/errno.h>
#include <linux/delay.h>
#include <linux/wait.h>		/* for wait_queue */
#include <linux/init.h>		/* for __init */
#include <linux/module.h>
#include <linux/vt_kern.h>
#include <linux/spinlock.h>
#include <linux/mutex.h>
#include <linux/io.h>		/* for inb_p, outb_p, inb, outb, etc... */
#include <linux/device.h>

enum var_type_t {};

enum {};

/*
 * Note: add new members at the end, speakupmap.h depends on the values of the
 * enum starting from SPELL_DELAY (see inc_dec_var)
 */
enum var_id_t {};

special_func;

#define COLOR_BUFFER_SIZE

struct spk_highlight_color_track {};

struct st_spk_t {};

/* now some defines to make these easier to use. */
#define spk_shut_up
#define spk_killed
#define spk_x
#define spk_cx
#define spk_y
#define spk_cy
#define spk_pos
#define spk_cp
#define goto_pos
#define goto_x
#define win_top
#define win_bottom
#define win_left
#define win_right
#define win_start
#define win_enabled
#define spk_attr
#define spk_old_attr
#define spk_parked

struct st_var_header {};

struct num_var_t {};

struct punc_var_t {};

struct string_var_t {};

struct var_t {};

struct st_bits_data {};

struct synth_indexing {};

struct spk_synth;

struct spk_io_ops {};

struct spk_synth {};

/*
 * module_spk_synth() - Helper macro for registering a speakup driver
 * @__spk_synth: spk_synth struct
 * Helper macro for speakup drivers which do not do anything special in module
 * init/exit. This eliminates a lot of boilerplate. Each module may only
 * use this macro once, and calling it replaces module_init() and module_exit()
 */
#define module_spk_synth(__spk_synth)

struct speakup_info_t {};

struct bleep {};
#endif