2 * Copyright 2020, Intel Corporation
4 * This program is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU General Public License,
6 * version 2 as published by the Free Software Foundation..
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
14 /* Generated by the protocol buffer compiler. DO NOT EDIT! */
15 /* Generated from: librpma_gpspm_flush.proto */
17 #ifndef PROTOBUF_C_GPSPM_5fflush_2eproto__INCLUDED
18 #define PROTOBUF_C_GPSPM_5fflush_2eproto__INCLUDED
20 #include <protobuf-c/protobuf-c.h>
22 PROTOBUF_C__BEGIN_DECLS
24 #if PROTOBUF_C_VERSION_NUMBER < 1000000
25 # error This file was generated by a newer version of protoc-c which is incompatible with your libprotobuf-c headers. Please update your headers.
26 #elif 1003003 < PROTOBUF_C_MIN_COMPILER_VERSION
27 # error This file was generated by an older version of protoc-c which is incompatible with your libprotobuf-c headers. Please regenerate this file with a newer version of protoc-c.
31 typedef struct _GPSPMFlushRequest GPSPMFlushRequest;
32 typedef struct _GPSPMFlushResponse GPSPMFlushResponse;
38 /* --- messages --- */
40 struct _GPSPMFlushRequest
42 ProtobufCMessage base;
47 #define GPSPM_FLUSH_REQUEST__INIT \
48 { PROTOBUF_C_MESSAGE_INIT (&gpspm_flush_request__descriptor) \
52 struct _GPSPMFlushResponse
54 ProtobufCMessage base;
57 #define GPSPM_FLUSH_RESPONSE__INIT \
58 { PROTOBUF_C_MESSAGE_INIT (&gpspm_flush_response__descriptor) \
62 /* GPSPMFlushRequest methods */
63 void gpspm_flush_request__init
64 (GPSPMFlushRequest *message);
65 size_t gpspm_flush_request__get_packed_size
66 (const GPSPMFlushRequest *message);
67 size_t gpspm_flush_request__pack
68 (const GPSPMFlushRequest *message,
70 size_t gpspm_flush_request__pack_to_buffer
71 (const GPSPMFlushRequest *message,
72 ProtobufCBuffer *buffer);
74 gpspm_flush_request__unpack
75 (ProtobufCAllocator *allocator,
78 void gpspm_flush_request__free_unpacked
79 (GPSPMFlushRequest *message,
80 ProtobufCAllocator *allocator);
81 /* GPSPMFlushResponse methods */
82 void gpspm_flush_response__init
83 (GPSPMFlushResponse *message);
84 size_t gpspm_flush_response__get_packed_size
85 (const GPSPMFlushResponse *message);
86 size_t gpspm_flush_response__pack
87 (const GPSPMFlushResponse *message,
89 size_t gpspm_flush_response__pack_to_buffer
90 (const GPSPMFlushResponse *message,
91 ProtobufCBuffer *buffer);
93 gpspm_flush_response__unpack
94 (ProtobufCAllocator *allocator,
97 void gpspm_flush_response__free_unpacked
98 (GPSPMFlushResponse *message,
99 ProtobufCAllocator *allocator);
100 /* --- per-message closures --- */
102 typedef void (*GPSPMFlushRequest_Closure)
103 (const GPSPMFlushRequest *message,
105 typedef void (*GPSPMFlushResponse_Closure)
106 (const GPSPMFlushResponse *message,
109 /* --- services --- */
112 /* --- descriptors --- */
114 extern const ProtobufCMessageDescriptor gpspm_flush_request__descriptor;
115 extern const ProtobufCMessageDescriptor gpspm_flush_response__descriptor;
117 PROTOBUF_C__END_DECLS
120 #endif /* PROTOBUF_C_GPSPM_5fflush_2eproto__INCLUDED */