1 // Protocol Buffers - Google's data interchange format 2 // Copyright 2023 Google LLC. All rights reserved. 3 // 4 // Use of this source code is governed by a BSD-style 5 // license that can be found in the LICENSE file or at 6 // https://developers.google.com/open-source/licenses/bsd 7 8 #ifndef THIRD_PARTY_UPB_UPB_GENERATOR_C_NAMES_INTERNAL_H_ 9 #define THIRD_PARTY_UPB_UPB_GENERATOR_C_NAMES_INTERNAL_H_ 10 11 #include <string> 12 13 #include "absl/strings/string_view.h" 14 15 namespace upb { 16 namespace generator { 17 18 // Like the public CApiHeaderFilename, but also handles the case where we are 19 // generating a bootstrap header. 20 std::string CApiHeaderFilename(absl::string_view proto_filename, 21 bool bootstrap); 22 23 } // namespace generator 24 } // namespace upb 25 26 #endif // THIRD_PARTY_UPB_UPB_GENERATOR_C_NAMES_INTERNAL_H_ 27