Back to home page

EIC code displayed by LXR

 
 

    


Warning, file /include/upb/reflection/common.h was not indexed or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).

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 #include "upb/reflection/descriptor_bootstrap.h"  // IWYU pragma: export
0016 
0017 typedef enum {
0018   kUpb_Syntax_Proto2 = 2,
0019   kUpb_Syntax_Proto3 = 3,
0020   kUpb_Syntax_Editions = 99
0021 } upb_Syntax;
0022 
0023 // Forward declarations for circular references.
0024 typedef struct upb_DefPool upb_DefPool;
0025 typedef struct upb_EnumDef upb_EnumDef;
0026 typedef struct upb_EnumReservedRange upb_EnumReservedRange;
0027 typedef struct upb_EnumValueDef upb_EnumValueDef;
0028 typedef struct upb_ExtensionRange upb_ExtensionRange;
0029 typedef struct upb_FieldDef upb_FieldDef;
0030 typedef struct upb_FileDef upb_FileDef;
0031 typedef struct upb_MessageDef upb_MessageDef;
0032 typedef struct upb_MessageReservedRange upb_MessageReservedRange;
0033 typedef struct upb_MethodDef upb_MethodDef;
0034 typedef struct upb_OneofDef upb_OneofDef;
0035 typedef struct upb_ServiceDef upb_ServiceDef;
0036 
0037 // EVERYTHING BELOW THIS LINE IS INTERNAL - DO NOT USE /////////////////////////
0038 
0039 typedef struct upb_DefBuilder upb_DefBuilder;
0040 
0041 #endif /* UPB_REFLECTION_COMMON_H_ */