mount.ceph needs to base64-decode the secrets, so we can get rid of
the kernel-side base64 decode, but it doesn't need all of common lib.
And it is written in C.
Signed-off-by: Tommi Virtanen <tommi.virtanen@dreamhost.com>
#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_unarmor(char *dst, const char *dst_end,
const char *src, const char *end);
+#ifdef __cplusplus
}
+#endif
#endif