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:
@@ -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.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user