4 * Copyright (C) 2004 Dmitry Yusupov, Alex Aizman
5 * maintained by open-iscsi@@googlegroups.com
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published
9 * by the Free Software Foundation; either version 2 of the License, or
10 * (at your option) any later version.
12 * This program is distributed in the hope that it will be useful, but
13 * WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 * General Public License for more details.
17 * See the file COPYING included with this distribution for more details.
30 extern int discovery_isns_query(struct discovery_rec
*drec
, const char *iname
,
31 const char *targetname
,
32 struct list_head
*rec_list
);
33 extern void discovery_isns_free_servername(void);
34 extern int discovery_isns_set_servername(char *address
, int port
);
35 extern int discovery_isns(void *data
, struct iface_rec
*iface
,
36 struct list_head
*rec_list
);
37 extern int discovery_fw(void *data
, struct iface_rec
*iface
,
38 struct list_head
*rec_list
);
39 extern int discovery_sendtargets(void *data
, struct iface_rec
*iface
,
40 struct list_head
*rec_list
);
41 extern int discovery_offload_sendtargets(int host_no
, int do_login
,
42 struct discovery_rec
*drec
);
43 #endif /* DISCOVERY_H */