From 19fcec84d8d7d21e796c7624e521b60d28ee21ed Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 7 Apr 2024 20:45:59 +0200 Subject: Adding upstream version 16.2.11+ds. Signed-off-by: Daniel Baumann --- src/common/armor.h | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 src/common/armor.h (limited to 'src/common/armor.h') diff --git a/src/common/armor.h b/src/common/armor.h new file mode 100644 index 000000000..340b33aaf --- /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, const char *dst_end, + const char *src, const char *end); + +int ceph_armor_linebreak(char *dst, const char *dst_end, + const char *src, const char *end, + int line_width); +int ceph_unarmor(char *dst, const char *dst_end, + const char *src, const char *end); +#ifdef __cplusplus +} +#endif + +#endif -- cgit v1.2.3