2 * iscsid communication helpers
4 * Copyright (C) 2010 Mike Christie
5 * Copyright (C) 2010 Red Hat, Inc. All rights reserved.
6 * maintained by open-iscsi@googlegroups.com
8 * This program is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License as published
10 * by the Free Software Foundation; either version 2 of the License, or
11 * (at your option) any later version.
13 * This program is distributed in the hope that it will be useful, but
14 * WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16 * General Public License for more details.
18 * See the file COPYING included with this distribution for more details.
28 extern int iscsid_exec_req(struct iscsiadm_req
*req
, struct iscsiadm_rsp
*rsp
,
30 extern int iscsid_req_wait(int cmd
, int fd
);
31 extern int iscsid_req_by_rec_async(int cmd
, struct node_rec
*rec
, int *fd
);
32 extern int iscsid_req_by_rec(int cmd
, struct node_rec
*rec
);
33 extern int iscsid_req_by_sid_async(int cmd
, int sid
, int *fd
);
34 extern int iscsid_req_by_sid(int cmd
, int sid
);