dbnpdefine

Description

Define a notification procedure.

Syntax

RETCODE dbnpdefine(dbproc, procedure_name, namelen)
 
DBPROCESS     *dbproc;
DBCHAR            *procedure_name;
DBSMALLINT     namelen;

Parameters

dbproc

A pointer to the DBPROCESS structure that provides the connection for a particular front-end/server process. It contains all the information that DB-Library/C uses to manage communications and data between the front end and the server.

procedure_name

A pointer to the name of the notification procedure being defined.

namelen

The length of procedure_name, in bytes. If procedure_name is null-terminated, pass namelen as DBNULLTERM.

Returns

SUCCEED or FAIL.

Usage

See also

dbregparam, dbnpcreate, dbreglist