Lines Matching refs:type
62 struct file_metadata* metadata_next(struct file_metadata *base_mp, int type);
93 * load -t <type> <path>
140 command_errmsg = "invalid load type";
403 * We've been asked to load (fname) as (type), so just suck it in,
407 file_loadraw(const char *fname, char *type, int argc, char **argv, int insert)
459 fp->f_type = strdup(type);
573 * Find a file matching (name) and (type).
577 file_findfile(const char *name, const char *type)
583 ((type == NULL) || !strcmp(type, fp->f_type)))
629 * metadata of (type) to the module (mp).
632 file_addmetadata(struct preloaded_file *fp, int type, size_t size, void *p)
638 md->md_type = type;
645 * Find a metadata object of (type) associated with the file (fp)
648 file_findmetadata(struct preloaded_file *fp, int type)
653 if (md->md_type == type)
659 metadata_next(struct file_metadata *md, int type)
664 if (md->md_type == type)