| 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 2 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 |
extern int split_line(const char *buffer, int max_len, int *p_eol);
|
| 23 |
|
| 24 |
extern int split_file_lines(FILE *fin, int max_len, long *p_line_offsets, int max_line_cnt);
|
| 25 |
|
| 26 |
#endif //_STR_PROCESS_H_
|