blob: b0504319b8fe1a8a5911273ddcb4ed788ea6705f [file] [log] [blame] [edit]
// Copyright 2020 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef QUICHE_COMMON_PLATFORM_API_QUICHE_FLAGS_H_
#define QUICHE_COMMON_PLATFORM_API_QUICHE_FLAGS_H_
#include "quiche_platform_impl/quiche_flags_impl.h"
// Flags accessed via GetQuicheReloadableFlag/GetQuicheRestartFlag are temporary
// boolean flags that are used to enable or disable code behavior changes. The
// current list is available at quiche/common/quiche_feature_flags_list.h.
#define GetQuicheReloadableFlag(flag) GetQuicheReloadableFlagImpl(flag)
#define SetQuicheReloadableFlag(flag, value) \
SetQuicheReloadableFlagImpl(flag, value)
#define GetQuicheRestartFlag(flag) GetQuicheRestartFlagImpl(flag)
#define SetQuicheRestartFlag(flag, value) SetQuicheRestartFlagImpl(flag, value)
// Flags accessed via GetQuicheFlag are permanent flags used to control QUICHE
// library behavior. The current list is available at
// quiche/common/quiche_protocol_flags_list.h.
#define GetQuicheFlag(flag) GetQuicheFlagImpl(flag)
#define SetQuicheFlag(flag, value) SetQuicheFlagImpl(flag, value)
#endif // QUICHE_COMMON_PLATFORM_API_QUICHE_FLAGS_H_