diff options
author | Chris Lumens <clumens@redhat.com> | 2010-08-31 15:35:44 -0400 |
---|---|---|
committer | Chris Lumens <clumens@redhat.com> | 2010-10-15 16:42:27 -0400 |
commit | fb93c076f1a3c817f4a711d7e4686e472b841b0a (patch) | |
tree | 3db989002fc01fa2f02af1fde5d6f8284a0cbb43 /loader/dirbrowser.h | |
parent | 1d9d84658e80b7882ac77d5479cc598fe8592fc4 (diff) | |
download | anaconda-fb93c076f1a3c817f4a711d7e4686e472b841b0a.tar.gz anaconda-fb93c076f1a3c817f4a711d7e4686e472b841b0a.tar.xz anaconda-fb93c076f1a3c817f4a711d7e4686e472b841b0a.zip |
Rework how image loading works for HD installs.
This is the same as has been previously done for NFS and URL install methods.
While I'm at it, add a parseDeviceAndDir convenience function similar to what
we've got in nfsinstall.c.
Diffstat (limited to 'loader/dirbrowser.h')
-rw-r--r-- | loader/dirbrowser.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/loader/dirbrowser.h b/loader/dirbrowser.h index 7fb22f292..77f5681f9 100644 --- a/loader/dirbrowser.h +++ b/loader/dirbrowser.h @@ -22,7 +22,11 @@ #include <dirent.h> +typedef int (*filterfunc_t)(char *, struct dirent *); + +char **get_file_list(char *dirname, filterfunc_t filterfunc); + char * newt_select_file(char * title, char * text, char * dirname, - int (*filterfunc)(char *, struct dirent *)); + filterfunc_t filterfunc); #endif |