Avaya Logo

Previous Topic

Next Topic

Book Contents

Book Index

VStoname

Name

VStoname � Find the procName of the given message queue key

Format

#include <sys/types.h>
#include <stdio.h>
#include VS.h

char *VStoname(Qkey)
key_t Qkey; /* message queue key */

Description

VStoname searches the voice system Bulletin Board (BB) and returns a pointer to the procName associated with the specified message queue key. VStoname will return the procName of hardcoded processes (processes not using dynamic Qkey numbers) as well as dynamic processes. If the message queue key is not found, VStoname will return a NULL. VStoname will also return a NULL if the BB is not attached using BBattach.

VStoname attaches the BB if not attached through VSstartup. Before returning it detaches the BB if it attached it to begin with.

Warning

The returned procName pointer refers to a static area whose content is overwritten by each call to VStoname.

See also

� 2002 Avaya Inc. All Rights Reserved.