linux/drivers/accessibility/speakup/devsynth.c

// SPDX-License-Identifier: GPL-2.0
#include <linux/errno.h>
#include <linux/miscdevice.h>	/* for misc_register, and MISC_DYNAMIC_MINOR */
#include <linux/types.h>
#include <linux/uaccess.h>

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

static int synth_registered, synthu_registered;
static int dev_opened;

/* Latin1 version */
static ssize_t speakup_file_write(struct file *fp, const char __user *buffer,
				  size_t nbytes, loff_t *ppos)
{}

/* UTF-8 version */
static ssize_t speakup_file_writeu(struct file *fp, const char __user *buffer,
				   size_t nbytes, loff_t *ppos)
{}

static ssize_t speakup_file_read(struct file *fp, char __user *buf,
				 size_t nbytes, loff_t *ppos)
{}

static int speakup_file_open(struct inode *ip, struct file *fp)
{}

static int speakup_file_release(struct inode *ip, struct file *fp)
{}

static const struct file_operations synth_fops =;

static const struct file_operations synthu_fops =;

static struct miscdevice synth_device =;

static struct miscdevice synthu_device =;

void speakup_register_devsynth(void)
{}

void speakup_unregister_devsynth(void)
{}