File: list.h

package info (click to toggle)
epic4 1%3A3.0-2.2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 3,756 kB
  • sloc: ansic: 56,285; makefile: 631; sh: 161; perl: 30
file content (26 lines) | stat: -rw-r--r-- 552 bytes parent folder | download | duplicates (11)
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
/*
 * list.h: header for list.c 
 *
 * Copyright 1990 Michael Sandrof
 * Copyright 1997 EPIC Software Labs
 * See the COPYRIGHT file, or do a HELP IRCII COPYRIGHT 
 */

#ifndef __list_h__
#define __list_h__

typedef	struct	list_stru
{
	struct	list_stru	*next;
	char	*name;
}	List;

void	add_to_list 		(List **, List *);
List	*find_in_list 		(List **, const char *, int);
List	*remove_from_list 	(List **, const char *);
List	*list_lookup 		(List **, const char *, int, int);

#define REMOVE_FROM_LIST 	1
#define USE_WILDCARDS 		1

#endif /* _LIST_H */