Split oLschema2ldif into library and binary
authorMichael Hanselmann <public@hansmi.ch>
Sat, 23 Mar 2019 01:57:06 +0000 (02:57 +0100)
committerAndrew Bartlett <abartlet@samba.org>
Tue, 26 Mar 2019 03:03:23 +0000 (03:03 +0000)
commit0c7c44a284a26790081c000f5b8f4ed32f9f21d7
treefe92bb99bf9294407b7f5d992836d06ea3613de7
parentaf3253013a5633b6cbd247d6feda0b3f5bc50b74
Split oLschema2ldif into library and binary

The oLschema2ldif program was contained in a single file, making reuse
of its parsing logic elsewhere impossible. With this change the majority
of the code is moved to a new file, "lib.c", while the CLI interface is
now in a "main.c" file.

End-of-line whitespace is also removed.

Signed-off-by: Michael Hanselmann <public@hansmi.ch>
Reviewed-by: Garming Sam <garming@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
source4/utils/oLschema2ldif/lib.c [moved from source4/utils/oLschema2ldif.c with 80% similarity]
source4/utils/oLschema2ldif/lib.h [new file with mode: 0644]
source4/utils/oLschema2ldif/main.c [new file with mode: 0644]
source4/utils/oLschema2ldif/oLschema2ldif.1.xml [moved from source4/utils/man/oLschema2ldif.1.xml with 100% similarity]
source4/utils/oLschema2ldif/wscript_build [new file with mode: 0644]
source4/utils/wscript_build [deleted file]
wscript_build