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

Diff of /lbbs/include/memory_pool.h

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

Revision 1.1 by sysadm, Thu Jun 12 09:46:42 2025 UTC Revision 1.2 by sysadm, Tue Nov 4 13:49:50 2025 UTC
# Line 1  Line 1 
1  /***************************************************************************  /* SPDX-License-Identifier: GPL-3.0-or-later */
2                                                  memory_pool.h  -  description  /*
3                                                           -------------------   * memory_pool
4          copyright            : (C) 2004-2025 by Leaflet   *   - memory pool
5          email                : leaflet@leafok.com   *
6   ***************************************************************************/   * Copyright (C) 2004-2025 by 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 _MEMORY_POOL_H_  #ifndef _MEMORY_POOL_H_
10  #define _MEMORY_POOL_H_  #define _MEMORY_POOL_H_
# Line 28  struct memory_pool_t Line 20  struct memory_pool_t
20          void **p_chunks;          void **p_chunks;
21          void *p_free;          void *p_free;
22          int node_count_allocated;          int node_count_allocated;
23          int node_count_free;          int node_count_free;
24          int node_count_total;          int node_count_total;
25  };  };
26  typedef struct memory_pool_t MEMORY_POOL;  typedef struct memory_pool_t MEMORY_POOL;


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

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