diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-21 11:54:28 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-21 11:54:28 +0000 |
commit | e6918187568dbd01842d8d1d2c808ce16a894239 (patch) | |
tree | 64f88b554b444a49f656b6c656111a145cbbaa28 /src/common/armor.h | |
parent | Initial commit. (diff) | |
download | ceph-b26c4052f3542036551aa9dec9caa4226e456195.tar.xz ceph-b26c4052f3542036551aa9dec9caa4226e456195.zip |
Adding upstream version 18.2.2.upstream/18.2.2
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'src/common/armor.h')
-rw-r--r-- | src/common/armor.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/src/common/armor.h b/src/common/armor.h new file mode 100644 index 000000000..f0ee9f9b2 --- /dev/null +++ b/src/common/armor.h @@ -0,0 +1,20 @@ +#ifndef CEPH_ARMOR_H +#define CEPH_ARMOR_H + +#ifdef __cplusplus +extern "C" { +#endif + +int ceph_armor(char *dst, char * const dst_end, + const char * src, const char *end); + +int ceph_armor_linebreak(char *dst, char * const dst_end, + const char *src, const char *end, + int line_width); +int ceph_unarmor(char *dst, char * const dst_end, + const char *src, const char * const end); +#ifdef __cplusplus +} +#endif + +#endif |