summaryrefslogtreecommitdiff
path: root/include/mangle.h
AgeCommit message (Collapse)AuthorFilesLines
2012-04-26lib/mangle: cleanup, add unhexmangleKarel Zak1-0/+7
* use strchr() rather than for() * small refactoring in mangle code * add un-hex-mangle Signed-off-by: Karel Zak <kzak@redhat.com>
2011-01-03libmount: cleanup mangle() usageKarel Zak1-1/+1
Signed-off-by: Karel Zak <kzak@redhat.com>
2011-01-03libmount: use better format for utab, improve bind mountsKarel Zak1-1/+1
Signed-off-by: Karel Zak <kzak@redhat.com>
2011-01-03libmount: rewrite mountinfo/fstab parsers to use sscanf()Karel Zak1-0/+5
The old solution (without scanf()) was based on old code from mount(8). It seems that the modern libc is able to provide all necessary functionality by sscanf() and %ms directive. Signed-off-by: Karel Zak <kzak@redhat.com>
2011-01-03libmount: add unmangle/mangle() functions to APIKarel Zak1-2/+2
Signed-off-by: Karel Zak <kzak@redhat.com>
2010-03-10lib: add mangle.c for mtab (fstab or swaps) encodingKarel Zak1-0/+14
Signed-off-by: Karel Zak <kzak@redhat.com>