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

Diff of /lbbs/include/article_view_log.h

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

Revision 1.3 by sysadm, Sat Jun 7 10:00:10 2025 UTC Revision 1.6 by sysadm, Tue Nov 4 14:58:55 2025 UTC
# Line 1  Line 1 
1  /***************************************************************************  /* SPDX-License-Identifier: GPL-3.0-or-later */
2                                           article_view_log.h  -  description  /*
3                                                           -------------------   * article_view_log
4          Copyright            : (C) 2004-2025 by Leaflet   *   - data persistence and query of article view log
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_VIEW_LOG_H_  #ifndef _ARTICLE_VIEW_LOG_H_
10  #define _ARTICLE_VIEW_LOG_H_  #define _ARTICLE_VIEW_LOG_H_
11    
12  #include <stdint.h>  #include <stdint.h>
13    
14  #define MAX_AID_INC_CNT 1000  #define MAX_VIEWED_AID_INC_CNT 1000
15    
16  struct article_view_log_t  struct article_view_log_t
17  {  {
18          int uid;          int uid;
19          int32_t *aid_base;          int32_t *aid_base;
20          int aid_base_cnt;          int aid_base_cnt;
21          int32_t aid_inc[MAX_AID_INC_CNT];          int32_t aid_inc[MAX_VIEWED_AID_INC_CNT];
22          int aid_inc_cnt;          int aid_inc_cnt;
23  };  };
24  typedef struct article_view_log_t ARTICLE_VIEW_LOG;  typedef struct article_view_log_t ARTICLE_VIEW_LOG;


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

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