CA_Delete_Segment()

Purpose

Deletes a voice segment.

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_Segment (
 SEGMENT_PARM_ST  *segment_parm_sp
);

Description

This subroutine deletes a voice segment based on the information provided in the SEGMENT_PARM_ST input structure.

Parameters

segment_parm_sp
A pointer to a SEGMENT_PARM_ST input structure that is filled in as described in SEGMENT_PARM_ST.

Return codes

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

Error names

CA_ACCESS_NOBUFS
CA_CHECK_LANG_FAILED
CA_INV_ADDR
CA_INV_COMPRESSION_TYPE
CA_INV_REQUEST
CA_INV_SEGMENT_ID
CA_INV_VOICE_DIR
CA_LANG_FILE_LOCKED
CA_LANG_NOT_FOUND
CA_LANG_NOT_IN_USE
CA_NO_MSG_RECV
CA_NOT_INIT
CA_OM_REQ_FAILED
CA_REQ_FAILED
CA_SEGMENT_NOT_FOUND
CA_TERMINATING

Related information

CA_Create_Segment(), CA_Get_Segment(), CA_Get_Segment_Info().