Back to home page

EIC code displayed by LXR

 
 

    


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

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_JSON_DECODE_H_
0009 #define UPB_JSON_DECODE_H_
0010 
0011 #include "upb/reflection/def.h"
0012 
0013 // Must be last.
0014 #include "upb/port/def.inc"
0015 
0016 #ifdef __cplusplus
0017 extern "C" {
0018 #endif
0019 
0020 enum { upb_JsonDecode_IgnoreUnknown = 1 };
0021 
0022 UPB_API bool upb_JsonDecode(const char* buf, size_t size, upb_Message* msg,
0023                             const upb_MessageDef* m, const upb_DefPool* symtab,
0024                             int options, upb_Arena* arena, upb_Status* status);
0025 
0026 #ifdef __cplusplus
0027 } /* extern "C" */
0028 #endif
0029 
0030 #include "upb/port/undef.inc"
0031 
0032 #endif /* UPB_JSONDECODE_H_ */