added signatures to header file

This commit is contained in:
Larry Bugbee 2014-03-08 12:16:07 -08:00 committed by Steffen Jaeckel
parent d99b970a8b
commit 3f9144c9a7
3 changed files with 11 additions and 12 deletions

View File

@ -9,6 +9,7 @@
* Tom St Denis, tomstdenis@gmail.com, http://libtom.org
*/
#include "tomcrypt.h"
#include "tomcrypt_misc.h"
/**
@file demo_crypt_constants.c
@ -20,12 +21,6 @@
*/
// in lieu of a header file
int crypt_get_constant(const char* namein, int *valueout);
int crypt_list_all_constants(char *names_list,
unsigned long *names_list_size);
int main(void) {
int rc;

View File

@ -9,6 +9,7 @@
* Tom St Denis, tomstdenis@gmail.com, http://libtom.org
*/
#include "tomcrypt.h"
#include "tomcrypt_misc.h"
/**
@file demo_crypt_sizes.c
@ -18,12 +19,6 @@
*/
// in lieu of a header file
int crypt_get_size(const char* namein, int *sizeout);
int crypt_list_all_sizes(char *names_list,
unsigned long *names_list_size);
int main(void) {
int rc;
printf("\n");

View File

@ -49,6 +49,15 @@ extern const char *crypt_build_settings;
/* ---- HMM ---- */
int crypt_fsa(void *mp, ...);
/* ---- Dynamic language support ---- */
int crypt_get_constant(const char* namein, int *valueout);
int crypt_list_all_constants(char *names_list,
unsigned long *names_list_size);
int crypt_get_size(const char* namein, int *sizeout);
int crypt_list_all_sizes(char *names_list,
unsigned long *names_list_size);
/* $Source$ */
/* $Revision$ */
/* $Date$ */