Skip to content
LibSip_EncdecDeclarations.ttcn 6.03 KiB
Newer Older
module LibSip_EncdecDeclarations {
    
    import from LibSip_SIPTypesAndValues all;
    import from LibSip_SMSTypesAndValues all;
    import from LibSip_SimpleMsgSummaryTypes all;
    import from LibSip_MessageBodyTypes all;
    
    external function fx_enc_Request (Request p) return bitstring
        with {extension "prototype(convert) encode(SIPCodec)"}
    
    external function fx_enc_REGISTER_Request (REGISTER_Request p) return bitstring
        with {extension "prototype(convert) encode(SIPCodec)"}
    
    external function fx_enc_INVITE_Request (INVITE_Request p) return bitstring
        with {extension "prototype(convert) encode(SIPCodec)"}
    
    external function fx_enc_OPTIONS_Request (OPTIONS_Request p) return bitstring
        with {extension "prototype(convert) encode(SIPCodec)"}
    
    external function fx_enc_BYE_Request (BYE_Request p) return bitstring
        with {extension "prototype(convert) encode(SIPCodec)"}
        
        
    external function fx_enc_CANCEL_Request (CANCEL_Request p) return bitstring
        with {extension "prototype(convert) encode(SIPCodec)"}
        
    external function fx_enc_ACK_Request (ACK_Request p) return bitstring
        with {extension "prototype(convert) encode(SIPCodec)"}
        
    external function fx_enc_PRACK_Request (PRACK_Request p) return bitstring
        with {extension "prototype(convert) encode(SIPCodec)"}
        
    external function fx_enc_NOTIFY_Request (NOTIFY_Request p) return bitstring
        with {extension "prototype(convert) encode(SIPCodec)"}
        
    external function fx_enc_SUBSCRIBE_Request (SUBSCRIBE_Request p) return bitstring
        with {extension "prototype(convert) encode(SIPCodec)"}
        
    external function fx_enc_PUBLISH_Request (PUBLISH_Request p) return bitstring
        with {extension "prototype(convert) encode(SIPCodec)"}
        
    external function fx_enc_UPDATE_Request (UPDATE_Request p) return bitstring
        with {extension "prototype(convert) encode(SIPCodec)"}
        
    external function fx_enc_REFER_Request (REFER_Request p) return bitstring
        with {extension "prototype(convert) encode(SIPCodec)"}
        
    external function fx_enc_MESSAGE_Request (MESSAGE_Request p) return bitstring
        with {extension "prototype(convert) encode(SIPCodec)"}
        
    external function fx_enc_INFO_Request (INFO_Request p) return bitstring
        with {extension "prototype(convert) encode(SIPCodec)"}
        
    external function fx_enc_Response (Response p) return bitstring
        with {extension "prototype(convert) encode(SIPCodec)"}
        
    external function fx_enc_Raw (Raw p) return bitstring
        with {extension "prototype(convert) encode(SIPCodec)"}
    
    external function fx_enc_SMS(SimpleMsgSummary pdu) return bitstring
        with { extension "prototype(convert) encode(SIPCodec)" };
    
    external function fx_enc_MessageBody(in MessageBody pdu) return bitstring
        with { extension "prototype(convert) encode(SIPCodec)" };
    
    external function fx_dec_Request (inout bitstring pdu, out Request p) return integer
        with {extension "prototype(sliding) decode(SIPCodec)"}
    
    external function fx_dec_REGISTER_Request (inout bitstring pdu, out REGISTER_Request p) return integer
        with {extension "prototype(sliding) decode(SIPCodec)"}
    
    external function fx_dec_INVITE_Request (inout bitstring pdu, out INVITE_Request p) return integer
        with {extension "prototype(sliding) decode(SIPCodec)"}
    
    external function fx_dec_OPTIONS_Request (inout bitstring pdu, out OPTIONS_Request p) return integer
        with {extension "prototype(sliding) decode(SIPCodec)"}
    
    external function fx_dec_BYE_Request (inout bitstring pdu, out BYE_Request p) return integer
        with {extension "prototype(sliding) decode(SIPCodec)"}
        
    external function fx_dec_CANCEL_Request (inout bitstring pdu, out CANCEL_Request p) return integer
        with {extension "prototype(sliding) decode(SIPCodec)"}
        
    external function fx_dec_ACK_Request (inout bitstring pdu, out ACK_Request p) return integer
        with {extension "prototype(sliding) decode(SIPCodec)"}
        
    external function fx_dec_PRACK_Request (inout bitstring pdu, out PRACK_Request p) return integer
        with {extension "prototype(sliding) decode(SIPCodec)"}
        
    external function fx_dec_NOTIFY_Request (inout bitstring pdu, out NOTIFY_Request p) return integer
        with {extension "prototype(sliding) decode(SIPCodec)"}
        
    external function fx_dec_SUBSCRIBE_Request (inout bitstring pdu, out SUBSCRIBE_Request p) return integer
        with {extension "prototype(sliding) decode(SIPCodec)"}
        
    external function fx_dec_PUBLISH_Request (inout bitstring pdu, out PUBLISH_Request p) return integer
        with {extension "prototype(sliding) decode(SIPCodec)"}
        
    external function fx_dec_UPDATE_Request (inout bitstring pdu, out UPDATE_Request p) return integer
        with {extension "prototype(sliding) decode(SIPCodec)"}
        
    external function fx_dec_REFER_Request (inout bitstring pdu, out REFER_Request p) return integer
        with {extension "prototype(sliding) decode(SIPCodec)"}
        
    external function fx_dec_MESSAGE_Request (inout bitstring pdu, out MESSAGE_Request p) return integer
        with {extension "prototype(sliding) decode(SIPCodec)"}
        
    external function fx_dec_INFO_Request (inout bitstring pdu, out INFO_Request p) return integer
        with {extension "prototype(sliding) decode(SIPCodec)"}
        
    external function fx_dec_Response (inout bitstring pdu, out Response p) return integer
        with {extension "prototype(sliding) decode(SIPCodec)"}
    
    external function fx_dec_SMS(inout bitstring pdu, out SimpleMsgSummary p) return integer
        with { extension "prototype(sliding) decode(SIPCodec)" };
    
    external function fx_dec_MessageBody(inout bitstring pdu, out MessageBody p) return integer
        with { extension "prototype(sliding) decode(SIPCodec)" };
    
} // End of module module LibSip_EncdecDeclarations