File: ncdt.h

package info (click to toggle)
ncdt 2.1-2
  • links: PTS
  • area: main
  • in suites: sarge, woody
  • size: 84 kB
  • ctags: 34
  • sloc: ansic: 314; makefile: 59
file content (29 lines) | stat: -rw-r--r-- 654 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
/*
 * NcdT -- directory tree printer with extended capabilities
 * (C) 1999-2001 by Pawel Wiecek <coven@vmh.net>
 * See Copying file for licence.
 *
 * Structures and prototypes
 */

#ifndef __NCDT_H__
#define __NCDT_H__

struct TREE {
 char *name;
 unsigned long len, time;
 int isdir, dirdown, brmin, brmax;
 struct TREE *brother, *son;
};

int endswith(char *, char *);
char *nicenum(unsigned long);
char *nicetime(unsigned long);
void help(void);
void t_scan(struct TREE *, char *);
int t_fix(struct TREE *, unsigned long *, int *, int *);
void t_print(struct TREE *, char *);
void t_free(struct TREE *);
void mp3info(char *, struct TREE *);

#endif