summaryrefslogtreecommitdiffstats
path: root/include/mangle.h
Commit message (Collapse)AuthorAgeFilesLines
* lib/mangle: const quialifier cleanupKarel Zak2018-07-201-1/+1
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* lib/mangle: return size of the decoded bufferKarel Zak2017-11-011-1/+1
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* lib/mangle: cleanup, add unhexmangleKarel Zak2012-04-261-0/+7
| | | | | | | | * use strchr() rather than for() * small refactoring in mangle code * add un-hex-mangle Signed-off-by: Karel Zak <kzak@redhat.com>
* libmount: cleanup mangle() usageKarel Zak2011-01-031-1/+1
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* libmount: use better format for utab, improve bind mountsKarel Zak2011-01-031-1/+1
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* libmount: rewrite mountinfo/fstab parsers to use sscanf()Karel Zak2011-01-031-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>
* libmount: add unmangle/mangle() functions to APIKarel Zak2011-01-031-2/+2
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* lib: add mangle.c for mtab (fstab or swaps) encodingKarel Zak2010-03-101-0/+14
Signed-off-by: Karel Zak <kzak@redhat.com>