summaryrefslogtreecommitdiff
path: root/libmultipath/blacklist.h
blob: 1b0fc05a888065ab500b8e8a26e208ea8debcdfd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#ifndef _BLACKLIST_H
#define _BLACKLIST_H

#define BLIST_ENTRY_SIZE 255

struct blentry {
	char * str;
	void * preg;
};

int setup_default_blist (vector blist);
int blacklist (vector blist, char * dev);
int store_regex (vector blist, char * regex);
void free_blacklist (vector blist);

#endif /* _BLACKLIST_H */