| 9 |
* * |
* * |
| 10 |
* This program is free software; you can redistribute it and/or modify * |
* 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 * |
* it under the terms of the GNU General Public License as published by * |
| 12 |
* the Free Software Foundation; either version 2 of the License, or * |
* the Free Software Foundation; either version 3 of the License, or * |
| 13 |
* (at your option) any later version. * |
* (at your option) any later version. * |
| 14 |
* * |
* * |
| 15 |
***************************************************************************/ |
***************************************************************************/ |
| 19 |
|
|
| 20 |
#include <stdio.h> |
#include <stdio.h> |
| 21 |
|
|
| 22 |
extern unsigned int split_line(const char *buffer, int max_len, int *p_eol); |
#define MAX_SPLIT_FILE_LINES 65536 |
| 23 |
|
|
| 24 |
extern unsigned int split_file_lines(FILE *fin, int max_len, long *p_line_offsets, int max_line_cnt); |
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 |
#endif //_STR_PROCESS_H_ |
#endif //_STR_PROCESS_H_ |