File: dirfilemenu.h

package info (click to toggle)
gramofile 1.6-7
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 840 kB
  • ctags: 538
  • sloc: ansic: 10,238; makefile: 55
file content (24 lines) | stat: -rw-r--r-- 633 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
/* Dir/file menus - Header

 * Copyright (C) 1998 J.A. Bezemer
 *
 * Licensed under the terms of the GNU General Public License.
 * ABSOLUTELY NO WARRANTY.
 * See the file `COPYING' in this directory.
 */

#ifndef HAVE_DIRFILEMENU_H
#define HAVE_DIRFILEMENU_H


#include "scrollmenu.h"

extern void dirfilemenu (char *basedir, scrollmenu_t * menu);
		/* NOTE: basedir must contain last '/', like "/home/" */

extern int dirfilemenu_process_select (scrollmenu_t * menu, char *dirfile);
		/* Returns: 0 if file, then complete filename in dirfile
		   1 if dir, then new complete dirname in dirfile */


#endif /* HAVE_DIRFILEMENU_H */