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

Service. More...

Data Fields

const ProtobufCServiceDescriptor * descriptor
 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.