Previous PageTable Of Contents../index.htmlIndexNext Page

grtRespond( )

Description | Example

Name:

int grtRespond (GRT_EVENT *event,
GRT_RESPONSE *response)

Inputs:

GRT_EVENT *event

  • Pointer to an event structure.

GRT_RESPONSE *response

  • Pointer to a response structure.

Outputs:

None

 

Returns:

GRT_SUCCESS

  • Successful.

GRT_ANOTHER_THREAD

  • Channel is controlled by another thread.

GRT_INVALID_RESPONSE

  • Type of response to be sent is invalid.

GRT_RESPONSE_FAIL

  • Send of response message failed.

GRT_INVALID_CHAN

  • Channel that event occurred upon is not the same channel the response is being sent to.
 

GRT_CONTROL_BUSY

  • The semaphore could not be set.
 

GRT_UNLOCK_FAIL

  • The semaphore could not be released.
 

GRT_LOCK_FAILED

  • The semaphore could not be set.
 

GRT_NOT_INIT

  • The specified channel has not been grtInit'ed.
 

GFD_BROKEN_PIPE

  • The response pipe is broken.
 

GFD_INVALID_HANDLE

  • The response pipe is corrupted.

Includes:

genra.h

 

Top Of PageDescription

The grtRespond( ) function responds to an event.

This function responds to the given event. The response structure must have the response_type (GRT_CONTINUE, GRT_END_CALL, etc.) initialized before this function is called.

Top Of PageExample


Previous PageTable Of ContentsTop Of PageIndexNext Page

Click here to contact Dialogic Customer Engineering

Copyright 2000, Dialogic Corporation
All rights reserved
This page generated January, 2002