close Warning: Can't use blame annotator:
No changeset 2 in the repository

source: svn/newcon3bcm2_21bu/BSEAV/lib/utils/balloc.h @ 46

Last change on this file since 46 was 46, checked in by megakiss, 11 years ago

459Mhz로 OTC 주파수 변경

  • Property svn:executable set to *
File size: 1.4 KB
RevLine 
1/***************************************************************************
2 *     Copyright (c) 2007-2008, Broadcom Corporation
3 *     All Rights Reserved
4 *     Confidential Property of Broadcom Corporation
5 *
6 *  THIS SOFTWARE MAY ONLY BE USED SUBJECT TO AN EXECUTED SOFTWARE LICENSE
7 *  AGREEMENT  BETWEEN THE USER AND BROADCOM.  YOU HAVE NO RIGHT TO USE OR
8 *  EXPLOIT THIS MATERIAL EXCEPT SUBJECT TO THE TERMS OF SUCH AN AGREEMENT.
9 *
10 * $brcm_Workfile: balloc.h $
11 * $brcm_Revision: 3 $
12 * $brcm_Date: 6/12/08 3:07p $
13 *
14 * Module Description:
15 *
16 * Interface for alloc libraries
17 *
18 * Revision History:
19 *
20 * $brcm_Log: /BSEAV/lib/utils/balloc.h $
21 *
22 * 3   6/12/08 3:07p vsilyaev
23 * PR 43607: Renamed alloc and free to bmem_alloc and bmem_free
24 *
25 * 2   3/15/07 10:50a vsilyaev
26 * PR 25701: Added missing 'extern'
27 *
28 * 1   2/5/07 5:28p vsilyaev
29 * PR 25701:Portions of stackable parsing framework
30 *
31 *
32 *******************************************************************************/
33#ifndef __BALLOC_H__
34#define __BALLOC_H__
35
36#ifdef __cplusplus
37extern "C"
38{
39#endif
40
41typedef struct balloc_iface const *balloc_iface_t;
42
43struct balloc_iface {
44        void *(*bmem_alloc)(balloc_iface_t alloc, size_t size);
45        void (*bmem_free)(balloc_iface_t alloc, void *ptr);
46};
47
48/* BKNI based allocator */
49extern const struct balloc_iface bkni_alloc[1];
50#ifdef __cplusplus
51}
52#endif
53
54#endif /* __BALLOC_H__ */
55
Note: See TracBrowser for help on using the repository browser.