ack/lang/m2/m2mm/file_list.h

25 lines
713 B
C
Raw Permalink Normal View History

1988-02-17 17:21:51 +00:00
/*
* (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The Netherlands.
* See the copyright notice in the ACK home directory, in the file "Copyright".
*
* Author: Ceriel J.H. Jacobs
*/
/* F I L E L I S T S T R U C T U R E */
1987-09-24 13:01:27 +00:00
struct file_list {
1988-02-17 17:21:51 +00:00
char *a_filename; /* name of file */
char *a_dir; /* directory in which it resides */
struct idf *a_idf; /* its idf-structure */
struct file_list *a_next; /* next in list */
1988-09-06 11:28:16 +00:00
char a_notfound; /* could not open ... */
1987-09-24 13:01:27 +00:00
};
1988-02-17 17:21:51 +00:00
#define f_walk(list, ctrl) \
for (ctrl = (list); ctrl; ctrl = ctrl->a_next)
#define f_filename(a) ((a)->a_filename)
#define f_idf(a) ((a)->a_idf)
#define f_dir(a) ((a)->a_dir)
1988-09-06 11:28:16 +00:00
#define f_notfound(a) ((a)->a_notfound)