1 | /***************************************************************************** |
2 | |
3 | Copyright (c) 2013, Oracle and/or its affiliates. All Rights Reserved. |
4 | |
5 | This program is free software; you can redistribute it and/or modify it under |
6 | the terms of the GNU General Public License as published by the Free Software |
7 | Foundation; version 2 of the License. |
8 | |
9 | This program is distributed in the hope that it will be useful, but WITHOUT |
10 | ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS |
11 | FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. |
12 | |
13 | You should have received a copy of the GNU General Public License along with |
14 | this program; if not, write to the Free Software Foundation, Inc., |
15 | 51 Franklin Street, Suite 500, Boston, MA 02110-1335 USA |
16 | |
17 | *****************************************************************************/ |
18 | |
19 | /**************************************************//** |
20 | @file include/dyn0types.h |
21 | The dynamically allocated buffer types and constants |
22 | |
23 | Created 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; |
33 | this 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 | |