CA_Delete_CA()

Purpose

Delete a specified custom server.

Libraries

Blueworx Voice Response library (libvae.a)

Custom Server library (libca.a)

Syntax

#include "CA_header.h"
#include "CA_access_db.h"
int CA_Delete_CA(
 char *appl_name
);

Description

This subroutine deletes the specified custom server. An installed custom server must first be uninstalled using CA_Deinstall_CA().

Parameters

appl_name
Custom server name. The maximum number of characters allowed in this string is MAX_CA_NAME_LENGTH. This string must be terminated with a zero.

Return codes

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

Error names

CA_ACCESS_NOBUFS
CA_APPL_INSTALLED
CA_APPL_NOT_FOUND
CA_FUNC_FAILED
CA_INV_ADDR
CA_INV_APPL
CA_INV_REQUEST
CA_NO_MSG_RECV
CA_NOT_INIT
CA_REQ_FAILED
CA_TERMINATING
CA_UPDATE_XREFS_FAILED

Related information

CA_Start_CA(), CA_Stop_CA(), CA_Deinstall_CA(), CA_Get_CA_Info(), CA_Send_CA_Msg(), CA_Set_CA_Ipl_Status().