OLD | NEW |
(Empty) | |
| 1 //------------------------------------------------------------------------------ |
| 2 // <copyright file="dset_internal.h" company="Atheros"> |
| 3 // Copyright (c) 2004-2007 Atheros Corporation. All rights reserved. |
| 4 // |
| 5 // This program is free software; you can redistribute it and/or modify |
| 6 // it under the terms of the GNU General Public License version 2 as |
| 7 // published by the Free Software Foundation; |
| 8 // |
| 9 // Software distributed under the License is distributed on an "AS |
| 10 // IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or |
| 11 // implied. See the License for the specific language governing |
| 12 // rights and limitations under the License. |
| 13 // |
| 14 // |
| 15 //------------------------------------------------------------------------------ |
| 16 //============================================================================== |
| 17 // Author(s): ="Atheros" |
| 18 //============================================================================== |
| 19 |
| 20 |
| 21 #ifndef __DSET_INTERNAL_H__ |
| 22 #define __DSET_INTERNAL_H__ |
| 23 |
| 24 /* |
| 25 * Internal dset definitions, common for DataSet layer. |
| 26 */ |
| 27 |
| 28 #define DSET_TYPE_STANDARD 0 |
| 29 #define DSET_TYPE_BPATCHED 1 |
| 30 #define DSET_TYPE_COMPRESSED 2 |
| 31 |
| 32 /* Dataset descriptor */ |
| 33 |
| 34 typedef struct dset_descriptor_s { |
| 35 struct dset_descriptor_s *next; /* List link. NULL only at the last |
| 36 descriptor */ |
| 37 A_UINT16 id; /* Dset ID */ |
| 38 A_UINT16 size; /* Dset size. */ |
| 39 void *DataPtr; /* Pointer to raw data for standard |
| 40 DataSet or pointer to original |
| 41 dset_descriptor for patched |
| 42 DataSet */ |
| 43 A_UINT32 data_type; /* DSET_TYPE_*, above */ |
| 44 |
| 45 void *AuxPtr; /* Additional data that might |
| 46 needed for data_type. For |
| 47 example, pointer to patch |
| 48 Dataset descriptor for BPatch. */ |
| 49 } dset_descriptor_t; |
| 50 |
| 51 #endif /* __DSET_INTERNAL_H__ */ |
OLD | NEW |