summaryrefslogtreecommitdiffstats
path: root/src/common/armor.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/armor.h')
-rw-r--r--src/common/armor.h20
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