| 1 |
/***************************************************************************
|
| 2 |
str_process.h - description
|
| 3 |
-------------------
|
| 4 |
Copyright : (C) 2004-2025 by Leaflet
|
| 5 |
Email : leaflet@leafok.com
|
| 6 |
***************************************************************************/
|
| 7 |
|
| 8 |
/***************************************************************************
|
| 9 |
* *
|
| 10 |
* This program is free software; you can redistribute it and/or modify *
|
| 11 |
* it under the terms of the GNU General Public License as published by *
|
| 12 |
* the Free Software Foundation; either version 3 of the License, or *
|
| 13 |
* (at your option) any later version. *
|
| 14 |
* *
|
| 15 |
***************************************************************************/
|
| 16 |
|
| 17 |
#ifndef _STR_PROCESS_H_
|
| 18 |
#define _STR_PROCESS_H_
|
| 19 |
|
| 20 |
#include <stdio.h>
|
| 21 |
|
| 22 |
#define MAX_SPLIT_FILE_LINES 65536
|
| 23 |
|
| 24 |
extern int split_line(const char *buffer, int max_display_len, int *p_eol, int *p_display_len);
|
| 25 |
|
| 26 |
extern long split_data_lines(const char *p_buf, int max_display_len, long *p_line_offsets, long line_offsets_count);
|
| 27 |
|
| 28 |
extern int ctrl_seq_filter(char *buffer);
|
| 29 |
|
| 30 |
#endif //_STR_PROCESS_H_
|