\hypertarget{struct_protobuf_c_enum_descriptor}{}\section{Protobuf\+C\+Enum\+Descriptor Struct Reference}
\label{struct_protobuf_c_enum_descriptor}\index{Protobuf\+C\+Enum\+Descriptor@{Protobuf\+C\+Enum\+Descriptor}}


{\ttfamily \#include $<$protobuf-\/c.\+h$>$}



Collaboration diagram for Protobuf\+C\+Enum\+Descriptor\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{struct_protobuf_c_enum_descriptor__coll__graph}
\end{center}
\end{figure}
\subsection*{Data Fields}
\begin{DoxyCompactItemize}
\item 
\hyperlink{uthash_8h_a435d1572bf3f880d55459d9805097f62}{uint32\+\_\+t} \hyperlink{struct_protobuf_c_enum_descriptor_a57f54349f4fd1cbbb52058812e146af2}{magic}
\item 
const char $\ast$ \hyperlink{struct_protobuf_c_enum_descriptor_a8f8f80d37794cde9472343e4487ba3eb}{name}
\item 
const char $\ast$ \hyperlink{struct_protobuf_c_enum_descriptor_a0450bcd11f025ca4e4161b96171ae150}{short\+\_\+name}
\item 
const char $\ast$ \hyperlink{struct_protobuf_c_enum_descriptor_a91c73d60b5effaac5e74b87e37809a38}{c\+\_\+name}
\item 
const char $\ast$ \hyperlink{struct_protobuf_c_enum_descriptor_a766f4083ce615c14a5c93fde78545f53}{package\+\_\+name}
\item 
unsigned \hyperlink{struct_protobuf_c_enum_descriptor_ad3e2bc69dcc99f36429202886e325b22}{n\+\_\+values}
\item 
const \hyperlink{struct_protobuf_c_enum_value}{Protobuf\+C\+Enum\+Value} $\ast$ \hyperlink{struct_protobuf_c_enum_descriptor_a32c98893961035578d41ba486da532d6}{values}
\item 
unsigned \hyperlink{struct_protobuf_c_enum_descriptor_aa4b52e8bee72f8beb823fb26d3c48b8f}{n\+\_\+value\+\_\+names}
\item 
const \hyperlink{struct_protobuf_c_enum_value_index}{Protobuf\+C\+Enum\+Value\+Index} $\ast$ \hyperlink{struct_protobuf_c_enum_descriptor_af749eebf51a713b7143e24300565a628}{values\+\_\+by\+\_\+name}
\item 
unsigned \hyperlink{struct_protobuf_c_enum_descriptor_a387abd98defa169e084e656b6d0899e7}{n\+\_\+value\+\_\+ranges}
\item 
const \hyperlink{struct_protobuf_c_int_range}{Protobuf\+C\+Int\+Range} $\ast$ \hyperlink{struct_protobuf_c_enum_descriptor_a3a6698c2dd50c7063c0ec91fea39fb2b}{value\+\_\+ranges}
\item 
void $\ast$ \hyperlink{struct_protobuf_c_enum_descriptor_a66808c6c9c319041ef40efb34e6f88db}{reserved1}
\item 
void $\ast$ \hyperlink{struct_protobuf_c_enum_descriptor_a500f748997956fcb15a4740664b3688c}{reserved2}
\item 
void $\ast$ \hyperlink{struct_protobuf_c_enum_descriptor_a83dd70a7026a828a69e0f31a3422cced}{reserved3}
\item 
void $\ast$ \hyperlink{struct_protobuf_c_enum_descriptor_ab89774d1d07c79754d7e92bc93bd3f68}{reserved4}
\end{DoxyCompactItemize}


\subsection{Detailed Description}
Describes an enumeration as a whole, with all of its values. 

Definition at line 486 of file protobuf-\/c.\+h.



\subsection{Field Documentation}
\mbox{\Hypertarget{struct_protobuf_c_enum_descriptor_a91c73d60b5effaac5e74b87e37809a38}\label{struct_protobuf_c_enum_descriptor_a91c73d60b5effaac5e74b87e37809a38}} 
\index{Protobuf\+C\+Enum\+Descriptor@{Protobuf\+C\+Enum\+Descriptor}!c\+\_\+name@{c\+\_\+name}}
\index{c\+\_\+name@{c\+\_\+name}!Protobuf\+C\+Enum\+Descriptor@{Protobuf\+C\+Enum\+Descriptor}}
\subsubsection{\texorpdfstring{c\+\_\+name}{c\_name}}
{\footnotesize\ttfamily const char$\ast$ c\+\_\+name}

Identifier used in generated C code. 

Definition at line 495 of file protobuf-\/c.\+h.

\mbox{\Hypertarget{struct_protobuf_c_enum_descriptor_a57f54349f4fd1cbbb52058812e146af2}\label{struct_protobuf_c_enum_descriptor_a57f54349f4fd1cbbb52058812e146af2}} 
\index{Protobuf\+C\+Enum\+Descriptor@{Protobuf\+C\+Enum\+Descriptor}!magic@{magic}}
\index{magic@{magic}!Protobuf\+C\+Enum\+Descriptor@{Protobuf\+C\+Enum\+Descriptor}}
\subsubsection{\texorpdfstring{magic}{magic}}
{\footnotesize\ttfamily \hyperlink{uthash_8h_a435d1572bf3f880d55459d9805097f62}{uint32\+\_\+t} magic}

Magic value checked to ensure that the A\+PI is used correctly. 

Definition at line 488 of file protobuf-\/c.\+h.

\mbox{\Hypertarget{struct_protobuf_c_enum_descriptor_aa4b52e8bee72f8beb823fb26d3c48b8f}\label{struct_protobuf_c_enum_descriptor_aa4b52e8bee72f8beb823fb26d3c48b8f}} 
\index{Protobuf\+C\+Enum\+Descriptor@{Protobuf\+C\+Enum\+Descriptor}!n\+\_\+value\+\_\+names@{n\+\_\+value\+\_\+names}}
\index{n\+\_\+value\+\_\+names@{n\+\_\+value\+\_\+names}!Protobuf\+C\+Enum\+Descriptor@{Protobuf\+C\+Enum\+Descriptor}}
\subsubsection{\texorpdfstring{n\+\_\+value\+\_\+names}{n\_value\_names}}
{\footnotesize\ttfamily unsigned n\+\_\+value\+\_\+names}

Number of elements in {\ttfamily values\+\_\+by\+\_\+name}. 

Definition at line 505 of file protobuf-\/c.\+h.

\mbox{\Hypertarget{struct_protobuf_c_enum_descriptor_a387abd98defa169e084e656b6d0899e7}\label{struct_protobuf_c_enum_descriptor_a387abd98defa169e084e656b6d0899e7}} 
\index{Protobuf\+C\+Enum\+Descriptor@{Protobuf\+C\+Enum\+Descriptor}!n\+\_\+value\+\_\+ranges@{n\+\_\+value\+\_\+ranges}}
\index{n\+\_\+value\+\_\+ranges@{n\+\_\+value\+\_\+ranges}!Protobuf\+C\+Enum\+Descriptor@{Protobuf\+C\+Enum\+Descriptor}}
\subsubsection{\texorpdfstring{n\+\_\+value\+\_\+ranges}{n\_value\_ranges}}
{\footnotesize\ttfamily unsigned n\+\_\+value\+\_\+ranges}

Number of elements in {\ttfamily value\+\_\+ranges}. 

Definition at line 510 of file protobuf-\/c.\+h.

\mbox{\Hypertarget{struct_protobuf_c_enum_descriptor_ad3e2bc69dcc99f36429202886e325b22}\label{struct_protobuf_c_enum_descriptor_ad3e2bc69dcc99f36429202886e325b22}} 
\index{Protobuf\+C\+Enum\+Descriptor@{Protobuf\+C\+Enum\+Descriptor}!n\+\_\+values@{n\+\_\+values}}
\index{n\+\_\+values@{n\+\_\+values}!Protobuf\+C\+Enum\+Descriptor@{Protobuf\+C\+Enum\+Descriptor}}
\subsubsection{\texorpdfstring{n\+\_\+values}{n\_values}}
{\footnotesize\ttfamily unsigned n\+\_\+values}

Number elements in {\ttfamily values}. 

Definition at line 500 of file protobuf-\/c.\+h.

\mbox{\Hypertarget{struct_protobuf_c_enum_descriptor_a8f8f80d37794cde9472343e4487ba3eb}\label{struct_protobuf_c_enum_descriptor_a8f8f80d37794cde9472343e4487ba3eb}} 
\index{Protobuf\+C\+Enum\+Descriptor@{Protobuf\+C\+Enum\+Descriptor}!name@{name}}
\index{name@{name}!Protobuf\+C\+Enum\+Descriptor@{Protobuf\+C\+Enum\+Descriptor}}
\subsubsection{\texorpdfstring{name}{name}}
{\footnotesize\ttfamily const char$\ast$ name}

The qualified name (e.\+g., \char`\"{}namespace.\+Type\char`\"{}). 

Definition at line 491 of file protobuf-\/c.\+h.

\mbox{\Hypertarget{struct_protobuf_c_enum_descriptor_a766f4083ce615c14a5c93fde78545f53}\label{struct_protobuf_c_enum_descriptor_a766f4083ce615c14a5c93fde78545f53}} 
\index{Protobuf\+C\+Enum\+Descriptor@{Protobuf\+C\+Enum\+Descriptor}!package\+\_\+name@{package\+\_\+name}}
\index{package\+\_\+name@{package\+\_\+name}!Protobuf\+C\+Enum\+Descriptor@{Protobuf\+C\+Enum\+Descriptor}}
\subsubsection{\texorpdfstring{package\+\_\+name}{package\_name}}
{\footnotesize\ttfamily const char$\ast$ package\+\_\+name}

The dot-\/separated namespace. 

Definition at line 497 of file protobuf-\/c.\+h.

\mbox{\Hypertarget{struct_protobuf_c_enum_descriptor_a66808c6c9c319041ef40efb34e6f88db}\label{struct_protobuf_c_enum_descriptor_a66808c6c9c319041ef40efb34e6f88db}} 
\index{Protobuf\+C\+Enum\+Descriptor@{Protobuf\+C\+Enum\+Descriptor}!reserved1@{reserved1}}
\index{reserved1@{reserved1}!Protobuf\+C\+Enum\+Descriptor@{Protobuf\+C\+Enum\+Descriptor}}
\subsubsection{\texorpdfstring{reserved1}{reserved1}}
{\footnotesize\ttfamily void$\ast$ reserved1}

Reserved for future use. 

Definition at line 515 of file protobuf-\/c.\+h.

\mbox{\Hypertarget{struct_protobuf_c_enum_descriptor_a500f748997956fcb15a4740664b3688c}\label{struct_protobuf_c_enum_descriptor_a500f748997956fcb15a4740664b3688c}} 
\index{Protobuf\+C\+Enum\+Descriptor@{Protobuf\+C\+Enum\+Descriptor}!reserved2@{reserved2}}
\index{reserved2@{reserved2}!Protobuf\+C\+Enum\+Descriptor@{Protobuf\+C\+Enum\+Descriptor}}
\subsubsection{\texorpdfstring{reserved2}{reserved2}}
{\footnotesize\ttfamily void$\ast$ reserved2}

Reserved for future use. 

Definition at line 517 of file protobuf-\/c.\+h.

\mbox{\Hypertarget{struct_protobuf_c_enum_descriptor_a83dd70a7026a828a69e0f31a3422cced}\label{struct_protobuf_c_enum_descriptor_a83dd70a7026a828a69e0f31a3422cced}} 
\index{Protobuf\+C\+Enum\+Descriptor@{Protobuf\+C\+Enum\+Descriptor}!reserved3@{reserved3}}
\index{reserved3@{reserved3}!Protobuf\+C\+Enum\+Descriptor@{Protobuf\+C\+Enum\+Descriptor}}
\subsubsection{\texorpdfstring{reserved3}{reserved3}}
{\footnotesize\ttfamily void$\ast$ reserved3}

Reserved for future use. 

Definition at line 519 of file protobuf-\/c.\+h.

\mbox{\Hypertarget{struct_protobuf_c_enum_descriptor_ab89774d1d07c79754d7e92bc93bd3f68}\label{struct_protobuf_c_enum_descriptor_ab89774d1d07c79754d7e92bc93bd3f68}} 
\index{Protobuf\+C\+Enum\+Descriptor@{Protobuf\+C\+Enum\+Descriptor}!reserved4@{reserved4}}
\index{reserved4@{reserved4}!Protobuf\+C\+Enum\+Descriptor@{Protobuf\+C\+Enum\+Descriptor}}
\subsubsection{\texorpdfstring{reserved4}{reserved4}}
{\footnotesize\ttfamily void$\ast$ reserved4}

Reserved for future use. 

Definition at line 521 of file protobuf-\/c.\+h.

\mbox{\Hypertarget{struct_protobuf_c_enum_descriptor_a0450bcd11f025ca4e4161b96171ae150}\label{struct_protobuf_c_enum_descriptor_a0450bcd11f025ca4e4161b96171ae150}} 
\index{Protobuf\+C\+Enum\+Descriptor@{Protobuf\+C\+Enum\+Descriptor}!short\+\_\+name@{short\+\_\+name}}
\index{short\+\_\+name@{short\+\_\+name}!Protobuf\+C\+Enum\+Descriptor@{Protobuf\+C\+Enum\+Descriptor}}
\subsubsection{\texorpdfstring{short\+\_\+name}{short\_name}}
{\footnotesize\ttfamily const char$\ast$ short\+\_\+name}

The unqualified name as given in the .proto file (e.\+g., \char`\"{}\+Type\char`\"{}). 

Definition at line 493 of file protobuf-\/c.\+h.

\mbox{\Hypertarget{struct_protobuf_c_enum_descriptor_a3a6698c2dd50c7063c0ec91fea39fb2b}\label{struct_protobuf_c_enum_descriptor_a3a6698c2dd50c7063c0ec91fea39fb2b}} 
\index{Protobuf\+C\+Enum\+Descriptor@{Protobuf\+C\+Enum\+Descriptor}!value\+\_\+ranges@{value\+\_\+ranges}}
\index{value\+\_\+ranges@{value\+\_\+ranges}!Protobuf\+C\+Enum\+Descriptor@{Protobuf\+C\+Enum\+Descriptor}}
\subsubsection{\texorpdfstring{value\+\_\+ranges}{value\_ranges}}
{\footnotesize\ttfamily const \hyperlink{struct_protobuf_c_int_range}{Protobuf\+C\+Int\+Range}$\ast$ value\+\_\+ranges}

Value ranges, for faster lookups by numeric value. 

Definition at line 512 of file protobuf-\/c.\+h.

\mbox{\Hypertarget{struct_protobuf_c_enum_descriptor_a32c98893961035578d41ba486da532d6}\label{struct_protobuf_c_enum_descriptor_a32c98893961035578d41ba486da532d6}} 
\index{Protobuf\+C\+Enum\+Descriptor@{Protobuf\+C\+Enum\+Descriptor}!values@{values}}
\index{values@{values}!Protobuf\+C\+Enum\+Descriptor@{Protobuf\+C\+Enum\+Descriptor}}
\subsubsection{\texorpdfstring{values}{values}}
{\footnotesize\ttfamily const \hyperlink{struct_protobuf_c_enum_value}{Protobuf\+C\+Enum\+Value}$\ast$ values}

Array of distinct values, sorted by numeric value. 

Definition at line 502 of file protobuf-\/c.\+h.

\mbox{\Hypertarget{struct_protobuf_c_enum_descriptor_af749eebf51a713b7143e24300565a628}\label{struct_protobuf_c_enum_descriptor_af749eebf51a713b7143e24300565a628}} 
\index{Protobuf\+C\+Enum\+Descriptor@{Protobuf\+C\+Enum\+Descriptor}!values\+\_\+by\+\_\+name@{values\+\_\+by\+\_\+name}}
\index{values\+\_\+by\+\_\+name@{values\+\_\+by\+\_\+name}!Protobuf\+C\+Enum\+Descriptor@{Protobuf\+C\+Enum\+Descriptor}}
\subsubsection{\texorpdfstring{values\+\_\+by\+\_\+name}{values\_by\_name}}
{\footnotesize\ttfamily const \hyperlink{struct_protobuf_c_enum_value_index}{Protobuf\+C\+Enum\+Value\+Index}$\ast$ values\+\_\+by\+\_\+name}

Array of named values, including aliases, sorted by name. 

Definition at line 507 of file protobuf-\/c.\+h.



The documentation for this struct was generated from the following file\+:\begin{DoxyCompactItemize}
\item 
src/protobuf-\/c/\hyperlink{protobuf-c_8h}{protobuf-\/c.\+h}\end{DoxyCompactItemize}
