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

Diff of /lbbs/include/article_cache.h

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

Revision 1.8 by sysadm, Sat Jun 21 06:52:24 2025 UTC Revision 1.11 by sysadm, Wed Nov 5 03:17:12 2025 UTC
# Line 1  Line 1 
1  /***************************************************************************  /* SPDX-License-Identifier: GPL-3.0-or-later */
2                                             article_cache.h  -  description  /*
3                                                           -------------------   * article_cache
4          Copyright            : (C) 2004-2025 by Leaflet   *   - convert article content from DB to local cache with LML conversion and line offset index
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 _ARTICLE_CACHE_H_  #ifndef _ARTICLE_CACHE_H_
10  #define _ARTICLE_CACHE_H_  #define _ARTICLE_CACHE_H_
# Line 21  Line 13 
13  #include "section_list.h"  #include "section_list.h"
14  #include "str_process.h"  #include "str_process.h"
15    
16    enum article_cache_constant_t
17    {
18            ARTICLE_CONTENT_MAX_LEN = 1024 * 1024 * 4, // 4MB
19    };
20    
21  struct article_cache_t  struct article_cache_t
22  {  {
23          void *p_mmap;          void *p_mmap;


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

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