snmdb_delete_agent manual page
Table of Contents

NAME

snmdb_delete_agent - deletes an agent record for the element

SYNOPSIS

#include <netmgt/netmgt_db.h>

snmdb_delete_agent(buffer, agent)
snmdb_buffer *buffer;
char *agent;

DESCRIPTION

snmdb_delete_agent removes the agent record from the element buffer.

INPUT ARGUMENTS

buffer
pointer to a structure of type snmdb_buffer.

agent
name of the agent.

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_agent(3n),
snmdb_get_agent(3n), snmdb_enumerate_agents(3n)


Table of Contents