CA_Terminate()

Purpose

Shut down a custom server.

Libraries

Blueworx Voice Response library (libvae.a)

Custom Server library (libca.a)

Syntax

#include "CA_header.h"
void CA_Terminate (
 int exit_status
);

Description

This subroutine shuts down a custom server, as if it had been shut down by the custom server controller. It executes the user-specified termination function, detaches the custom server from the Blueworx Voice Response runtime system, and exits with the specified exit_status. If the custom server had not been initialized, the only effect is to exit with the specified exit_status. In a multiprocess custom server, both parent and child need to call this subroutine.

Parameters

exit_status
Specifies the exit status of the custom server to be passed to the system exit() routine.

Return codes

This subroutine does not return to the calling environment.

Error names

This subroutine does not return to the calling environment.

Related information

CA_Init().