rem: return res;
add: return status;
context: process_module_info(module_iterator *iter, char *buf, size_t *bufsize){	module *m = NULL;	module_info **mod;	int res = B_NO_ERROR;			mod = iter->cur_header;	if (!mod || !(*mod)) {		res = EINVAL;	} else {		res = simple_module_info(*mod, iter->cur_path, iter->module_pos++);				m = (module*)hash_get(modules_list, (*mod)->name, strlen((*mod)->name));		if (m) {			strlcpy(buf, m->name, *bufsize);			*bufsize = strlen(m->name);		}	}		/* Deal with the header pointer!	 * Basically if we have a valid pointer (mod) and the next (++mod) is NOT null,	 * then we advance the cur_header pointer, otherwise we specify it as	 * NULL to make sure we don't have trouble :)	 */	if (mod && *(++mod) != NULL)		iter->cur_header++;	else		iter->cur_header = NULL;	return res;}	