rc_dict_addvend(3)

rc_dict_addvend3

Add vendor to dictionary.

Usage

#include <radcli/>

DICT_VENDOR * rc_dict_addvend(
    rc_handle   *rh,
    char const  *namestr,
    uint32_t     vendorspec
);

Overview

A re-add identical to an already-loaded vendor of the same name returns that existing vendor rather than adding a duplicate; a re-add of the same name with a conflicting Vendor-Id fails, after a warning naming both definitions.

Parameters

rh

a handle to configuration.

namestr

vendor name

vendorspec

vendorspec

Return value

added (or already-existing, identical) vendor on success, NULL on failure or conflict

From radcli 2.0.1-1 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.