Debian Codegraph @

src/clean_utf_8.h

raw
1 /**
2 * This file is part of the Detox package.
3 *
4 * Copyright (c) Doug Harple <[email protected]>
5 *
6 * For the full copyright and license information, please view the LICENSE
7 * file that was distributed with this source code.
8 */
9
10 #ifndef __CLEAN_UTF_8_H
11 #define __CLEAN_UTF_8_H
12
13 #include "detox_struct.h"
14
15 #define UTF_8_MAX_LENGTH 6
16
17 extern char *clean_utf_8(char *filename, table_t *table);
18 extern int get_utf_8_width(char c);
19 extern int is_utf_8_cont(char c);
20 extern int is_utf_8_start(char c);
21
22 #endif /* __CLEAN_UTF_8_H */