\doxysection{rtrlib/spki/spkitable\+\_\+private.h File Reference}
\hypertarget{spkitable__private_8h}{}\label{spkitable__private_8h}\index{rtrlib/spki/spkitable\_private.h@{rtrlib/spki/spkitable\_private.h}}
{\ttfamily \#include "{}rtrlib/spki/spkitable.\+h"{}}\newline
{\ttfamily \#include $<$stdint.\+h$>$}\newline
\doxysubsubsection*{Enumerations}
\begin{DoxyCompactItemize}
\item 
enum \mbox{\hyperlink{group__mod__spki__h_ga8fb0b1637e4d6bd7fe6b02861d101505}{spki\+\_\+rtvals}} \{ \mbox{\hyperlink{group__mod__spki__h_gga8fb0b1637e4d6bd7fe6b02861d101505acebcca307c11fa762e9b579b1257d260}{SPKI\+\_\+\+SUCCESS}} = 0
, \mbox{\hyperlink{group__mod__spki__h_gga8fb0b1637e4d6bd7fe6b02861d101505a44f15f35694ac3ffa807f68e8be3d367}{SPKI\+\_\+\+ERROR}} = -\/1
, \mbox{\hyperlink{group__mod__spki__h_gga8fb0b1637e4d6bd7fe6b02861d101505a7122b5bbde0645f97699af0364d6aaf8}{SPKI\+\_\+\+DUPLICATE\+\_\+\+RECORD}} = -\/2
, \mbox{\hyperlink{group__mod__spki__h_gga8fb0b1637e4d6bd7fe6b02861d101505a452861bd3171cd41ae716207a48ffc39}{SPKI\+\_\+\+RECORD\+\_\+\+NOT\+\_\+\+FOUND}} = -\/3
 \}
\begin{DoxyCompactList}\small\item\em Possible return values for some spki\+\_\+table\+\_\+ functions. \end{DoxyCompactList}\end{DoxyCompactItemize}
\doxysubsubsection*{Functions}
\begin{DoxyCompactItemize}
\item 
void \mbox{\hyperlink{group__mod__spki__h_ga6470d24084c7ebb28e2783c02268e2a0}{spki\+\_\+table\+\_\+init}} (struct \mbox{\hyperlink{structspki__table}{spki\+\_\+table}} \texorpdfstring{$\ast$}{*}\mbox{\hyperlink{structspki__table}{spki\+\_\+table}}, \mbox{\hyperlink{group__mod__spki__h_ga208a2bec5211e883b44ebe693a1c5e5d}{spki\+\_\+update\+\_\+fp}} update\+\_\+fp)
\begin{DoxyCompactList}\small\item\em Initializes the \doxylink{structspki__table}{spki\+\_\+table} struct. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{group__mod__spki__h_ga37e3e2db6162a8599f4692f0072dd750}{spki\+\_\+table\+\_\+free}} (struct \mbox{\hyperlink{structspki__table}{spki\+\_\+table}} \texorpdfstring{$\ast$}{*}\mbox{\hyperlink{structspki__table}{spki\+\_\+table}})
\begin{DoxyCompactList}\small\item\em Frees the memory associated with the \doxylink{structspki__table}{spki\+\_\+table}. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{group__mod__spki__h_gafa4bfa4749f0d66527a0a5dd9b7e3edd}{spki\+\_\+table\+\_\+free\+\_\+without\+\_\+notify}} (struct \mbox{\hyperlink{structspki__table}{spki\+\_\+table}} \texorpdfstring{$\ast$}{*}\mbox{\hyperlink{structspki__table}{spki\+\_\+table}})
\begin{DoxyCompactList}\small\item\em Frees the memory associated with the \doxylink{structspki__table}{spki\+\_\+table} without calling the update callback. \end{DoxyCompactList}\item 
int \mbox{\hyperlink{group__mod__spki__h_ga19baa9ac00323d1dc4aadc3bc9fb09f6}{spki\+\_\+table\+\_\+add\+\_\+entry}} (struct \mbox{\hyperlink{structspki__table}{spki\+\_\+table}} \texorpdfstring{$\ast$}{*}\mbox{\hyperlink{structspki__table}{spki\+\_\+table}}, struct \mbox{\hyperlink{structspki__record}{spki\+\_\+record}} \texorpdfstring{$\ast$}{*}\mbox{\hyperlink{structspki__record}{spki\+\_\+record}})
\begin{DoxyCompactList}\small\item\em Adds a \doxylink{structspki__record}{spki\+\_\+record} to a \doxylink{structspki__table}{spki\+\_\+table}. \end{DoxyCompactList}\item 
int \mbox{\hyperlink{group__mod__spki__h_gaec064319c37f34806c28d7d4dbac7a27}{spki\+\_\+table\+\_\+get\+\_\+all}} (struct \mbox{\hyperlink{structspki__table}{spki\+\_\+table}} \texorpdfstring{$\ast$}{*}\mbox{\hyperlink{structspki__table}{spki\+\_\+table}}, uint32\+\_\+t \mbox{\hyperlink{rtr__pdus_8h_af54a4e57359d5c0dc5935878531a9e58}{asn}}, uint8\+\_\+t \texorpdfstring{$\ast$}{*}\mbox{\hyperlink{rtr__pdus_8h_a12038882b8c1e8109c0e4b1ea6f8cb5c}{ski}}, struct \mbox{\hyperlink{structspki__record}{spki\+\_\+record}} \texorpdfstring{$\ast$}{*}\texorpdfstring{$\ast$}{*}result, unsigned int \texorpdfstring{$\ast$}{*}result\+\_\+size)
\begin{DoxyCompactList}\small\item\em Returns all \doxylink{structspki__record}{spki\+\_\+record} whose ASN and SKI matches. \end{DoxyCompactList}\item 
int \mbox{\hyperlink{group__mod__spki__h_ga6806d7f244971d8acbc2467835ecdb6a}{spki\+\_\+table\+\_\+search\+\_\+by\+\_\+ski}} (struct \mbox{\hyperlink{structspki__table}{spki\+\_\+table}} \texorpdfstring{$\ast$}{*}\mbox{\hyperlink{structspki__table}{spki\+\_\+table}}, uint8\+\_\+t \texorpdfstring{$\ast$}{*}\mbox{\hyperlink{rtr__pdus_8h_a12038882b8c1e8109c0e4b1ea6f8cb5c}{ski}}, struct \mbox{\hyperlink{structspki__record}{spki\+\_\+record}} \texorpdfstring{$\ast$}{*}\texorpdfstring{$\ast$}{*}result, unsigned int \texorpdfstring{$\ast$}{*}result\+\_\+size)
\begin{DoxyCompactList}\small\item\em Returns all \doxylink{structspki__record}{spki\+\_\+record} whose SKI number matches the given one. \end{DoxyCompactList}\item 
int \mbox{\hyperlink{group__mod__spki__h_gac669b9806ad12e7c271d3a639ef00858}{spki\+\_\+table\+\_\+remove\+\_\+entry}} (struct \mbox{\hyperlink{structspki__table}{spki\+\_\+table}} \texorpdfstring{$\ast$}{*}\mbox{\hyperlink{structspki__table}{spki\+\_\+table}}, struct \mbox{\hyperlink{structspki__record}{spki\+\_\+record}} \texorpdfstring{$\ast$}{*}\mbox{\hyperlink{structspki__record}{spki\+\_\+record}})
\begin{DoxyCompactList}\small\item\em Removes \doxylink{structspki__record}{spki\+\_\+record} from \doxylink{structspki__table}{spki\+\_\+table}. \end{DoxyCompactList}\item 
int \mbox{\hyperlink{group__mod__spki__h_ga888e64c91916e50636a55749d4ee28f6}{spki\+\_\+table\+\_\+src\+\_\+remove}} (struct \mbox{\hyperlink{structspki__table}{spki\+\_\+table}} \texorpdfstring{$\ast$}{*}\mbox{\hyperlink{structspki__table}{spki\+\_\+table}}, const struct \mbox{\hyperlink{structrtr__socket}{rtr\+\_\+socket}} \texorpdfstring{$\ast$}{*}socket)
\begin{DoxyCompactList}\small\item\em Removes all entries in the \doxylink{structspki__table}{spki\+\_\+table} that match the passed socket\+\_\+id. \end{DoxyCompactList}\item 
int \mbox{\hyperlink{group__mod__spki__h_ga0fe3891be819a04e13559f439f914f91}{spki\+\_\+table\+\_\+copy\+\_\+except\+\_\+socket}} (struct \mbox{\hyperlink{structspki__table}{spki\+\_\+table}} \texorpdfstring{$\ast$}{*}src, struct \mbox{\hyperlink{structspki__table}{spki\+\_\+table}} \texorpdfstring{$\ast$}{*}dest, struct \mbox{\hyperlink{structrtr__socket}{rtr\+\_\+socket}} \texorpdfstring{$\ast$}{*}socket)
\begin{DoxyCompactList}\small\item\em Copy spki table except entries from the given socket. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{group__mod__spki__h_ga097f92f19b6133400c8e10482bdd8498}{spki\+\_\+table\+\_\+notify\+\_\+diff}} (struct \mbox{\hyperlink{structspki__table}{spki\+\_\+table}} \texorpdfstring{$\ast$}{*}new\+\_\+table, struct \mbox{\hyperlink{structspki__table}{spki\+\_\+table}} \texorpdfstring{$\ast$}{*}old\+\_\+table, const struct \mbox{\hyperlink{structrtr__socket}{rtr\+\_\+socket}} \texorpdfstring{$\ast$}{*}socket)
\begin{DoxyCompactList}\small\item\em Notify client about changes between two spki tables regarding one specific socket. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{group__mod__spki__h_ga56699bbb215ec41c69d2212c71429fc9}{spki\+\_\+table\+\_\+swap}} (struct \mbox{\hyperlink{structspki__table}{spki\+\_\+table}} \texorpdfstring{$\ast$}{*}a, struct \mbox{\hyperlink{structspki__table}{spki\+\_\+table}} \texorpdfstring{$\ast$}{*}b)
\begin{DoxyCompactList}\small\item\em tommy\+\_\+hashlin and tommy\+\_\+list of the argument tables \end{DoxyCompactList}\end{DoxyCompactItemize}
