/* publ_to_item - add publication info to a publication message  */
static void publ_to_item(struct distr_item *i, struct publication *p)
/* publ_to_item - add publication info to a publication message  */
static void publ_to_item(struct distr_item *i, struct publication *p)
{
	i->type = htonl(p->type);
	i->lower = htonl(p->lower);
	i->upper = htonl(p->upper);
	i->ref = htonl(p->ref);
	i->key = htonl(p->key);
	dbg("publ_to_item: %u, %u, %u\n", p->type, p->lower, p->upper);
}