aboutsummaryrefslogtreecommitdiffstats
path: root/Source/charon/transforms/hashers/hasher.h
diff options
context:
space:
mode:
authorMartin Willi <martin@strongswan.org>2005-11-24 11:30:19 +0000
committerMartin Willi <martin@strongswan.org>2005-11-24 11:30:19 +0000
commit5796aa164d79b2ffaf2839b281d490be6a72d1d8 (patch)
tree4031a623426b19bf03b2c61cd73a504e218fb1fb /Source/charon/transforms/hashers/hasher.h
parent95c61cb956505cdb0a91c8c8cd134dda3aac744d (diff)
downloadstrongswan-5796aa164d79b2ffaf2839b281d490be6a72d1d8.tar.bz2
strongswan-5796aa164d79b2ffaf2839b281d490be6a72d1d8.tar.xz
- typedefs changed
Diffstat (limited to 'Source/charon/transforms/hashers/hasher.h')
-rw-r--r--Source/charon/transforms/hashers/hasher.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/Source/charon/transforms/hashers/hasher.h b/Source/charon/transforms/hashers/hasher.h
index a20ec6813..8b4699a3e 100644
--- a/Source/charon/transforms/hashers/hasher.h
+++ b/Source/charon/transforms/hashers/hasher.h
@@ -26,23 +26,23 @@
#include <types.h>
+typedef enum hash_algorithm_t hash_algorithm_t;
+
/**
* algorithms to use for hashing
*/
-typedef enum hash_algorithm_e hash_algorithm_t;
-
-enum hash_algorithm_e {
+enum hash_algorithm_t {
HASH_SHA1,
HASH_MD5
};
+typedef struct hasher_t hasher_t;
+
/**
* Object representing a hasher
*/
-typedef struct hasher_s hasher_t;
-
-struct hasher_s {
+struct hasher_t {
/**
* @brief hash data and write it in the buffer
*