1/*****************************************************************************
2
3Copyright (c) 2013, Oracle and/or its affiliates. All Rights Reserved.
4
5This program is free software; you can redistribute it and/or modify it under
6the terms of the GNU General Public License as published by the Free Software
7Foundation; version 2 of the License.
8
9This program is distributed in the hope that it will be useful, but WITHOUT
10ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
11FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
12
13You should have received a copy of the GNU General Public License along with
14this program; if not, write to the Free Software Foundation, Inc.,
1551 Franklin Street, Suite 500, Boston, MA 02110-1335 USA
16
17*****************************************************************************/
18
19/**************************************************//**
20@file include/dyn0types.h
21The dynamically allocated buffer types and constants
22
23Created 2013-03-16 Sunny Bains
24*******************************************************/
25
26#ifndef dyn0types_h
27#define dyn0types_h
28
29/** Value of dyn_block_t::magic_n */
30#define DYN_BLOCK_MAGIC_N 375767
31
32/** This is the initial 'payload' size of a dynamic array;
33this must be > MLOG_BUF_MARGIN + 30! */
34#define DYN_ARRAY_DATA_SIZE 512
35
36/** Flag for dyn_block_t::used that indicates a full block */
37#define DYN_BLOCK_FULL_FLAG 0x1000000UL
38
39#endif /* dyn0types_h */
40