package/libs/libnl-tiny/src/cache_mngt.c
/**
 * Lookup the set cache operations of a certain cache type
 * @arg name		name of the cache type
 *
 * @return The cache operations or NULL if no operations
 *         have been registered under the specified name.
 */
Lookup the set cache operations of a certain cache type
@arg name            name of the cache type

@return The cache operations or NULL if no operations
have been registered under the specified name.
Lookup the set cache operations of a certain cache type @arg name name of the cache type @return The cache operations or NULL if no operations have been registered under the specified name .
struct nl_cache_ops *nl_cache_ops_lookup(const char *name)
{
	struct nl_cache_ops *ops;
	for (ops = cache_ops; ops; ops = ops->co_next)
		if (!strcmp(ops->co_name, name))
			return ops;
	return NULL;
}
struct nl_cache_ops * nl_cache_ops_lookup ( const char * name ) { struct nl_cache_ops * ops ; for ( ops = cache_ops ; ops ; ops = ops -> co_next ) if ( ! strcmp ( ops -> co_name , name ) ) return ops ; return NULL ; }
Lookup the set cache operations of a certain cache type
 @arg name            name of the cache type
Lookup the set cache operations of a certain cache type @arg name name of the cache type