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

Diff of /lbbs/include/str_process.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.11 by sysadm, Wed Jul 2 03:08:10 2025 UTC Revision 1.14 by sysadm, Tue Nov 4 14:58:55 2025 UTC
# Line 1  Line 1 
1  /***************************************************************************  /* SPDX-License-Identifier: GPL-3.0-or-later */
2                                                    str_process.h  -  description  /*
3                                                           -------------------   * str_process
4          Copyright            : (C) 2004-2025 by Leaflet   *   - common string processing features with UTF-8 support
5          Email                : leaflet@leafok.com   *
6   ***************************************************************************/   * Copyright (C) 2004-2025  Leaflet <leaflet@leafok.com>
7     */
 /***************************************************************************  
  *                                                                         *  
  *   This program is free software; you can redistribute it and/or modify  *  
  *   it under the terms of the GNU General Public License as published by  *  
  *   the Free Software Foundation; either version 3 of the License, or     *  
  *   (at your option) any later version.                                   *  
  *                                                                         *  
  ***************************************************************************/  
8    
9  #ifndef _STR_PROCESS_H_  #ifndef _STR_PROCESS_H_
10  #define _STR_PROCESS_H_  #define _STR_PROCESS_H_
# Line 21  Line 13 
13    
14  #define MAX_SPLIT_FILE_LINES 65536  #define MAX_SPLIT_FILE_LINES 65536
15    
16    extern int str_length(const char *str, int skip_ctrl_seq);
17    
18  extern int split_line(const char *buffer, int max_display_len, int *p_eol, int *p_display_len, int skip_ctrl_seq);  extern int split_line(const char *buffer, int max_display_len, int *p_eol, int *p_display_len, int skip_ctrl_seq);
19    
20  // p_line_widths may be NULL. Otherwise, the widths of each line will be store into the pointed array  // p_line_widths may be NULL. Otherwise, the widths of each line will be store into the pointed array


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters

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