initial code repo
[stor4nfv.git] / src / ceph / src / common / armor.h
diff --git a/src/ceph/src/common/armor.h b/src/ceph/src/common/armor.h
new file mode 100644 (file)
index 0000000..340b33a
--- /dev/null
@@ -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