Imported Upstream version 0.8.9
[platform/upstream/multipath-tools.git] / libmpathpersist / mpath_persist_int.h
1 #ifndef _MPATH_PERSIST_INT_H
2 #define _MPATH_PERSIST_INT_H
3
4 /*
5  * This header file contains symbols that are used by multipath-tools
6  * but aren't part of the public libmpathpersist API.
7  */
8
9 void * mpath_alloc_prin_response(int prin_sa);
10 int do_mpath_persistent_reserve_in(vector curmp, vector pathvec,
11                                    int fd, int rq_servact,
12                                    struct prin_resp *resp, int noisy);
13 void *mpath_alloc_prin_response(int prin_sa);
14 int do_mpath_persistent_reserve_out(vector curmp, vector pathvec, int fd,
15                                     int rq_servact, int rq_scope,
16                                     unsigned int rq_type,
17                                     struct prout_param_descriptor *paramp,
18                                     int noisy);
19 int prin_do_scsi_ioctl(char * dev, int rq_servact, struct prin_resp * resp, int noisy);
20 int prout_do_scsi_ioctl( char * dev, int rq_servact, int rq_scope,
21                          unsigned int rq_type, struct prout_param_descriptor *paramp, int noisy);
22 void dumpHex(const char* , int len, int no_ascii);
23 int update_map_pr(struct multipath *mpp);
24
25 #endif /* _MPATH_PERSIST_INT_H */