FTAM/9000 Programmer's Guide

404 Chapter 10
Example Programs
Common Code Example
/*
** Initialize “inout_dcb”.
*/
*inout_dcb = NULL;
*connection_id = 0;
}
/*
**
** rre_parm_in
**
** DESCRIPTION:
** This routine assigns valid values to the ft_rrequest parameters.
**
**
** PARAMETERS:
** OUTPUT:
** return_event_name : gets signalled when the event completes
** default: SYNCHRONOUS
** input_dcb : input_dcb is NULL
** inout_dcb : contains return_code field
**
**
*/
void
rre_parm_in(return_event_name, input_dcb, inout_dcb)
Local_event_name *return_event_name;
struct Ft_relreq_in_dcb **input_dcb;
struct Ft_relreq_out_dcb **inout_dcb;
{
/*
** Initialize the parameters with valid values.
*/
*return_event_name = SYNCHRONOUS;
*input_dcb = NULL;
*inout_dcb = NULL;
}
/*
**
** aed_parm_in
**
** DESCRIPTION:
** This routine assigns valid values to the ft_aedeactivation parameters.
**
**
** PARAMETERS:
** OUTPUT:
** return_event_name : gets signalled when the event completes
** default: SYNCHRONOUS
** inout_dcb : contains return_code field
**
**
*/