\hypertarget{proposal_8c}{\section{proposal.\-c File Reference}
\label{proposal_8c}\index{proposal.\-c@{proposal.\-c}}
}


Implementation of proposed A\-P\-I enhancements.  


{\ttfamily \#include $<$string.\-h$>$}\\*
{\ttfamily \#include $<$kdbprivate.\-h$>$}\\*
Include dependency graph for proposal.\-c\-:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=140pt]{proposal_8c__incl}
\end{center}
\end{figure}
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
const void $\ast$ \hyperlink{group__api_ga6fe6af4c27b35d911a533f4ae4d698bb}{key\-Unescaped\-Name} (const Key $\ast$key)
\begin{DoxyCompactList}\small\item\em This keyname is null separated and does not use backslash for escaping. \end{DoxyCompactList}\item 
ssize\-\_\-t \hyperlink{group__api_ga5e7eff0c77678420199d0d2e8729152b}{key\-Get\-Unescaped\-Name\-Size} (const Key $\ast$key)
\begin{DoxyCompactList}\small\item\em return size of unescaped name \end{DoxyCompactList}\item 
ssize\-\_\-t \hyperlink{group__api_ga812eb6c4f506dafa5733bf531c52199c}{key\-Set\-String\-F} (Key $\ast$key, const char $\ast$format,...)
\begin{DoxyCompactList}\small\item\em Set a formatted string. \end{DoxyCompactList}\item 
int \hyperlink{group__api_gafc46476b8d722d89e07a966e023df317}{elektra\-Array\-Inc\-Name} (Key $\ast$key)
\begin{DoxyCompactList}\small\item\em Increment the name of the key by one. \end{DoxyCompactList}\item 
int \hyperlink{group__api_gac3e995819383f904369c260f212125f5}{elektra\-Ks\-To\-Mem\-Array} (Key\-Set $\ast$ks, Key $\ast$$\ast$buffer)
\begin{DoxyCompactList}\small\item\em Builds an array of pointers to the keys in the supplied keyset. \end{DoxyCompactList}\item 
int \hyperlink{group__api_ga5e727c6d8197f5871a2075454b6214f2}{elektra\-Ks\-Filter} (Key\-Set $\ast$result, Key\-Set $\ast$input, int($\ast$filter)(const Key $\ast$k, void $\ast$argument), void $\ast$argument)
\begin{DoxyCompactList}\small\item\em return only those keys from the given keyset that pass the supplied filter function with the supplied argument \end{DoxyCompactList}\item 
Key\-Set $\ast$ \hyperlink{group__api_gab436b020c8292d4c40ea2b27dc70305d}{elektra\-Rename\-Keys} (Key\-Set $\ast$config, const char $\ast$name)
\begin{DoxyCompactList}\small\item\em Takes the first key and cuts off this common part for all other keys, instead name will be prepended. \end{DoxyCompactList}\item 
\hyperlink{group__proposal_gaec3b8d6f430ae49b91bafe8a86310a68}{elektra\-Namespace} \hyperlink{group__api_gafc3ca03ed10f87eb59bdc02cf2a0de8d}{key\-Get\-Namespace} (const Key $\ast$key)
\begin{DoxyCompactList}\small\item\em For currently valid namespaces see \hyperlink{group__proposal_gaec3b8d6f430ae49b91bafe8a86310a68}{elektra\-Namespace}. \end{DoxyCompactList}\item 
int \hyperlink{group__api_ga43012281da2135034e405c7fc3303509}{key\-Lock} (Key $\ast$key, enum \hyperlink{group__proposal_ga824e384e248ed1e05448294bff7271c0}{elektra\-Lock\-Options} what)
\begin{DoxyCompactList}\small\item\em Permanently locks a part of the key. \end{DoxyCompactList}\item 
Key\-Set $\ast$ \hyperlink{group__api_gaee59442d3b1dea04454c7b93cd00c7ad}{elektra\-Array\-Get} (const Key $\ast$array\-Parent, Key\-Set $\ast$keys)
\begin{DoxyCompactList}\small\item\em Return all the array keys below the given arrayparent The arrayparent itself is not returned. \end{DoxyCompactList}\item 
Key $\ast$ \hyperlink{group__api_gaff4f7cbfc779e917ee41284d834231c6}{elektra\-Array\-Get\-Next\-Key} (Key\-Set $\ast$array\-Keys)
\begin{DoxyCompactList}\small\item\em Return the next key in the given array. \end{DoxyCompactList}\item 
Key\-Set $\ast$ \hyperlink{group__api_ga48120f254e09e0c5cceff4864f110ceb}{elektra\-Key\-Get\-Meta\-Key\-Set} (const Key $\ast$key)
\begin{DoxyCompactList}\small\item\em Return meta data as keyset. \end{DoxyCompactList}\item 
Key $\ast$ \hyperlink{group__api_gae7d268f13dd89a6e126b3718b117996f}{ks\-Prev} (Key\-Set $\ast$ks)
\begin{DoxyCompactList}\small\item\em Returns the previous Key in a Key\-Set. \end{DoxyCompactList}\item 
Key $\ast$ \hyperlink{group__api_ga32f8e3258033e970589f23d9d7102bd1}{ks\-Pop\-At\-Cursor} (Key\-Set $\ast$ks, cursor\-\_\-t pos)
\begin{DoxyCompactList}\small\item\em Pop key at given cursor position. \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
Implementation of proposed A\-P\-I enhancements. \begin{DoxyCopyright}{Copyright}
B\-S\-D License (see doc/\-C\-O\-P\-Y\-I\-N\-G or \href{http://www.libelektra.org}{\tt http\-://www.\-libelektra.\-org}) 
\end{DoxyCopyright}
