File indexing completed on 2025-01-18 10:13:18
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010 #ifndef UPB_REFLECTION_SERVICE_DEF_H_
0011 #define UPB_REFLECTION_SERVICE_DEF_H_
0012
0013 #include "upb/reflection/common.h"
0014
0015
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 }
0039 #endif
0040
0041 #include "upb/port/undef.inc"
0042
0043 #endif