CA_Delete_Voice_Dir()

Purpose

Delete a specified voice directory.

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_Voice_Dir(
 char *voice_dir_name,
 unsigned char language
);

Description

This subroutine deletes the specified voice directory.

Parameters

voice_dir_name
The name of the voice directory. The maximum number of characters allowed in this string is MAX_VOICE_DIR_LENGTH.
language
The language of the voice directory. The range of this parameter is 1 to MAX_LANGUAGE.

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_VOICE_DIR
CA_INV_REQUEST
CA_NO_MSG_RECV
CA_NOT_INIT
CA_VOICE_DIR_NOT_FOUND
CA_REQ_FAILED
CA_TERMINATING
CA_UPDATE_XREFS_FAILED

Related information

None.