NAME
snmdb_delete_alias - deletes an alias record for the element
SYNOPSIS
#include <netmgt/netmgt_db.h>
snmdb_delete_alias(buffer, aliasName)
snmdb_buffer *buffer;
char *aliasName;
DESCRIPTION
An element may be identified by the name it was created initially or by its secondary names specified in the alias records. snmdb_delete_alias removes an alias record from the element buffer so that the element can no longer be accessed via aliasName.
INPUT ARGUMENTS
buffer
pointer to a structure of type snmdb_buffer.
aliasName
the secondary name which the element is also known as.
RETURN VALUE
Returns 1 if successful. Otherwise, it returns 0, and the external variable snm_error(3n) is set to the error reason.
SEE ALSO
snmdb_add_alias(3n), snmdb_enumerate_aliases(3n)