summaryrefslogtreecommitdiff
path: root/C/HF/chap8/src
diff options
context:
space:
mode:
Diffstat (limited to 'C/HF/chap8/src')
-rw-r--r--C/HF/chap8/src/libs/encrypt2.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/C/HF/chap8/src/libs/encrypt2.c b/C/HF/chap8/src/libs/encrypt2.c
new file mode 100644
index 0000000..939df8b
--- /dev/null
+++ b/C/HF/chap8/src/libs/encrypt2.c
@@ -0,0 +1,11 @@
+#include <stdio.h>
+#include <libs/encrypt.h>
+
+void encrypt(char *message, encrypt_fn_t encrypt_fn) {
+ encrypt_fn(message);
+}
+
+void encrypt_arr(char *message, encrypt_arr_t fn_arr, int size)
+{
+ printf("BROKEN LIB\n");
+}