1 // Copyright 2020 The Chromium Authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style license that can be 3 // found in the LICENSE file. 4 5 #ifndef QUICHE_COMMON_PLATFORM_API_QUICHE_FLAGS_H_ 6 #define QUICHE_COMMON_PLATFORM_API_QUICHE_FLAGS_H_ 7 8 #include "quiche_platform_impl/quiche_flags_impl.h" 9 10 // Flags accessed via GetQuicheReloadableFlag/GetQuicheRestartFlag are temporary 11 // boolean flags that are used to enable or disable code behavior changes. The 12 // current list is available in the quiche/quic/core/quic_flags_list.h file. 13 #define GetQuicheReloadableFlag(flag) GetQuicheReloadableFlagImpl(flag) 14 #define SetQuicheReloadableFlag(flag, value) \ 15 SetQuicheReloadableFlagImpl(flag, value) 16 #define GetQuicheRestartFlag(flag) GetQuicheRestartFlagImpl(flag) 17 #define SetQuicheRestartFlag(flag, value) SetQuicheRestartFlagImpl(flag, value) 18 19 // Flags accessed via GetQuicheFlag are permanent flags used to control QUICHE 20 // library behavior. The current list is available in the 21 // quiche/common/quiche_protocol_flags_list.h file. 22 #define GetQuicheFlag(flag) GetQuicheFlagImpl(flag) 23 #define SetQuicheFlag(flag, value) SetQuicheFlagImpl(flag, value) 24 25 #endif // QUICHE_COMMON_PLATFORM_API_QUICHE_FLAGS_H_ 26