created crypto files

This commit is contained in:
Václav Šmejkal 2024-02-23 09:38:38 +01:00
parent 8fe73fafe9
commit 13dff8514d
Signed by: ENGO150
GPG Key ID: 4A57E86482968843
3 changed files with 52 additions and 0 deletions

32
include/chat/crypto.h Normal file
View File

@ -0,0 +1,32 @@
/*
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/>.
*/
#ifndef WHY2_CHAT_CRYPTO_H
#define WHY2_CHAT_CRYPTO_H
#ifdef __cplusplus
extern "C" {
#endif
//STUFF
#ifdef __cplusplus
}
#endif
#endif

View File

@ -44,6 +44,7 @@ extern "C" {
//CHAT //CHAT
#include <why2/chat/config.h> #include <why2/chat/config.h>
#include <why2/chat/crypto.h>
#include <why2/chat/flags.h> #include <why2/chat/flags.h>
#include <why2/chat/misc.h> #include <why2/chat/misc.h>

19
src/chat/crypto.c Normal file
View File

@ -0,0 +1,19 @@
/*
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/>.
*/
#include <why2/chat/crypto.h>