obcsim/msp_obc_link.c
int msp_is_active(const msp_link_t *lnk)
{
	if (lnk == NULL)
		return 0;
	if (lnk->state != MSP_LINK_STATE_READY)
		return 1;
	else
		return 0;
}
/* Returns 1 if the link is in a transaction, otherwise 0. */
Returns 1 if the link is in a transaction, otherwise 0.
Returns 1 if the link is in a transaction otherwise 0 .
int msp_is_active(const msp_link_t *lnk)
{
	if (lnk == NULL)
		return 0;
	if (lnk->state != MSP_LINK_STATE_READY)
		return 1;
	else
		return 0;
}
int msp_is_active ( const msp_link_t * lnk ) { if ( lnk == NULL ) return 0 ; if ( lnk -> state != MSP_LINK_STATE_READY ) return 1 ; else return 0 ; }
Returns 1 if the link is in a transaction, otherwise 0.
Returns 1 if the link is in a transaction otherwise 0 .