src/gen-chunk.c
struct chunk *chunk_find_name(char *name)
{
	int i;

	for (i = 0; i < chunk_list_max; i++)
		if (!strcmp(name, chunk_list[i]->name))
			return chunk_list[i];

	return NULL;
}
/**
 * Find a chunk by name
 * \param name the name of the chunk being sought
 * \return the pointer to the chunk
 */
Find a chunk by name
\param name the name of the chunk being sought
\return the pointer to the chunk
Find a chunk by name \ param name the name of the chunk being sought \ return the pointer to the chunk
struct chunk *chunk_find_name(char *name)
{
	int i;
	for (i = 0; i < chunk_list_max; i++)
		if (!strcmp(name, chunk_list[i]->name))
			return chunk_list[i];
	return NULL;
}
struct chunk * chunk_find_name ( char * name ) { int i ; for ( i = 0 ; i < chunk_list_max ; i ++ ) if ( ! strcmp ( name , chunk_list [ i ] -> name ) ) return chunk_list [ i ] ; return NULL ; }
Find a chunk by name
 \param name the name of the chunk being sought
 \return the pointer to the chunk
Find a chunk by name \ param name the name of the chunk being sought \ return the pointer to the chunk