// Copyright 2020 Google LLC1//2// Licensed under the Apache License, Version 2.0 (the "License");3// you may not use this file except in compliance with the License.4// You may obtain a copy of the License at5//6// https://www.apache.org/licenses/LICENSE-2.07//8// Unless required by applicable law or agreed to in writing, software9// distributed under the License is distributed on an "AS IS" BASIS,10// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.11// See the License for the specific language governing permissions and12// limitations under the License.1314#ifndef dap_dap_h15#define dap_dap_h1617namespace dap {1819// Explicit library initialization and termination functions.20//21// cppdap automatically initializes and terminates its internal state using lazy22// static initialization, and so will usually work fine without explicit calls23// to these functions.24// However, if you use cppdap types in global state, you may need to call these25// functions to ensure that cppdap is not uninitialized before the last usage.26//27// Each call to initialize() must have a corresponding call to terminate().28// It is undefined behaviour to call initialize() after terminate().29void initialize();30void terminate();3132} // namespace dap3334#endif // dap_dap_h353637