snmpdViewEntrySet( )

NAME

snmpdViewEntrySet( ) - install an entry in the view table

SYNOPSIS

STATUS snmpdViewEntrySet 
    ( 
    OIDC_T *   pTreeOid,    /* sub tree for view                */ 
    int        treeOidLen,  /* length of subtree oid            */ 
    UINT_16_T  index,       /* index of entry                   */ 
    uchar_t *  pMask,       /* mask for entry                   */ 
    int        maskLen,     /* mask  length in bytes            */ 
    int        viewType     /* type of view (INCLUDED/EXCLUDED) */ 
    )

DESCRIPTION

This routine creates an entry in the view table. The view subtree is specified by pTreeOid and treeOidLen. The installed entry has an index of index. The specified view is included in or excluded from the view table depending on the value of viewType (VIEW_INCLUDED or VIEW_EXCLUDED, respectively). The entry mask is specified by pmask; maskLen must be the mask length in bytes.

RETURNS

OK if successful, otherwise ERROR.

SEE ALSO

snmpdLib