/* The callback is called when the state of the reservation changes from: */
struct uwb_rsv* uwb_rsv_create(struct uwb_rc *rc, uwb_rsv_cb_f cb, void *pal_priv)
/* The callback is called when the state of the reservation changes from: */
struct uwb_rsv* uwb_rsv_create(struct uwb_rc *rc, uwb_rsv_cb_f cb, void *pal_priv)
{
	struct uwb_rsv *rsv;
	rsv = uwb_rsv_alloc(rc);
	if (!rsv)
		return NULL;
	rsv->callback = cb;
	rsv->pal_priv = pal_priv;
	return rsv;
}