/* * @author STF 435 * @version $Id:$ * @desc This module provides the functions used by the test component */ module LibMsrp_Functions { // LibMsrp import from LibMsrp_TypesAndValues all; function f_str2msrpUri(in charstring p_uri, out MsrpURI p_msrpUri) return boolean { var integer v_res := 0; var bitstring v_oct2bit := oct2bit(char2oct(p_uri)); v_res := decvalue(v_oct2bit, p_msrpUri); return v_res == 0; } // End of function f_str2msrpUri } // End of LibMsrp_Functions