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

Diff of /lbbs/include/section_list_loader.h

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

Revision 1.16 by sysadm, Sat Oct 4 03:21:59 2025 UTC Revision 1.21 by sysadm, Tue Nov 4 14:58:55 2025 UTC
# Line 1  Line 1 
1  /***************************************************************************  /* SPDX-License-Identifier: GPL-3.0-or-later */
2                                          section_list_loader.h  -  description  /*
3                                                           -------------------   * section_list_loader
4          Copyright            : (C) 2004-2025 by Leaflet   *   - load and query operations of section articles
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 _SECTION_LIST_LOADER_H_  #ifndef _SECTION_LIST_LOADER_H_
10  #define _SECTION_LIST_LOADER_H_  #define _SECTION_LIST_LOADER_H_
# Line 59  extern int query_section_articles(SECTIO Line 51  extern int query_section_articles(SECTIO
51  extern int locate_article_in_section(SECTION_LIST *p_section, const ARTICLE *p_article_cur, int direction, int step,  extern int locate_article_in_section(SECTION_LIST *p_section, const ARTICLE *p_article_cur, int direction, int step,
52                                                                           int *p_page_id, int *p_visible_offset, int *p_article_count);                                                                           int *p_page_id, int *p_visible_offset, int *p_article_count);
53    
54    extern int last_article_in_section(SECTION_LIST *p_section, const ARTICLE **pp_article);
55    
56  // Return on success : found (1)  // Return on success : found (1)
57  //                   : not found (0)  //                   : not found (0)
58  //           failure : error number (< 0)  //           failure : error number (< 0)
59  extern int scan_unread_article_in_section(SECTION_LIST *p_section, const ARTICLE *p_article_cur, const ARTICLE **pp_article_unread);  extern int scan_unread_article_in_section(SECTION_LIST *p_section, const ARTICLE *p_article_cur, const ARTICLE **pp_article_unread);
60    
61    extern int scan_article_in_section_by_uid(SECTION_LIST *p_section, const ARTICLE *p_article_cur,
62                                                                                      int direction, int32_t uid, const ARTICLE **pp_article);
63    extern int scan_article_in_section_by_username(SECTION_LIST *p_section, const ARTICLE *p_article_cur,
64                                                                                               int direction, const char *username, const ARTICLE **pp_article);
65    extern int scan_article_in_section_by_title(SECTION_LIST *p_section, const ARTICLE *p_article_cur,
66                                                                                            int direction, const char *title, const ARTICLE **pp_article);
67    
68  extern int get_section_ex_menu_set(SECTION_LIST *p_section, MENU_SET *p_ex_menu_set);  extern int get_section_ex_menu_set(SECTION_LIST *p_section, MENU_SET *p_ex_menu_set);
69    
70  #endif //_SECTION_LIST_LOADER_H_  #endif //_SECTION_LIST_LOADER_H_


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

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