qmerge_key_init (struct qmerge_key *qmk, const char *q,
                 const char qtype[2], const char *control)
{
    if (!dns_domain_copy (&qmk->q, q))
        return 0;

    byte_copy (qmk->qtype, 2, qtype);
    if (!dns_domain_copy (&qmk->control, control))
        return 0;

    return 1;
}
qmerge_key_init (struct qmerge_key *qmk, const char *q,
                 const char qtype[2], const char *control)
{
    if (!dns_domain_copy (&qmk->q, q))
        return 0;

    byte_copy (qmk->qtype, 2, qtype);
    if (!dns_domain_copy (&qmk->control, control))
        return 0;

    return 1;
}