Courtney Goeltzenleuchter | c643800 | 2014-08-19 11:43:21 -0600 | [diff] [blame] | 1 | /* |
Courtney Goeltzenleuchter | c643800 | 2014-08-19 11:43:21 -0600 | [diff] [blame] | 2 | * |
| 3 | * Copyright (C) 2014 LunarG, Inc. |
| 4 | * |
| 5 | * Permission is hereby granted, free of charge, to any person obtaining a |
| 6 | * copy of this software and associated documentation files (the "Software"), |
| 7 | * to deal in the Software without restriction, including without limitation |
| 8 | * the rights to use, copy, modify, merge, publish, distribute, sublicense, |
| 9 | * and/or sell copies of the Software, and to permit persons to whom the |
| 10 | * Software is furnished to do so, subject to the following conditions: |
| 11 | * |
| 12 | * The above copyright notice and this permission notice shall be included |
| 13 | * in all copies or substantial portions of the Software. |
| 14 | * |
| 15 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR |
| 16 | * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, |
| 17 | * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL |
| 18 | * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER |
| 19 | * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING |
| 20 | * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER |
| 21 | * DEALINGS IN THE SOFTWARE. |
Chia-I Wu | 44e4236 | 2014-09-02 08:32:09 +0800 | [diff] [blame] | 22 | * |
| 23 | * Authors: |
| 24 | * Courtney Goeltzenleuchter <courtney@lunarg.com> |
| 25 | * Chia-I Wu <olv@lunarg.com> |
Courtney Goeltzenleuchter | c643800 | 2014-08-19 11:43:21 -0600 | [diff] [blame] | 26 | */ |
| 27 | |
Cody Northrop | acfb049 | 2015-03-17 15:55:58 -0600 | [diff] [blame] | 28 | #ifndef ICD_SPV_H |
| 29 | #define ICD_SPV_H |
Courtney Goeltzenleuchter | c643800 | 2014-08-19 11:43:21 -0600 | [diff] [blame] | 30 | |
Chia-I Wu | 4115c89 | 2014-08-28 11:56:29 +0800 | [diff] [blame] | 31 | #include <stdint.h> |
Courtney Goeltzenleuchter | c643800 | 2014-08-19 11:43:21 -0600 | [diff] [blame] | 32 | |
Cody Northrop | acfb049 | 2015-03-17 15:55:58 -0600 | [diff] [blame] | 33 | #define ICD_SPV_MAGIC 0x07230203 |
| 34 | #define ICD_SPV_VERSION 99 |
Chia-I Wu | 4115c89 | 2014-08-28 11:56:29 +0800 | [diff] [blame] | 35 | |
Cody Northrop | acfb049 | 2015-03-17 15:55:58 -0600 | [diff] [blame] | 36 | struct icd_spv_header { |
Chia-I Wu | 4115c89 | 2014-08-28 11:56:29 +0800 | [diff] [blame] | 37 | uint32_t magic; |
| 38 | uint32_t version; |
Courtney Goeltzenleuchter | 52ec336 | 2014-08-19 11:52:02 -0600 | [diff] [blame] | 39 | uint32_t gen_magic; // Generator's magic number |
Courtney Goeltzenleuchter | c643800 | 2014-08-19 11:43:21 -0600 | [diff] [blame] | 40 | }; |
| 41 | |
Cody Northrop | acfb049 | 2015-03-17 15:55:58 -0600 | [diff] [blame] | 42 | #endif /* ICD_SPV_H */ |