File indexing completed on 2025-01-18 10:13:19
0001
0002
0003
0004
0005
0006
0007
0008 #ifndef UPB_UTIL_DEF_TO_PROTO_H_
0009 #define UPB_UTIL_DEF_TO_PROTO_H_
0010
0011 #include "upb/reflection/def.h"
0012
0013 #ifdef __cplusplus
0014 extern "C" {
0015 #endif
0016
0017
0018
0019
0020
0021 google_protobuf_DescriptorProto* upb_MessageDef_ToProto(const upb_MessageDef* m,
0022 upb_Arena* a);
0023 google_protobuf_EnumDescriptorProto* upb_EnumDef_ToProto(const upb_EnumDef* e,
0024 upb_Arena* a);
0025 google_protobuf_EnumValueDescriptorProto* upb_EnumValueDef_ToProto(
0026 const upb_EnumValueDef* e, upb_Arena* a);
0027 google_protobuf_FieldDescriptorProto* upb_FieldDef_ToProto(
0028 const upb_FieldDef* f, upb_Arena* a);
0029 google_protobuf_OneofDescriptorProto* upb_OneofDef_ToProto(
0030 const upb_OneofDef* o, upb_Arena* a);
0031 google_protobuf_FileDescriptorProto* upb_FileDef_ToProto(const upb_FileDef* f,
0032 upb_Arena* a);
0033 google_protobuf_MethodDescriptorProto* upb_MethodDef_ToProto(
0034 const upb_MethodDef* m, upb_Arena* a);
0035 google_protobuf_ServiceDescriptorProto* upb_ServiceDef_ToProto(
0036 const upb_ServiceDef* s, upb_Arena* a);
0037
0038 #ifdef __cplusplus
0039 }
0040 #endif
0041
0042 #endif