protobuf-c 1.5.1
Protocol Buffers implementation in C
ProtobufCService Struct Reference

Service. More...

Data Fields

const ProtobufCServiceDescriptordescriptor
 Service descriptor.
 
void(* invoke )(ProtobufCService *service, unsigned method_index, const ProtobufCMessage *input, ProtobufCClosure closure, void *closure_data)
 Function to invoke the service.
 
void(* destroy )(ProtobufCService *service)
 Function to destroy the service.
 

Detailed Description

Service.

Field Documentation

◆ descriptor

const ProtobufCServiceDescriptor* ProtobufCService::descriptor

Service descriptor.

◆ invoke

void(* ProtobufCService::invoke) (ProtobufCService *service, unsigned method_index, const ProtobufCMessage *input, ProtobufCClosure closure, void *closure_data)

Function to invoke the service.

◆ destroy

void(* ProtobufCService::destroy) (ProtobufCService *service)

Function to destroy the service.