added signatures to header file
This commit is contained in:
		
							parent
							
								
									d99b970a8b
								
							
						
					
					
						commit
						3f9144c9a7
					
				@ -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;
 | 
			
		||||
    
 | 
			
		||||
 | 
			
		||||
@ -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");
 | 
			
		||||
 | 
			
		||||
@ -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$ */
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user