Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-30 10:25:24

0001 // Protocol Buffers - Google's data interchange format
0002 // Copyright 2023 Google LLC.  All rights reserved.
0003 //
0004 // Use of this source code is governed by a BSD-style
0005 // license that can be found in the LICENSE file or at
0006 // https://developers.google.com/open-source/licenses/bsd
0007 
0008 // IWYU pragma: private, include "upb/reflection/def.h"
0009 
0010 // Declarations common to all public def types.
0011 
0012 #ifndef UPB_REFLECTION_COMMON_H_
0013 #define UPB_REFLECTION_COMMON_H_
0014 
0015 // begin:google_only
0016 // #ifndef UPB_BOOTSTRAP_STAGE0
0017 // #include "net/proto2/proto/descriptor.upb.h"
0018 // #else
0019 // #include "google/protobuf/descriptor.upb.h"
0020 // #endif
0021 // end:google_only
0022 
0023 // begin:github_only
0024 #include "google/protobuf/descriptor.upb.h"
0025 // end:github_only
0026 
0027 typedef enum {
0028   kUpb_Syntax_Proto2 = 2,
0029   kUpb_Syntax_Proto3 = 3,
0030   kUpb_Syntax_Editions = 99
0031 } upb_Syntax;
0032 
0033 // Forward declarations for circular references.
0034 typedef struct upb_DefPool upb_DefPool;
0035 typedef struct upb_EnumDef upb_EnumDef;
0036 typedef struct upb_EnumReservedRange upb_EnumReservedRange;
0037 typedef struct upb_EnumValueDef upb_EnumValueDef;
0038 typedef struct upb_ExtensionRange upb_ExtensionRange;
0039 typedef struct upb_FieldDef upb_FieldDef;
0040 typedef struct upb_FileDef upb_FileDef;
0041 typedef struct upb_MessageDef upb_MessageDef;
0042 typedef struct upb_MessageReservedRange upb_MessageReservedRange;
0043 typedef struct upb_MethodDef upb_MethodDef;
0044 typedef struct upb_OneofDef upb_OneofDef;
0045 typedef struct upb_ServiceDef upb_ServiceDef;
0046 
0047 // EVERYTHING BELOW THIS LINE IS INTERNAL - DO NOT USE /////////////////////////
0048 
0049 typedef struct upb_DefBuilder upb_DefBuilder;
0050 
0051 #endif /* UPB_REFLECTION_COMMON_H_ */