/[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.15 by sysadm, Wed Nov 5 04:19:21 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_
11    
12  #include <stdio.h>  #include <stdio.h>
13    
14  #define MAX_SPLIT_FILE_LINES 65536  enum str_process_constant_t
15    {
16            MAX_SPLIT_FILE_LINES = 65536,
17    };
18    
19    extern int str_length(const char *str, int skip_ctrl_seq);
20    
21  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);
22    


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

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