From 133a564a7ba1f57ff229e7c181227d43b4bae584 Mon Sep 17 00:00:00 2001 From: Carlos Maiolino Date: Sat, 6 Sep 2025 11:12:35 +0200 Subject: Create ecat based on a lib archive Signed-off-by: Carlos Maiolino --- C/HF/chap8/include/libs/encrypt.h | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 C/HF/chap8/include/libs/encrypt.h (limited to 'C/HF/chap8/include/libs/encrypt.h') diff --git a/C/HF/chap8/include/libs/encrypt.h b/C/HF/chap8/include/libs/encrypt.h new file mode 100644 index 0000000..e70d8f6 --- /dev/null +++ b/C/HF/chap8/include/libs/encrypt.h @@ -0,0 +1,10 @@ +#ifndef ENCRYPT_H +#define ENCRYPT_H + +typedef void (*encrypt_fn_t)(char *message); +typedef void (*encrypt_arr_t[])(char *message); + +void encrypt(char *message, encrypt_fn_t); +void encrypt_arr(char *message, encrypt_arr_t fn_arr, int size); + +#endif /* ENCRYPT_H */ -- cgit v1.2.3