chsmack: split option scan in two parts
authorJosé Bollo <jose.bollo@open.eurogiciel.org>
Tue, 10 Dec 2013 14:22:15 +0000 (15:22 +0100)
committerJosé Bollo <jose.bollo@open.eurogiciel.org>
Tue, 17 Dec 2013 11:20:25 +0000 (12:20 +0100)
commit0b7f62f503ddd659937a7c6536f79c5cdbebbfbd
tree1173e00c42e4fcedf31e88575db31b58f0587223
parent53d8c256c3a5723de23480a1f2ad8b86ffb022f8
chsmack: split option scan in two parts

It prepares the futur option to remove smack labels.
It also separate the validation of the labels what can
improve the readability of the code.

Also add a check that the option transmute isn't repeated.

Signed-off-by: José Bollo <jose.bollo@open.eurogiciel.org>
utils/chsmack.c