NAME
snmdb_delete_from_view - deletes the element from a particular view
SYNOPSIS
#include <netmgt/netmgt_db.h>
snmdb_delete_from_view(buffer, viewname)
snmdb_buffer *buffer;
char *viewname;
DESCRIPTION
The view in which the element exists is described in the element's membership record. snmdb_delete_from_view removes the membership record with the specified view name from the element buffer.
INPUT ARGUMENTS
buffer
pointer to a structure of type snmdb_buffer.
viewname
name of the view in which the element exists.
RETURN VALUE
Returns 1 if successful. Otherwise, it returns 0, and the external variable snm_error(3n) is set to the error reason.