created doc for why2_get_encryption_operation

This commit is contained in:
Václav Šmejkal 2025-01-25 16:46:09 +01:00
parent f22dd8ee93
commit 28f75e7505
Signed by: ENGO150
GPG Key ID: 4A57E86482968843
2 changed files with 36 additions and 0 deletions

View File

@ -0,0 +1,35 @@
<!--
This is part of WHY2
Copyright (C) 2022 Václav Šmejkal
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.
-->
# why2_get_encryption_operation
## Parameters
*This functions doesn't take any parameters.*
## Attributes
| | |
| ------------------ | ------------------------------------------------------------------------------------------- |
| **Return type** | [`why2_encryption_operation_cb`](../../../../types/core/flags/why2_encryption_operation_cb) |
| **Header comment** | `RETURNS FUNCTION WHICH IS USED FOR ENCRYPTION & DECRYPTION` |
| **Added in commit** | [`2a09a38acf48f0e57beb5135ab7f1fdb18e088fa`](https://github.com/ENGO150/WHY2/commit/2a09a38acf48f0e57beb5135ab7f1fdb18e088fa) |
## Description
Returns callback to `encryption_operation`, which is used during encryption/decryption for final string manipulation.

View File

@ -54,6 +54,7 @@ You can find documentation for every *public* function of WHY2 below.
| [`why2_get_default_flags`](./core/flags/getters/why2_get_default_flags) | This generates why2_input_flags with default values |
| [`why2_get_flags`](./core/flags/getters/why2_get_flags) | Returns used flags |
| [`why2_no_output`](./core/flags/getters/why2_no_output) | Same as why2_get_default_flags() but for why2_output_flags |
| [`why2_get_encryption_operation`](./core/flags/getters/why2_get_encryption_operation) | Returns functions which is used for encryption & decryption |
## Logger