#include "lx.h" #include "internal.h" LX_XID lx__new_resource_id(LX_CONN *xc) { LX_XID id; if (xc->resource_val & ~xc->resource_mask) lx_abort(); id = xc->resource_base | xc->resource_val; xc->resource_val += xc->resource_inc; return(id); }