| 1 |
/* |
| 2 |
* Copyright (C) 2005 to 2015 by Jonathan Duddington |
| 3 |
* email: [email protected] |
| 4 |
* Copyright (C) 2015-2018 Reece H. Dunn |
| 5 |
* Copyright (C) 2018 Juho Hiltunen |
| 6 |
* |
| 7 |
* This program is free software; you can redistribute it and/or modify |
| 8 |
* it under the terms of the GNU General Public License as published by |
| 9 |
* the Free Software Foundation; either version 3 of the License, or |
| 10 |
* (at your option) any later version. |
| 11 |
* |
| 12 |
* This program is distributed in the hope that it will be useful, |
| 13 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 14 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 15 |
* GNU General Public License for more details. |
| 16 |
* |
| 17 |
* You should have received a copy of the GNU General Public License |
| 18 |
* along with this program; if not, see: <http://www.gnu.org/licenses/>. |
| 19 |
*/ |
| 20 |
#ifndef ESPEAK_NG_READCLAUSE_H |
| 21 |
#define ESPEAK_NG_READCLAUSE_H |
| 22 |
|
| 23 |
#include "translate.h" |
| 24 |
|
| 25 |
#ifdef __cplusplus |
| 26 |
extern "C" |
| 27 |
{ |
| 28 |
#endif |
| 29 |
|
| 30 |
typedef struct { |
| 31 |
int type; |
| 32 |
int parameter[N_SPEECH_PARAM]; |
| 33 |
} PARAM_STACK; |
| 34 |
|
| 35 |
extern PARAM_STACK param_stack[]; |
| 36 |
|
| 37 |
int clause_type_from_codepoint(uint32_t c); |
| 38 |
int Eof(void); |
| 39 |
const char *WordToString2(char buf[5], unsigned int word); |
| 40 |
int AddNameData(const char *name, |
| 41 |
int wide); |
| 42 |
int ReadClause(Translator *tr, |
| 43 |
char *buf, |
| 44 |
short *charix, |
| 45 |
int *charix_top, |
| 46 |
int n_buf, |
| 47 |
int *tone_type, |
| 48 |
char *voice_change); |
| 49 |
|
| 50 |
|
| 51 |
|
| 52 |
|
| 53 |
#ifdef __cplusplus |
| 54 |
} |
| 55 |
#endif |
| 56 |
|
| 57 |
#endif |
| 58 |
|