| 19 |
|
|
| 20 |
#include <stdio.h> |
#include <stdio.h> |
| 21 |
|
|
| 22 |
extern int split_line(const char *buffer, int max_display_len, int *p_eol, int *p_display_len); |
#define MAX_SPLIT_FILE_LINES 65536 |
| 23 |
|
|
| 24 |
extern long split_data_lines(const char *p_buf, int max_display_len, long *p_line_offsets, long line_offsets_count); |
extern int split_line(const char *buffer, int max_display_len, int *p_eol, int *p_display_len, int skip_ctrl_seq); |
| 25 |
|
|
| 26 |
|
// p_line_widths may be NULL. Otherwise, the widths of each line will be store into the pointed array |
| 27 |
|
extern long split_data_lines(const char *p_buf, int max_display_len, long *p_line_offsets, long line_offsets_count, |
| 28 |
|
int skip_ctrl_seq, int *p_line_widths); |
| 29 |
|
|
| 30 |
|
extern int str_filter(char *buffer, int skip_ctrl_seq); |
| 31 |
|
|
| 32 |
#endif //_STR_PROCESS_H_ |
#endif //_STR_PROCESS_H_ |