FreeBSD/sbin/mdconfig/mdconfig.c
/*
 * Returns value of 'name' from gconfig structure.
 */
Returns value of 'name' from gconfig structure.
Returns value of ' name ' from gconfig structure .
static char *
geom_config_get(struct gconf *g, const char *name)
{
	struct gconfig *gce;
	LIST_FOREACH(gce, g, lg_config) {
		if (strcmp(gce->lg_name, name) == 0)
			return (gce->lg_val);
	}
	return (NULL);
}
static char * geom_config_get ( struct gconf * g , const char * name ) { struct gconfig * gce ; LIST_FOREACH ( gce , g , lg_config ) { if ( strcmp ( gce -> lg_name , name ) == 0 ) return ( gce -> lg_val ) ; } return ( NULL ) ; }
Returns value of 'name' from gconfig structure.
Returns value of ' name ' from gconfig structure .