blob: 4cd7c2eb13015df89095c00197403af81b7c49f1 [file] [log] [blame]
// 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 in the quiche/quic/core/quic_flags_list.h file.
#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 in the
// quiche/common/quiche_protocol_flags_list.h file.
#define GetQuicheFlag(flag) GetQuicheFlagImpl(flag)
#define SetQuicheFlag(flag, value) SetQuicheFlagImpl(flag, value)
#endif // QUICHE_COMMON_PLATFORM_API_QUICHE_FLAGS_H_