shvm.pb-c.h 10.5 KB
Newer Older
Vít Kabele's avatar
Vít Kabele committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35
/* Generated by the protocol buffer compiler.  DO NOT EDIT! */
/* Generated from: shvm.proto */

#ifndef PROTOBUF_C_shvm_2eproto__INCLUDED
#define PROTOBUF_C_shvm_2eproto__INCLUDED

#include "protobuf-c.h"

PROTOBUF_C__BEGIN_DECLS

#if PROTOBUF_C_VERSION_NUMBER < 1003000
# error This file was generated by a newer version of protoc-c which is incompatible with your libprotobuf-c headers. Please update your headers.
#elif 1003001 < PROTOBUF_C_MIN_COMPILER_VERSION
# 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.
#endif


typedef struct _Analyze Analyze;
typedef struct _ClassInfo ClassInfo;
typedef struct _NewClass NewClass;
typedef struct _ObjectFree ObjectFree;
typedef struct _RegisterAnalysis RegisterAnalysis;
typedef struct _StringInfo StringInfo;
typedef struct _ThreadEnd ThreadEnd;
typedef struct _ThreadInfo ThreadInfo;


/* --- enums --- */


/* --- messages --- */

struct  _Analyze
{
  ProtobufCMessage base;
36 37
  int64_t orderingid;
  int32_t invocationcount;
Vít Kabele's avatar
Vít Kabele committed
38 39 40 41
  ProtobufCBinaryData rawdata;
};
#define ANALYZE__INIT \
 { PROTOBUF_C_MESSAGE_INIT (&analyze__descriptor) \
42
    , 0, 0, {0,NULL} }
Vít Kabele's avatar
Vít Kabele committed
43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73


struct  _ClassInfo
{
  ProtobufCMessage base;
  int64_t classtag;
  char *classsignature;
  char *classgeneric;
  int64_t loadertag;
  int64_t superclasstag;
};
#define CLASS_INFO__INIT \
 { PROTOBUF_C_MESSAGE_INIT (&class_info__descriptor) \
    , 0, (char *)protobuf_c_empty_string, (char *)protobuf_c_empty_string, 0, 0 }


struct  _NewClass
{
  ProtobufCMessage base;
  char *classname;
  int64_t classloadertag;
  ProtobufCBinaryData classdata;
};
#define NEW_CLASS__INIT \
 { PROTOBUF_C_MESSAGE_INIT (&new_class__descriptor) \
    , (char *)protobuf_c_empty_string, 0, {0,NULL} }


struct  _ObjectFree
{
  ProtobufCMessage base;
74
  int32_t count;
Vít Kabele's avatar
Vít Kabele committed
75 76 77 78
  ProtobufCBinaryData rawdata;
};
#define OBJECT_FREE__INIT \
 { PROTOBUF_C_MESSAGE_INIT (&object_free__descriptor) \
79
    , 0, {0,NULL} }
Vít Kabele's avatar
Vít Kabele committed
80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322


struct  _RegisterAnalysis
{
  ProtobufCMessage base;
  int32_t analysisid;
  char *descriptor;
};
#define REGISTER_ANALYSIS__INIT \
 { PROTOBUF_C_MESSAGE_INIT (&register_analysis__descriptor) \
    , 0, (char *)protobuf_c_empty_string }


struct  _StringInfo
{
  ProtobufCMessage base;
  int64_t stringtag;
  char *stringdata;
};
#define STRING_INFO__INIT \
 { PROTOBUF_C_MESSAGE_INIT (&string_info__descriptor) \
    , 0, (char *)protobuf_c_empty_string }


struct  _ThreadEnd
{
  ProtobufCMessage base;
  int64_t threadid;
};
#define THREAD_END__INIT \
 { PROTOBUF_C_MESSAGE_INIT (&thread_end__descriptor) \
    , 0 }


struct  _ThreadInfo
{
  ProtobufCMessage base;
  int64_t threadtag;
  char *name;
  protobuf_c_boolean isdaemon;
};
#define THREAD_INFO__INIT \
 { PROTOBUF_C_MESSAGE_INIT (&thread_info__descriptor) \
    , 0, (char *)protobuf_c_empty_string, 0 }


/* Analyze methods */
void   analyze__init
                     (Analyze         *message);
size_t analyze__get_packed_size
                     (const Analyze   *message);
size_t analyze__pack
                     (const Analyze   *message,
                      uint8_t             *out);
size_t analyze__pack_to_buffer
                     (const Analyze   *message,
                      ProtobufCBuffer     *buffer);
Analyze *
       analyze__unpack
                     (ProtobufCAllocator  *allocator,
                      size_t               len,
                      const uint8_t       *data);
void   analyze__free_unpacked
                     (Analyze *message,
                      ProtobufCAllocator *allocator);
/* ClassInfo methods */
void   class_info__init
                     (ClassInfo         *message);
size_t class_info__get_packed_size
                     (const ClassInfo   *message);
size_t class_info__pack
                     (const ClassInfo   *message,
                      uint8_t             *out);
size_t class_info__pack_to_buffer
                     (const ClassInfo   *message,
                      ProtobufCBuffer     *buffer);
ClassInfo *
       class_info__unpack
                     (ProtobufCAllocator  *allocator,
                      size_t               len,
                      const uint8_t       *data);
void   class_info__free_unpacked
                     (ClassInfo *message,
                      ProtobufCAllocator *allocator);
/* NewClass methods */
void   new_class__init
                     (NewClass         *message);
size_t new_class__get_packed_size
                     (const NewClass   *message);
size_t new_class__pack
                     (const NewClass   *message,
                      uint8_t             *out);
size_t new_class__pack_to_buffer
                     (const NewClass   *message,
                      ProtobufCBuffer     *buffer);
NewClass *
       new_class__unpack
                     (ProtobufCAllocator  *allocator,
                      size_t               len,
                      const uint8_t       *data);
void   new_class__free_unpacked
                     (NewClass *message,
                      ProtobufCAllocator *allocator);
/* ObjectFree methods */
void   object_free__init
                     (ObjectFree         *message);
size_t object_free__get_packed_size
                     (const ObjectFree   *message);
size_t object_free__pack
                     (const ObjectFree   *message,
                      uint8_t             *out);
size_t object_free__pack_to_buffer
                     (const ObjectFree   *message,
                      ProtobufCBuffer     *buffer);
ObjectFree *
       object_free__unpack
                     (ProtobufCAllocator  *allocator,
                      size_t               len,
                      const uint8_t       *data);
void   object_free__free_unpacked
                     (ObjectFree *message,
                      ProtobufCAllocator *allocator);
/* RegisterAnalysis methods */
void   register_analysis__init
                     (RegisterAnalysis         *message);
size_t register_analysis__get_packed_size
                     (const RegisterAnalysis   *message);
size_t register_analysis__pack
                     (const RegisterAnalysis   *message,
                      uint8_t             *out);
size_t register_analysis__pack_to_buffer
                     (const RegisterAnalysis   *message,
                      ProtobufCBuffer     *buffer);
RegisterAnalysis *
       register_analysis__unpack
                     (ProtobufCAllocator  *allocator,
                      size_t               len,
                      const uint8_t       *data);
void   register_analysis__free_unpacked
                     (RegisterAnalysis *message,
                      ProtobufCAllocator *allocator);
/* StringInfo methods */
void   string_info__init
                     (StringInfo         *message);
size_t string_info__get_packed_size
                     (const StringInfo   *message);
size_t string_info__pack
                     (const StringInfo   *message,
                      uint8_t             *out);
size_t string_info__pack_to_buffer
                     (const StringInfo   *message,
                      ProtobufCBuffer     *buffer);
StringInfo *
       string_info__unpack
                     (ProtobufCAllocator  *allocator,
                      size_t               len,
                      const uint8_t       *data);
void   string_info__free_unpacked
                     (StringInfo *message,
                      ProtobufCAllocator *allocator);
/* ThreadEnd methods */
void   thread_end__init
                     (ThreadEnd         *message);
size_t thread_end__get_packed_size
                     (const ThreadEnd   *message);
size_t thread_end__pack
                     (const ThreadEnd   *message,
                      uint8_t             *out);
size_t thread_end__pack_to_buffer
                     (const ThreadEnd   *message,
                      ProtobufCBuffer     *buffer);
ThreadEnd *
       thread_end__unpack
                     (ProtobufCAllocator  *allocator,
                      size_t               len,
                      const uint8_t       *data);
void   thread_end__free_unpacked
                     (ThreadEnd *message,
                      ProtobufCAllocator *allocator);
/* ThreadInfo methods */
void   thread_info__init
                     (ThreadInfo         *message);
size_t thread_info__get_packed_size
                     (const ThreadInfo   *message);
size_t thread_info__pack
                     (const ThreadInfo   *message,
                      uint8_t             *out);
size_t thread_info__pack_to_buffer
                     (const ThreadInfo   *message,
                      ProtobufCBuffer     *buffer);
ThreadInfo *
       thread_info__unpack
                     (ProtobufCAllocator  *allocator,
                      size_t               len,
                      const uint8_t       *data);
void   thread_info__free_unpacked
                     (ThreadInfo *message,
                      ProtobufCAllocator *allocator);
/* --- per-message closures --- */

typedef void (*Analyze_Closure)
                 (const Analyze *message,
                  void *closure_data);
typedef void (*ClassInfo_Closure)
                 (const ClassInfo *message,
                  void *closure_data);
typedef void (*NewClass_Closure)
                 (const NewClass *message,
                  void *closure_data);
typedef void (*ObjectFree_Closure)
                 (const ObjectFree *message,
                  void *closure_data);
typedef void (*RegisterAnalysis_Closure)
                 (const RegisterAnalysis *message,
                  void *closure_data);
typedef void (*StringInfo_Closure)
                 (const StringInfo *message,
                  void *closure_data);
typedef void (*ThreadEnd_Closure)
                 (const ThreadEnd *message,
                  void *closure_data);
typedef void (*ThreadInfo_Closure)
                 (const ThreadInfo *message,
                  void *closure_data);

/* --- services --- */


/* --- descriptors --- */

extern const ProtobufCMessageDescriptor analyze__descriptor;
extern const ProtobufCMessageDescriptor class_info__descriptor;
extern const ProtobufCMessageDescriptor new_class__descriptor;
extern const ProtobufCMessageDescriptor object_free__descriptor;
extern const ProtobufCMessageDescriptor register_analysis__descriptor;
extern const ProtobufCMessageDescriptor string_info__descriptor;
extern const ProtobufCMessageDescriptor thread_end__descriptor;
extern const ProtobufCMessageDescriptor thread_info__descriptor;

PROTOBUF_C__END_DECLS


#endif  /* PROTOBUF_C_shvm_2eproto__INCLUDED */