moved typedefs to beginning of files to solve some include problems

splitted authenticator to have a separate implementation for each auth_method_t
using va_copy to clone va_lists, should fix proplems on AMD64
some other cleanups
This commit is contained in:
Martin Willi
2006-10-30 14:07:05 +00:00
parent 09cb5472bc
commit 382b481795
119 changed files with 1196 additions and 1120 deletions
+3 -6
View File
@@ -24,15 +24,14 @@
#ifndef HASHER_H_
#define HASHER_H_
typedef enum hash_algorithm_t hash_algorithm_t;
typedef struct hasher_t hasher_t;
#include <types.h>
typedef enum hash_algorithm_t hash_algorithm_t;
/**
* @brief Algorithms to use for hashing.
*
*
* Currently only the following algorithms are implemented:
* - HASH_MD5
* - HASH_SHA1
@@ -70,8 +69,6 @@ enum hash_algorithm_t {
extern enum_name_t *hash_algorithm_names;
typedef struct hasher_t hasher_t;
/**
* @brief Generic interface for all hash functions.
*