| 3 |
* str_process |
* str_process |
| 4 |
* - common string processing features with UTF-8 support |
* - common string processing features with UTF-8 support |
| 5 |
* |
* |
| 6 |
* Copyright (C) 2004-2025 Leaflet <leaflet@leafok.com> |
* Copyright (C) 2004-2026 Leaflet <leaflet@leafok.com> |
| 7 |
*/ |
*/ |
| 8 |
|
|
| 9 |
#ifndef _STR_PROCESS_H_ |
#ifndef _STR_PROCESS_H_ |
| 16 |
MAX_SPLIT_FILE_LINES = 65536, |
MAX_SPLIT_FILE_LINES = 65536, |
| 17 |
}; |
}; |
| 18 |
|
|
| 19 |
|
extern int UTF8_fixed_width; |
| 20 |
|
|
| 21 |
extern int str_length(const char *str, int skip_ctrl_seq); |
extern int str_length(const char *str, int skip_ctrl_seq); |
| 22 |
|
|
| 23 |
extern int split_line(const char *buffer, int max_display_len, int *p_eol, int *p_display_len, int skip_ctrl_seq); |
extern int split_line(const char *buffer, int max_display_len, int *p_eol, int *p_display_len, int skip_ctrl_seq); |