FTAM/9000 Programmer's Guide

424 Chapter 10
Example Programs
Common Code Example
/*
**
** concur_cntl_in
**
** DESCRIPTION:
** This routine assigns valid values to the Ft_concurrency_control
** structure.
**
**
** PARAMETERS:
** Outputs:
** concurrency_control : pointer to the Ft_concurrency_control
** structure
**
*/
void
concur_cntl_in(concurrency_control)
struct Ft_concurrency_control **concurrency_control;
{
/*
** Initialize the Ft_concurrency_control structure.
*/
*concurrency_control = NULL;
}
/*
**
** fadu_ident_in
**
** DESCRIPTION:
** This routine assigns valid values to the Ft_fadu_identity structure.
**
**
** PARAMETERS:
** Outputs:
** fadu_identity : pointer to the Ft_fadu_identity structure
**
*/
void
fadu_ident_in(fadu_identity)
struct Ft_fadu_identity *fadu_identity;
{
/*
** Initialize all fields of Ft_fadu_identity structure.
*/
fadu_identity-fadu_form = FT_FADU_LOCATION;
fadu_identity-fadu_info.fadu_location = FT_FIRST;
}