\doxysection{spkitable\+\_\+private.\+h}
\hypertarget{spkitable__private_8h_source}{}\label{spkitable__private_8h_source}\index{rtrlib/spki/spkitable\_private.h@{rtrlib/spki/spkitable\_private.h}}
\mbox{\hyperlink{spkitable__private_8h}{Go to the documentation of this file.}}
\begin{DoxyCode}{0}
\DoxyCodeLine{00001\ \textcolor{comment}{/*}}
\DoxyCodeLine{00002\ \textcolor{comment}{\ *\ This\ file\ is\ part\ of\ RTRlib.}}
\DoxyCodeLine{00003\ \textcolor{comment}{\ *}}
\DoxyCodeLine{00004\ \textcolor{comment}{\ *\ This\ file\ is\ subject\ to\ the\ terms\ and\ conditions\ of\ the\ MIT\ license.}}
\DoxyCodeLine{00005\ \textcolor{comment}{\ *\ See\ the\ file\ LICENSE\ in\ the\ top\ level\ directory\ for\ more\ details.}}
\DoxyCodeLine{00006\ \textcolor{comment}{\ *}}
\DoxyCodeLine{00007\ \textcolor{comment}{\ *\ Website:\ http://rtrlib.realmv6.org/}}
\DoxyCodeLine{00008\ \textcolor{comment}{\ */}}
\DoxyCodeLine{00009\ }
\DoxyCodeLine{00018\ \textcolor{preprocessor}{\#ifndef\ RTR\_SPKI\_PRIVATE\_H}}
\DoxyCodeLine{00019\ \textcolor{preprocessor}{\#define\ RTR\_SPKI\_PRIVATE\_H}}
\DoxyCodeLine{00020\ }
\DoxyCodeLine{00021\ \textcolor{preprocessor}{\#include\ "{}\mbox{\hyperlink{spkitable_8h}{rtrlib/spki/spkitable.h}}"{}}}
\DoxyCodeLine{00022\ }
\DoxyCodeLine{00023\ \textcolor{preprocessor}{\#include\ <stdint.h>}}
\DoxyCodeLine{00024\ }
\DoxyCodeLine{00028\ \textcolor{keyword}{enum}\ \mbox{\hyperlink{group__mod__spki__h_ga8fb0b1637e4d6bd7fe6b02861d101505}{spki\_rtvals}}\ \{}
\DoxyCodeLine{00030\ \ \ \ \ \ \ \ \ \mbox{\hyperlink{group__mod__spki__h_gga8fb0b1637e4d6bd7fe6b02861d101505acebcca307c11fa762e9b579b1257d260}{SPKI\_SUCCESS}}\ =\ 0,}
\DoxyCodeLine{00031\ }
\DoxyCodeLine{00033\ \ \ \ \ \ \ \ \ \mbox{\hyperlink{group__mod__spki__h_gga8fb0b1637e4d6bd7fe6b02861d101505a44f15f35694ac3ffa807f68e8be3d367}{SPKI\_ERROR}}\ =\ -\/1,}
\DoxyCodeLine{00034\ }
\DoxyCodeLine{00036\ \ \ \ \ \ \ \ \ \mbox{\hyperlink{group__mod__spki__h_gga8fb0b1637e4d6bd7fe6b02861d101505a7122b5bbde0645f97699af0364d6aaf8}{SPKI\_DUPLICATE\_RECORD}}\ =\ -\/2,}
\DoxyCodeLine{00037\ }
\DoxyCodeLine{00039\ \ \ \ \ \ \ \ \ \mbox{\hyperlink{group__mod__spki__h_gga8fb0b1637e4d6bd7fe6b02861d101505a452861bd3171cd41ae716207a48ffc39}{SPKI\_RECORD\_NOT\_FOUND}}\ =\ -\/3}
\DoxyCodeLine{00040\ \};}
\DoxyCodeLine{00041\ }
\DoxyCodeLine{00047\ \textcolor{keywordtype}{void}\ \mbox{\hyperlink{group__mod__spki__h_ga6470d24084c7ebb28e2783c02268e2a0}{spki\_table\_init}}(\textcolor{keyword}{struct}\ \mbox{\hyperlink{structspki__table}{spki\_table}}\ *\mbox{\hyperlink{structspki__table}{spki\_table}},\ \mbox{\hyperlink{group__mod__spki__h_ga208a2bec5211e883b44ebe693a1c5e5d}{spki\_update\_fp}}\ update\_fp);}
\DoxyCodeLine{00048\ }
\DoxyCodeLine{00053\ \textcolor{keywordtype}{void}\ \mbox{\hyperlink{group__mod__spki__h_ga37e3e2db6162a8599f4692f0072dd750}{spki\_table\_free}}(\textcolor{keyword}{struct}\ \mbox{\hyperlink{structspki__table}{spki\_table}}\ *\mbox{\hyperlink{structspki__table}{spki\_table}});}
\DoxyCodeLine{00054\ }
\DoxyCodeLine{00059\ \textcolor{keywordtype}{void}\ \mbox{\hyperlink{group__mod__spki__h_gafa4bfa4749f0d66527a0a5dd9b7e3edd}{spki\_table\_free\_without\_notify}}(\textcolor{keyword}{struct}\ \mbox{\hyperlink{structspki__table}{spki\_table}}\ *\mbox{\hyperlink{structspki__table}{spki\_table}});}
\DoxyCodeLine{00060\ }
\DoxyCodeLine{00069\ \textcolor{keywordtype}{int}\ \mbox{\hyperlink{group__mod__spki__h_ga19baa9ac00323d1dc4aadc3bc9fb09f6}{spki\_table\_add\_entry}}(\textcolor{keyword}{struct}\ \mbox{\hyperlink{structspki__table}{spki\_table}}\ *\mbox{\hyperlink{structspki__table}{spki\_table}},\ \textcolor{keyword}{struct}\ \mbox{\hyperlink{structspki__record}{spki\_record}}\ *\mbox{\hyperlink{structspki__record}{spki\_record}});}
\DoxyCodeLine{00070\ }
\DoxyCodeLine{00081\ \textcolor{keywordtype}{int}\ \mbox{\hyperlink{group__mod__spki__h_gaec064319c37f34806c28d7d4dbac7a27}{spki\_table\_get\_all}}(\textcolor{keyword}{struct}\ \mbox{\hyperlink{structspki__table}{spki\_table}}\ *\mbox{\hyperlink{structspki__table}{spki\_table}},\ uint32\_t\ \mbox{\hyperlink{rtr__pdus_8h_af54a4e57359d5c0dc5935878531a9e58}{asn}},\ uint8\_t\ *\mbox{\hyperlink{rtr__pdus_8h_a12038882b8c1e8109c0e4b1ea6f8cb5c}{ski}},\ \textcolor{keyword}{struct}\ \mbox{\hyperlink{structspki__record}{spki\_record}}\ **result,}
\DoxyCodeLine{00082\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordtype}{unsigned}\ \textcolor{keywordtype}{int}\ *result\_size);}
\DoxyCodeLine{00083\ }
\DoxyCodeLine{00093\ \textcolor{keywordtype}{int}\ \mbox{\hyperlink{group__mod__spki__h_ga6806d7f244971d8acbc2467835ecdb6a}{spki\_table\_search\_by\_ski}}(\textcolor{keyword}{struct}\ \mbox{\hyperlink{structspki__table}{spki\_table}}\ *\mbox{\hyperlink{structspki__table}{spki\_table}},\ uint8\_t\ *\mbox{\hyperlink{rtr__pdus_8h_a12038882b8c1e8109c0e4b1ea6f8cb5c}{ski}},\ \textcolor{keyword}{struct}\ \mbox{\hyperlink{structspki__record}{spki\_record}}\ **result,}
\DoxyCodeLine{00094\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordtype}{unsigned}\ \textcolor{keywordtype}{int}\ *result\_size);}
\DoxyCodeLine{00095\ }
\DoxyCodeLine{00104\ \textcolor{keywordtype}{int}\ \mbox{\hyperlink{group__mod__spki__h_gac669b9806ad12e7c271d3a639ef00858}{spki\_table\_remove\_entry}}(\textcolor{keyword}{struct}\ \mbox{\hyperlink{structspki__table}{spki\_table}}\ *\mbox{\hyperlink{structspki__table}{spki\_table}},\ \textcolor{keyword}{struct}\ \mbox{\hyperlink{structspki__record}{spki\_record}}\ *\mbox{\hyperlink{structspki__record}{spki\_record}});}
\DoxyCodeLine{00105\ }
\DoxyCodeLine{00113\ \textcolor{keywordtype}{int}\ \mbox{\hyperlink{group__mod__spki__h_ga888e64c91916e50636a55749d4ee28f6}{spki\_table\_src\_remove}}(\textcolor{keyword}{struct}\ \mbox{\hyperlink{structspki__table}{spki\_table}}\ *\mbox{\hyperlink{structspki__table}{spki\_table}},\ \textcolor{keyword}{const}\ \textcolor{keyword}{struct}\ \mbox{\hyperlink{structrtr__socket}{rtr\_socket}}\ *socket);}
\DoxyCodeLine{00114\ }
\DoxyCodeLine{00123\ \textcolor{keywordtype}{int}\ \mbox{\hyperlink{group__mod__spki__h_ga0fe3891be819a04e13559f439f914f91}{spki\_table\_copy\_except\_socket}}(\textcolor{keyword}{struct}\ \mbox{\hyperlink{structspki__table}{spki\_table}}\ *src,\ \textcolor{keyword}{struct}\ \mbox{\hyperlink{structspki__table}{spki\_table}}\ *dest,\ \textcolor{keyword}{struct}\ \mbox{\hyperlink{structrtr__socket}{rtr\_socket}}\ *socket);}
\DoxyCodeLine{00124\ }
\DoxyCodeLine{00132\ \textcolor{keywordtype}{void}\ \mbox{\hyperlink{group__mod__spki__h_ga097f92f19b6133400c8e10482bdd8498}{spki\_table\_notify\_diff}}(\textcolor{keyword}{struct}\ \mbox{\hyperlink{structspki__table}{spki\_table}}\ *new\_table,\ \textcolor{keyword}{struct}\ \mbox{\hyperlink{structspki__table}{spki\_table}}\ *old\_table,}
\DoxyCodeLine{00133\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keyword}{const}\ \textcolor{keyword}{struct}\ \mbox{\hyperlink{structrtr__socket}{rtr\_socket}}\ *socket);}
\DoxyCodeLine{00134\ }
\DoxyCodeLine{00140\ \textcolor{keywordtype}{void}\ \mbox{\hyperlink{group__mod__spki__h_ga56699bbb215ec41c69d2212c71429fc9}{spki\_table\_swap}}(\textcolor{keyword}{struct}\ \mbox{\hyperlink{structspki__table}{spki\_table}}\ *a,\ \textcolor{keyword}{struct}\ \mbox{\hyperlink{structspki__table}{spki\_table}}\ *b);}
\DoxyCodeLine{00141\ }
\DoxyCodeLine{00142\ \textcolor{preprocessor}{\#endif}}

\end{DoxyCode}
