WPILibC++ 2027.0.0-alpha-3
Loading...
Searching...
No Matches
service_def.h
Go to the documentation of this file.
1// Protocol Buffers - Google's data interchange format
2// Copyright 2023 Google LLC. All rights reserved.
3//
4// Use of this source code is governed by a BSD-style
5// license that can be found in the LICENSE file or at
6// https://developers.google.com/open-source/licenses/bsd
7
8// IWYU pragma: private, include "upb/reflection/def.h"
9
10#ifndef UPB_REFLECTION_SERVICE_DEF_H_
11#define UPB_REFLECTION_SERVICE_DEF_H_
12
14
15// Must be last.
16#include "upb/port/def.inc"
17
18#ifdef __cplusplus
19extern "C" {
20#endif
21
24 const char* name);
29 int i);
31const char* upb_ServiceDef_Name(const upb_ServiceDef* s);
32UPB_API const UPB_DESC(ServiceOptions) *
33 upb_ServiceDef_Options(const upb_ServiceDef* s);
34const UPB_DESC(FeatureSet) *
35 upb_ServiceDef_ResolvedFeatures(const upb_ServiceDef* s);
36
37#ifdef __cplusplus
38} /* extern "C" */
39#endif
40
41#include "upb/port/undef.inc"
42
43#endif /* UPB_REFLECTION_SERVICE_DEF_H_ */
#define UPB_DESC(sym)
Definition def.inc:496
#define UPB_API
Definition def.inc:162
struct upb_FileDef upb_FileDef
Definition common.h:30
struct upb_ServiceDef upb_ServiceDef
Definition common.h:35
struct upb_MethodDef upb_MethodDef
Definition common.h:33
UPB_API const char * upb_ServiceDef_FullName(const upb_ServiceDef *s)
UPB_API int upb_ServiceDef_MethodCount(const upb_ServiceDef *s)
UPB_API const upb_MethodDef * upb_ServiceDef_Method(const upb_ServiceDef *s, int i)
int upb_ServiceDef_Index(const upb_ServiceDef *s)
bool upb_ServiceDef_HasOptions(const upb_ServiceDef *s)
const upb_MethodDef * upb_ServiceDef_FindMethodByName(const upb_ServiceDef *s, const char *name)
UPB_API const upb_FileDef * upb_ServiceDef_File(const upb_ServiceDef *s)
const char * upb_ServiceDef_Name(const upb_ServiceDef *s)