summaryrefslogtreecommitdiffstats
path: root/src/common/armor.h
blob: 340b33aaf57c2b86a7852abc64e3e89375fe0c39 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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