diff options
| author | Carlos Maiolino <[email protected]> | 2025-09-25 15:26:57 +0200 |
|---|---|---|
| committer | Carlos Maiolino <[email protected]> | 2025-09-25 15:26:57 +0200 |
| commit | 29e2e93f3f32efa47e95f95260431167e228fe7a (patch) | |
| tree | 4961bbea472b0b98f29a5a82565c92aa3586d7a9 /C/HF/chap7/encrypt.h | |
| parent | 4d1c070b813f3b3b64bd8bf96723756041840ac0 (diff) | |
chap7: add small programs made in chap7
Signed-off-by: Carlos Maiolino <[email protected]>
Diffstat (limited to 'C/HF/chap7/encrypt.h')
| -rw-r--r-- | C/HF/chap7/encrypt.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/C/HF/chap7/encrypt.h b/C/HF/chap7/encrypt.h index 4e130e9..e70d8f6 100644 --- a/C/HF/chap7/encrypt.h +++ b/C/HF/chap7/encrypt.h @@ -2,6 +2,9 @@ #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 */ |
