summaryrefslogtreecommitdiff
path: root/include/mangle.h
blob: 8ce38752d132d275d2923fae7597cdac0cafa847 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#ifndef UTIL_LINUX_MANGLE_H
#define UTIL_LINUX_MANGLE_H

/*
 * Functions for \oct encoding used in mtab/fstab/swaps/etc.
 */

extern char *mangle(const char *s);

extern void unmangle_to_buffer(char *s, char *buf, size_t len);
extern char *unmangle(char *s);

#endif /* UTIL_LINUX_MANGLE_H */