\label{doc_decisions_iterating_name_parts_md_md_doc_decisions_iterating_name_parts}%
\Hypertarget{doc_decisions_iterating_name_parts_md_md_doc_decisions_iterating_name_parts}%
 \hypertarget{doc_decisions_iterating_name_parts_md_autotoc_md2044}{}\doxysection{Problem}\label{doc_decisions_iterating_name_parts_md_autotoc_md2044}
While iterating over the parts of a keyname is easy for an experienced developer (just jump from {\ttfamily \textbackslash{}0} to {\ttfamily \textbackslash{}0} until you hit the name size), there is no good API that newcomers can use.\hypertarget{doc_decisions_iterating_name_parts_md_autotoc_md2045}{}\doxysection{Constraints}\label{doc_decisions_iterating_name_parts_md_autotoc_md2045}
No changes to the underlying APIs, while maintaining reasonable performance.\hypertarget{doc_decisions_iterating_name_parts_md_autotoc_md2046}{}\doxysection{Assumptions}\label{doc_decisions_iterating_name_parts_md_autotoc_md2046}
\hypertarget{doc_decisions_iterating_name_parts_md_autotoc_md2047}{}\doxysection{Considered Alternatives}\label{doc_decisions_iterating_name_parts_md_autotoc_md2047}

\begin{DoxyItemize}
\item Put the new function into {\ttfamily libelektra-\/core}.
\end{DoxyItemize}\hypertarget{doc_decisions_iterating_name_parts_md_autotoc_md2048}{}\doxysection{Decision}\label{doc_decisions_iterating_name_parts_md_autotoc_md2048}
Add this new function to a separate library (name TBD)\+:


\begin{DoxyCode}{0}
\DoxyCodeLine{}

\end{DoxyCode}

\begin{DoxyItemize}
\item 
\begin{DoxyItemize}
\item 
\item \begin{DoxyReturn}{Returns}
the \char`\"{}next\char`\"{} (see above) key name part after {\ttfamily current\+Part}. $\ast$/ const char $\ast$ key\+Get\+Next\+Part (Key $\ast$ key, const char $\ast$ current\+Part); 
\end{DoxyReturn}

\end{DoxyItemize}
\end{DoxyItemize}\hypertarget{doc_decisions_iterating_name_parts_md_autotoc_md2049}{}\doxysection{Rationale}\label{doc_decisions_iterating_name_parts_md_autotoc_md2049}
The function is not required for a minimal API, but it is useful for people who don\textquotesingle{}t know everything about the internals of Elektra.\hypertarget{doc_decisions_iterating_name_parts_md_autotoc_md2050}{}\doxysection{Implications}\label{doc_decisions_iterating_name_parts_md_autotoc_md2050}
\hypertarget{doc_decisions_iterating_name_parts_md_autotoc_md2051}{}\doxysection{Related Decisions}\label{doc_decisions_iterating_name_parts_md_autotoc_md2051}
\hypertarget{doc_decisions_iterating_name_parts_md_autotoc_md2052}{}\doxysection{Notes}\label{doc_decisions_iterating_name_parts_md_autotoc_md2052}
