aboutsummaryrefslogtreecommitdiff
path: root/inc/ft_ssl.h
diff options
context:
space:
mode:
authorCharles Cabergs <me@cacharle.xyz>2020-07-27 21:39:44 +0200
committerCharles Cabergs <me@cacharle.xyz>2020-07-27 21:39:44 +0200
commit2e47298639b3e4971e2a7b35d50b57340276435b (patch)
tree63d3b3601df765781d61504d45c7b1d2480f356c /inc/ft_ssl.h
parentda4069d389ed0ca56a17da29b9e967bc2acb0dad (diff)
downloadft_ssl-2e47298639b3e4971e2a7b35d50b57340276435b.tar.gz
ft_ssl-2e47298639b3e4971e2a7b35d50b57340276435b.tar.bz2
ft_ssl-2e47298639b3e4971e2a7b35d50b57340276435b.zip
Disabling previous work temporarily to focus on the algorithm
Diffstat (limited to 'inc/ft_ssl.h')
-rw-r--r--inc/ft_ssl.h53
1 files changed, 53 insertions, 0 deletions
diff --git a/inc/ft_ssl.h b/inc/ft_ssl.h
new file mode 100644
index 0000000..f3e3595
--- /dev/null
+++ b/inc/ft_ssl.h
@@ -0,0 +1,53 @@
+/* ************************************************************************** */
+/* */
+/* ::: :::::::: */
+/* ft_ssl.h :+: :+: :+: */
+/* +:+ +:+ +:+ */
+/* By: cacharle <marvin@42.fr> +#+ +:+ +#+ */
+/* +#+#+#+#+#+ +#+ */
+/* Created: 2020/02/03 20:27:19 by cacharle #+# #+# */
+/* Updated: 2020/07/27 21:38:12 by charles ### ########.fr */
+/* */
+/* ************************************************************************** */
+#include <stdio.h>
+
+#ifndef FT_SSL_H
+# define FT_SSL_H
+
+# include "libft.h"
+
+# include "ft_ssl_md5.h"
+
+// # include "ft_ssl_md5.h"
+// # include "ft_ssl_sha256.h"
+
+// typedef int (*t_func_main)(int argc, char **argv);
+//
+// typedef struct
+// {
+// char *name;
+// t_func_hash func;
+// } t_command;
+//
+// typedef enum
+// {
+// FLAG_PIPE = 1 << 0,
+// FLAG_QUIET = 1 << 1,
+// FLAG_REVERSE = 1 << 2,
+// } t_flags;
+
+typedef char *(*t_func_hash)(char *message);
+
+/*
+** error.c
+*/
+
+// void error_command(char *command);
+
+/*
+** args.c
+*/
+
+// int parse_args(char *name, int argc, char **argv, t_func_hash func_hash);
+
+#endif