/[LeafOK_CVS]/lbbs/include/str_process.h
ViewVC logotype

Annotation of /lbbs/include/str_process.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.6 - (hide annotations)
Thu May 15 14:17:53 2025 UTC (10 months ago) by sysadm
Branch: MAIN
Changes since 1.5: +2 -2 lines
Content type: text/x-chdr
Refact display_file_ex, remove display_file
Convert split_file_lines into split_data_lines with mmap

1 sysadm 1.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 sysadm 1.3 * the Free Software Foundation; either version 3 of the License, or *
13 sysadm 1.1 * (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 sysadm 1.6 extern int split_line(const char *buffer, int max_display_len, int *p_eol, int *p_display_len);
23 sysadm 1.1
24 sysadm 1.6 extern int split_data_lines(const char *p_buf, int max_display_len, long *p_line_offsets, int max_line_cnt);
25 sysadm 1.1
26     #endif //_STR_PROCESS_H_

webmaster@leafok.com
ViewVC Help
Powered by ViewVC 1.3.0-beta1