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 // IWYU pragma: private, include "upb/reflection/def.h"
0009 
0010 #ifndef UPB_REFLECTION_SERVICE_DEF_H_
0011 #define UPB_REFLECTION_SERVICE_DEF_H_
0012 
0013 #include "upb/reflection/common.h"
0014 
0015 // Must be last.
0016 #include "upb/port/def.inc"
0017 
0018 #ifdef __cplusplus
0019 extern "C" {
0020 #endif
0021 
0022 UPB_API const upb_FileDef* upb_ServiceDef_File(const upb_ServiceDef* s);
0023 const upb_MethodDef* upb_ServiceDef_FindMethodByName(const upb_ServiceDef* s,
0024                                                      const char* name);
0025 UPB_API const char* upb_ServiceDef_FullName(const upb_ServiceDef* s);
0026 bool upb_ServiceDef_HasOptions(const upb_ServiceDef* s);
0027 int upb_ServiceDef_Index(const upb_ServiceDef* s);
0028 UPB_API const upb_MethodDef* upb_ServiceDef_Method(const upb_ServiceDef* s,
0029                                                    int i);
0030 UPB_API int upb_ServiceDef_MethodCount(const upb_ServiceDef* s);
0031 const char* upb_ServiceDef_Name(const upb_ServiceDef* s);
0032 UPB_API const UPB_DESC(ServiceOptions) *
0033     upb_ServiceDef_Options(const upb_ServiceDef* s);
0034 const UPB_DESC(FeatureSet) *
0035     upb_ServiceDef_ResolvedFeatures(const upb_ServiceDef* s);
0036 
0037 #ifdef __cplusplus
0038 } /* extern "C" */
0039 #endif
0040 
0041 #include "upb/port/undef.inc"
0042 
0043 #endif /* UPB_REFLECTION_SERVICE_DEF_H_ */