linux/drivers/accessibility/speakup/varhandlers.c

// SPDX-License-Identifier: GPL-2.0
#include <linux/ctype.h>
#include "spk_types.h"
#include "spk_priv.h"
#include "speakup.h"

static struct st_var_header var_headers[] =;

static struct st_var_header *var_ptrs[MAXVARS] =;

static struct punc_var_t punc_vars[] =;

int spk_chartab_get_value(char *keyword)
{}

void speakup_register_var(struct var_t *var)
{}

void speakup_unregister_var(enum var_id_t var_id)
{}

struct st_var_header *spk_get_var_header(enum var_id_t var_id)
{}
EXPORT_SYMBOL_GPL();

struct st_var_header *spk_var_header_by_name(const char *name)
{}

struct var_t *spk_get_var(enum var_id_t var_id)
{}
EXPORT_SYMBOL_GPL();

struct punc_var_t *spk_get_punc_var(enum var_id_t var_id)
{}

/* handlers for setting vars */
int spk_set_num_var(int input, struct st_var_header *var, int how)
{}
EXPORT_SYMBOL_GPL();

int spk_set_string_var(const char *page, struct st_var_header *var, int len)
{}

/*
 * spk_set_mask_bits sets or clears the punc/delim/repeat bits,
 * if input is null uses the defaults.
 * values for how: 0 clears bits of chars supplied,
 * 1 clears allk, 2 sets bits for chars
 */
int spk_set_mask_bits(const char *input, const int which, const int how)
{}

char *spk_strlwr(char *s)
{}

char *spk_s2uchar(char *start, char *dest)
{}