Configure a xdf file according to a template
#include <xdfio.h>
int xdf_copy_conf(struct xdf* dst, conf struct xdf* src);
xdf_copy_conf() configure the xDF file referenced by dst using the information described by src.
The function returns 0 in case of success, -1 otherwise.