Switch to unified view

a/unac/unac.h b/unac/unac.h
...
...
113
        const char* in, size_t in_length,
113
        const char* in, size_t in_length,
114
        char** out, size_t* out_length);
114
        char** out, size_t* out_length);
115
115
116
/* To be called before starting threads in mt programs */
116
/* To be called before starting threads in mt programs */
117
void unac_init_mt();
117
void unac_init_mt();
118
119
#ifdef RECOLL_DATADIR
120
#include <string>
121
/** 
122
 * Set exceptions for unaccenting, for characters which should not be
123
 * handled according to what the Unicode tables say. For example "a
124
 * with circle above" should not be stripped to a in swedish, etc.
125
 * 
126
 * @param spectrans defines the translations as a blank separated list of 
127
 *  UTF-8 strings. Inside each string, the first character is the exception
128
 *  the rest is the translation (which may be empty). You can use double 
129
 *  quotes for translations which should include white space. The double-quote
130
 *  can't be an exception character, deal with it...
131
 */
132
void unac_set_except_translations(const char *spectrans);
133
#endif /* RECOLL_DATADIR */
118
134
119
/*
135
/*
120
 * Return unac version number.
136
 * Return unac version number.
121
 */
137
 */
122
const char* unac_version(void);
138
const char* unac_version(void);