/* Function for resetting the module variable(s) of the GSCM module.  */
static void internal_state_reset(gscm_t *p_gscm)
/* Function for resetting the module variable(s) of the GSCM module.  */
static void internal_state_reset(gscm_t *p_gscm)
{
    memset(p_gscm, 0, sizeof(gscm_t));
    p_gscm->current_sc_store_peer_id = PM_PEER_ID_INVALID;
}