20221212
[devspec.git] / devspec.en_US / project / recutils / src / rec-crypt-dummy.c
blobf166e8a8ec14d56ab5590eb3caddb89c3204cd4f
1 /* -*- mode: C -*- Time-stamp: "2019-01-03 09:46:25 jemarch"
3 * File: rec-crypt-dummy.c
4 * Date: Tue Mar 27 21:29:06 2012
6 * GNU recutils - Dummy replacements for encryption routines
8 */
10 /* Copyright (C) 2012-2019 Michał Masłowski */
12 /* This program is free software: you can redistribute it and/or modify
13 * it under the terms of the GNU General Public License as published by
14 * the Free Software Foundation, either version 3 of the License, or
15 * (at your option) any later version.
17 * This program is distributed in the hope that it will be useful,
18 * but WITHOUT ANY WARRANTY; without even the implied warranty of
19 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20 * GNU General Public License for more details.
22 * You should have received a copy of the GNU General Public License
23 * along with this program. If not, see <http://www.gnu.org/licenses/>.
26 #include <config.h>
28 #include <rec.h>
30 bool
31 rec_encrypt (char *in,
32 size_t in_size,
33 const char *password,
34 char **out,
35 size_t *out_size)
37 return false;
40 bool
41 rec_decrypt (char *in,
42 size_t in_size,
43 const char *password,
44 char **out,
45 size_t *out_size)
47 return false;
50 bool
51 rec_encrypt_record (rec_rset_t rset,
52 rec_record_t record,
53 const char *password)
55 return false;
58 bool
59 rec_encrypt_field (rec_field_t field,
60 const char *password)
62 return false;
65 bool
66 rec_decrypt_field (rec_field_t field,
67 const char *password)
69 return false;
72 bool
73 rec_decrypt_record (rec_rset_t rset,
74 rec_record_t record,
75 const char *password)
77 return false;
80 /* End of rec-crypt-dummy.c */