/* Generated by the protocol buffer compiler.  DO NOT EDIT! */
/* Generated from: google/protobuf/source_context.proto */

#ifndef PROTOBUF_C_google_2fprotobuf_2fsource_5fcontext_2eproto__INCLUDED
#define PROTOBUF_C_google_2fprotobuf_2fsource_5fcontext_2eproto__INCLUDED

#include <protobuf-c/protobuf-c.h>

PROTOBUF_C__BEGIN_DECLS

#if PROTOBUF_C_VERSION_NUMBER < 1000000
# 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 1002001 < 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 _Google__Protobuf__SourceContext Google__Protobuf__SourceContext;


/* --- enums --- */


/* --- messages --- */

/*
 * `SourceContext` represents information about the source of a
 * protobuf element, like the file in which it is defined.
 */
struct  _Google__Protobuf__SourceContext
{
  ProtobufCMessage base;
  /*
   * The path-qualified name of the .proto file that contained the associated
   * protobuf element.  For example: `"google/protobuf/source_context.proto"`.
   */
  char *file_name;
};
#define GOOGLE__PROTOBUF__SOURCE_CONTEXT__INIT \
 { PROTOBUF_C_MESSAGE_INIT (&google__protobuf__source_context__descriptor) \
    , NULL }


/* Google__Protobuf__SourceContext methods */
void   google__protobuf__source_context__init
                     (Google__Protobuf__SourceContext         *message);
size_t google__protobuf__source_context__get_packed_size
                     (const Google__Protobuf__SourceContext   *message);
size_t google__protobuf__source_context__pack
                     (const Google__Protobuf__SourceContext   *message,
                      uint8_t             *out);
size_t google__protobuf__source_context__pack_to_buffer
                     (const Google__Protobuf__SourceContext   *message,
                      ProtobufCBuffer     *buffer);
Google__Protobuf__SourceContext *
       google__protobuf__source_context__unpack
                     (ProtobufCAllocator  *allocator,
                      size_t               len,
                      const uint8_t       *data);
void   google__protobuf__source_context__free_unpacked
                     (Google__Protobuf__SourceContext *message,
                      ProtobufCAllocator *allocator);
/* --- per-message closures --- */

typedef void (*Google__Protobuf__SourceContext_Closure)
                 (const Google__Protobuf__SourceContext *message,
                  void *closure_data);

/* --- services --- */


/* --- descriptors --- */

extern const ProtobufCMessageDescriptor google__protobuf__source_context__descriptor;

PROTOBUF_C__END_DECLS


#endif  /* PROTOBUF_C_google_2fprotobuf_2fsource_5fcontext_2eproto__INCLUDED */
