adapt dynamic language documentation to modified API and functionality

This commit is contained in:
Steffen Jaeckel 2014-09-29 23:42:40 +02:00
parent d2047f4b61
commit 2a98d0a11f

View File

@ -5411,12 +5411,11 @@ functions can initialize LTM and TFM.
To get the size of a named struct or union: To get the size of a named struct or union:
\begin{verbatim} \begin{verbatim}
int crypt_get_size(const char *namein, int crypt_get_size( const char *namein,
int *sizeout); unsigned int *sizeout);
\end{verbatim} \end{verbatim}
$namein$ is spelled exactly as found in the C header files with "_struct" $namein$ is spelled exactly as found in the C header files. This function will
or "_union" appended to the name. This function will return -1 if $namein$ return -1 if $namein$ is not found.
is not found.
To get the value of a named constant: To get the value of a named constant:
\begin{verbatim} \begin{verbatim}
@ -5428,11 +5427,11 @@ returned if $namein$ is not found.
To get the names of all the supported structs, unions and constants: To get the names of all the supported structs, unions and constants:
\begin{verbatim} \begin{verbatim}
int crypt_list_all_sizes(char *names_list, int crypt_list_all_sizes( char *names_list,
int *names_list_size); unsigned int *names_list_size);
int crypt_list_all_constants(char *names_list, int crypt_list_all_constants( char *names_list,
int *names_list_size); unsigned int *names_list_size);
\end{verbatim} \end{verbatim}
You may want to call these functions twice, first to get the amount You may want to call these functions twice, first to get the amount
of memory to be allocated for the $names_list$, and a final time to of memory to be allocated for the $names_list$, and a final time to