File: fdsetconv.h

package info (click to toggle)
speech-dispatcher-contrib 0.12.0-1
  • links: PTS, VCS
  • area: contrib
  • in suites: trixie
  • size: 36,616 kB
  • sloc: ansic: 27,705; sh: 5,401; python: 1,224; makefile: 1,037; lisp: 583; cpp: 404
file content (45 lines) | stat: -rw-r--r-- 1,282 bytes parent folder | download | duplicates (10)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
/*
 * fdsetconv.c - Conversion of types for Speech Dispatcher
 *
 * Copyright (C) 2001, 2002, 2003 Brailcom, o.p.s.
 *
 * This is free software; you can redistribute it and/or modify it
 * under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2, or (at your option)
 * any later version.
 *
 * This software is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program.  If not, see <https://www.gnu.org/licenses/>.
 */

#ifndef FDSETCONV_H
#define FDSETCONV_H

#include <stdio.h>
#include <string.h>
#include <speechd_types.h>

char *EVoice2str(SPDVoiceType voice);

SPDVoiceType str2EVoice(const char *str);

char *EPunctMode2str(SPDPunctuation punct);

SPDPunctuation str2EPunctMode(const char *str);

char *ESpellMode2str(SPDSpelling spell);

SPDSpelling str2ESpellMode(const char *str);

char *ECapLetRecogn2str(SPDCapitalLetters recogn);

SPDCapitalLetters str2ECapLetRecogn(const char *str);

SPDPriority str2intpriority(const char *str);

#endif