1 /* Dir/file menus - Header
2 
3  * Copyright (C) 1998 J.A. Bezemer
4  *
5  * Licensed under the terms of the GNU General Public License.
6  * ABSOLUTELY NO WARRANTY.
7  * See the file `COPYING' in this directory.
8  */
9 
10 #ifndef HAVE_DIRFILEMENU_H
11 #define HAVE_DIRFILEMENU_H
12 
13 
14 #include "scrollmenu.h"
15 
16 extern void dirfilemenu (char *basedir, scrollmenu_t * menu);
17 		/* NOTE: basedir must contain last '/', like "/home/" */
18 
19 extern int dirfilemenu_process_select (scrollmenu_t * menu, char *dirfile);
20 		/* Returns: 0 if file, then complete filename in dirfile
21 		   1 if dir, then new complete dirname in dirfile */
22 
23 
24 #endif /* HAVE_DIRFILEMENU_H */
25