Switch to unified view

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