blob: c1fa1e1588d4ec093bebb59f16dd60b2ad4d7bdc [file] [log] [blame]
Jon Ashburnbe582642014-12-22 12:04:40 -07001/**************************************************************************
2 *
Jon Ashburne922f712015-11-03 13:41:23 -07003 * Copyright 2014 Valve Software
Jon Ashburnbe582642014-12-22 12:04:40 -07004 * All Rights Reserved.
5 *
6 * Permission is hereby granted, free of charge, to any person obtaining a copy
7 * of this software and associated documentation files (the "Software"), to deal
8 * in the Software without restriction, including without limitation the rights
9 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10 * copies of the Software, and to permit persons to whom the Software is
11 * furnished to do so, subject to the following conditions:
12 *
13 * The above copyright notice and this permission notice shall be included in
14 * all copies or substantial portions of the Software.
15 *
16 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
22 * THE SOFTWARE.
23 *
Jon Ashburne922f712015-11-03 13:41:23 -070024 * Author: Jon Ashburn <jon@lunarg.com>
Jon Ashburnbe582642014-12-22 12:04:40 -070025 **************************************************************************/
26#pragma once
Jon Ashburna8aa8372015-03-03 15:07:15 -070027#include <stdbool.h>
Jon Ashburnbe582642014-12-22 12:04:40 -070028
29#ifdef __cplusplus
30extern "C" {
31#endif
32
33const char *getLayerOption(const char *_option);
Tobin Ehlisb1df55e2015-09-15 09:55:54 -060034FILE* getLayerLogOutput(const char *_option, const char *layerName);
Courtney Goeltzenleuchterb874b8c2015-06-14 11:34:49 -060035uint32_t getLayerOptionFlags(const char *_option, uint32_t optionDefault);
Jon Ashburna8aa8372015-03-03 15:07:15 -070036bool getLayerOptionEnum(const char *_option, uint32_t *optionDefault);
Jon Ashburnbe582642014-12-22 12:04:40 -070037
Jon Ashburndec60512015-01-13 17:24:01 -070038void setLayerOption(const char *_option, const char *_val);
39void setLayerOptionEnum(const char *_option, const char *_valEnum);
Courtney Goeltzenleuchterf85e3612015-06-14 11:33:06 -060040void print_msg_flags(VkFlags msgFlags, char *msg_flags);
Jon Ashburnbe582642014-12-22 12:04:40 -070041#ifdef __cplusplus
42}
43#endif