File: parse.h

package info (click to toggle)
zoo 2.10-9
  • links: PTS
  • area: non-free
  • in suites: woody
  • size: 780 kB
  • ctags: 1,288
  • sloc: ansic: 9,041; asm: 793; makefile: 211
file content (27 lines) | stat: -rw-r--r-- 704 bytes parent folder | download | duplicates (9)
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
/* @(#) parse.h 2.1 87/12/25 12:24:15 */

/*
The contents of this file are hereby released to the public domain.

                           -- Rahul Dhesi 1986/11/14
*/

/*
defines structure used in call to parse()
*/
#define XTRA  2         /* extra space to avoid off-by-one errors */


struct path_st {
   char drive[2+1+XTRA];            /* drive name            */
   char dir[PATHSIZE+1+XTRA];       /* path prefix           */
   char fname[8+1+XTRA];            /* root name of filename */
   char lfname[LFNAMESIZE+1+XTRA];  /* long filename    */
   char ext[EXTLEN+1+XTRA];         /* extension        */
};

#ifdef LINT_ARGS
void parse (struct path_st *, char *);
#else
void parse();
#endif