Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 10:13:18

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 #ifndef UPB_MINI_TABLE_FILE_H_
0009 #define UPB_MINI_TABLE_FILE_H_
0010 
0011 #include "upb/mini_table/enum.h"
0012 #include "upb/mini_table/extension.h"
0013 #include "upb/mini_table/internal/file.h"
0014 #include "upb/mini_table/message.h"
0015 
0016 // Must be last.
0017 #include "upb/port/def.inc"
0018 
0019 typedef struct upb_MiniTableFile upb_MiniTableFile;
0020 
0021 #ifdef __cplusplus
0022 extern "C" {
0023 #endif
0024 
0025 UPB_API_INLINE const upb_MiniTableEnum* upb_MiniTableFile_Enum(
0026     const upb_MiniTableFile* f, int i);
0027 
0028 UPB_API_INLINE int upb_MiniTableFile_EnumCount(const upb_MiniTableFile* f);
0029 
0030 UPB_API_INLINE const upb_MiniTableExtension* upb_MiniTableFile_Extension(
0031     const upb_MiniTableFile* f, int i);
0032 
0033 UPB_API_INLINE int upb_MiniTableFile_ExtensionCount(const upb_MiniTableFile* f);
0034 
0035 UPB_API_INLINE const upb_MiniTable* upb_MiniTableFile_Message(
0036     const upb_MiniTableFile* f, int i);
0037 
0038 UPB_API_INLINE int upb_MiniTableFile_MessageCount(const upb_MiniTableFile* f);
0039 
0040 #ifdef __cplusplus
0041 } /* extern "C" */
0042 #endif
0043 
0044 #include "upb/port/undef.inc"
0045 
0046 #endif /* UPB_MINI_TABLE_FILE_H_ */