openbmc/build/tmp/deploy/sdk/witherspoon-2019-08-08/sysroots/armv6-openbmc-linux-gnueabi/usr/src/debug/libnl/1_3.4.0-r0/libnl-3.4.0/lib/cache_mngt.c
struct nl_cache* nl_cache_mngt_require(const char* name)
{
    struct nl_cache* cache;

    if (!(cache = __nl_cache_mngt_require(name)))
        NL_DBG(1,
               "Application BUG: Your application must "
               "call nl_cache_mngt_provide() and\nprovide a valid "
               "%s cache to be used for internal lookups.\nSee the "
               " API documentation for more details.\n",
               name);

    return cache;
}
/**
 * Return cache previously provided via nl_cache_mngt_provide()
 * @arg name		Name of cache to lookup
 *
 * @attention This function is not safe, it does not increment the reference
 *            counter. Please use nl_cache_mngt_require_safe().
 *
 * @see nl_cache_mngt_require_safe()
 *
 * @return Pointer to cache or NULL if none registered
 */
Return cache previously provided via nl_cache_mngt_provide()
@arg name            Name of cache to lookup

@attention This function is not safe, it does not increment the reference
counter.



@return Pointer to cache or NULL if none registered
Return cache previously provided via nl_cache_mngt_provide () @arg name Name of cache to lookup @attention This function is not safe it does not increment the reference counter . @return Pointer to cache or NULL if none registered
struct nl_cache* nl_cache_mngt_require(const char* name)
{
    struct nl_cache* cache;
    if (!(cache = __nl_cache_mngt_require(name)))
        NL_DBG(1,
               "Application BUG: Your application must "
               "call nl_cache_mngt_provide() and\nprovide a valid "
               "%s cache to be used for internal lookups.\nSee the "
               " API documentation for more details.\n",
               name);
    return cache;
}
struct nl_cache * nl_cache_mngt_require ( const char * name ) { struct nl_cache * cache ; if ( ! ( cache = __nl_cache_mngt_require ( name ) ) ) NL_DBG ( 1 , " " " \n " " \n " " \n " , name ) ; return cache ; }
Return cache previously provided via nl_cache_mngt_provide()
 @arg name            Name of cache to lookup
Return cache previously provided via nl_cache_mngt_provide () @arg name Name of cache to lookup