CA_Put_DT_Parameters()

Purpose

Stores output parameters from a user function in a message structure to be passed to another Blueworx Voice Response component.

Libraries

Blueworx Voice Response library (libvae.a)

Custom Server library (libca.a)

Syntax

#include "CA_header.h"
int CA_Put_DT_Parameters (
 DT_MSG_INFO_ST *dt_msg_info_sp,
 void *output_data
);

Description

This subroutine stores the values of all the specified output parameters into a message structure to be returned to the custom server or channel process specified in DT_MSG_INFO_ST. The system-generated header file contains the list of possible function IDs. Each user function has a corresponding function ID of the form funcname_func_id. For example, the ID for the function x_proc() is x_proc_func_id.

Parameters

dt_msg_info_sp
A pointer to a DT_MSG_INFO_ST structure as described in DT_MSG_INFO_ST, returned from a previous call to CA_Receive_DT_Msg().
output_data
A pointer to the variable or buffer of output parameters to be returned to the requesting channel process. Refer to User function parameters for information about parameter formats and types.

Return codes

0
Successful
-1
Unsuccessful (global error number CA_errno is set to indicate the error)

Error names

CA_ACCESS_NOBUFS
CA_INV_ADDR
CA_INV_FUNC_ID
CA_NO_MSG_RECV
CA_NO_PARMS
CA_NOT_INIT
CA_PARM_OVERFLOW
CA_TERMINATING

Related information

CA_Get_DT_Parameters(), CA_Receive_DT_Msg(), CA_Send_CA_Msg(), CA_Send_DT_Error(), CA_Send_DT_Msg().