Protocol Buffers - Google's data interchange format (grpc依赖)
https://developers.google.com/protocol-buffers/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
34 lines
887 B
34 lines
887 B
2 years ago
|
// Protocol Buffers - Google's data interchange format
|
||
|
// Copyright 2023 Google LLC. All rights reserved.
|
||
|
//
|
||
1 year ago
|
// Use of this source code is governed by a BSD-style
|
||
|
// license that can be found in the LICENSE file or at
|
||
|
// https://developers.google.com/open-source/licenses/bsd
|
||
3 years ago
|
|
||
2 years ago
|
#ifndef UPB_REFLECTION_SERVICE_DEF_INTERNAL_H_
|
||
|
#define UPB_REFLECTION_SERVICE_DEF_INTERNAL_H_
|
||
3 years ago
|
|
||
1 year ago
|
#include "upb/reflection/service_def.h"
|
||
3 years ago
|
|
||
|
// Must be last.
|
||
1 year ago
|
#include "upb/port/def.inc"
|
||
3 years ago
|
|
||
|
#ifdef __cplusplus
|
||
|
extern "C" {
|
||
|
#endif
|
||
|
|
||
2 years ago
|
upb_ServiceDef* _upb_ServiceDef_At(const upb_ServiceDef* s, int i);
|
||
2 years ago
|
|
||
2 years ago
|
// Allocate and initialize an array of |n| service defs.
|
||
|
upb_ServiceDef* _upb_ServiceDefs_New(
|
||
|
upb_DefBuilder* ctx, int n,
|
||
2 years ago
|
const UPB_DESC(ServiceDescriptorProto) * const* protos);
|
||
2 years ago
|
|
||
3 years ago
|
#ifdef __cplusplus
|
||
|
} /* extern "C" */
|
||
|
#endif
|
||
|
|
||
1 year ago
|
#include "upb/port/undef.inc"
|
||
3 years ago
|
|
||
2 years ago
|
#endif /* UPB_REFLECTION_SERVICE_DEF_INTERNAL_H_ */
|