NAME

grpc_is_canceled_np - Checks whether the Ninf-G Client has requested cancellation.

SYNOPSIS


#include <grpc_executable.h>

int grpc_is_canceled_np(grpc_error_t *error)

ARGUMENTS

grpc_error_t *error
If successful, GRPC_NO_ERROR is returned to *error. In the case of an error, Error code is returned to *error.

DESCRIPTION

The grpc_is_canceled_np() function checks whether the Ninf-G Client has requested cancellation or not.

Note: grpc_is_canceled_np() is defined as Ninf-G Executable API, which is only used by the server side program.

RETURN VALUE

If the Ninf-G Client requested the session cancel by grpc_cancel(), this function returns 1. Otherwise, this function returns 0.

ERRORS

None

last update : $Date: 2010-04-16 01:09:23 +0900 (金, 16 4月 2010) $