summaryrefslogtreecommitdiff
path: root/libmultipath/blacklist.h
diff options
context:
space:
mode:
authorroot <root@potab.(none)>2005-08-10 18:38:11 +0200
committerroot <root@potab.(none)>2005-08-10 18:38:11 +0200
commitaefe7b08ce2695a273879d99250889be90b51d7f (patch)
tree0362eb4c985c7bf77a1e6427d0b54da569fe1190 /libmultipath/blacklist.h
parente7d98c0085c910c1f95e99bc99348608a6e3d63b (diff)
downloadmultipath-tools-aefe7b08ce2695a273879d99250889be90b51d7f.tar.gz
multipath-tools-aefe7b08ce2695a273879d99250889be90b51d7f.tar.bz2
multipath-tools-aefe7b08ce2695a273879d99250889be90b51d7f.zip
[libmultipath] simplify the blacklist handling
No need to carry along the regex string. So no need for a "struct blentry". Now a blist vector directly holds regex_t entries.
Diffstat (limited to 'libmultipath/blacklist.h')
-rw-r--r--libmultipath/blacklist.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/libmultipath/blacklist.h b/libmultipath/blacklist.h
index 1b0fc05..9817c9b 100644
--- a/libmultipath/blacklist.h
+++ b/libmultipath/blacklist.h
@@ -3,11 +3,6 @@
#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);