|
Packit |
eace71 |
/*
|
|
Packit |
eace71 |
* iSCSI discovery
|
|
Packit |
eace71 |
*
|
|
Packit |
eace71 |
* Copyright (C) 2004 Dmitry Yusupov, Alex Aizman
|
|
Packit |
eace71 |
* maintained by open-iscsi@@googlegroups.com
|
|
Packit |
eace71 |
*
|
|
Packit |
eace71 |
* This program is free software; you can redistribute it and/or modify
|
|
Packit |
eace71 |
* it under the terms of the GNU General Public License as published
|
|
Packit |
eace71 |
* by the Free Software Foundation; either version 2 of the License, or
|
|
Packit |
eace71 |
* (at your option) any later version.
|
|
Packit |
eace71 |
*
|
|
Packit |
eace71 |
* This program is distributed in the hope that it will be useful, but
|
|
Packit |
eace71 |
* WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
Packit |
eace71 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
Packit |
eace71 |
* General Public License for more details.
|
|
Packit |
eace71 |
*
|
|
Packit |
eace71 |
* See the file COPYING included with this distribution for more details.
|
|
Packit |
eace71 |
*/
|
|
Packit |
eace71 |
#ifndef DISCOVERY_H
|
|
Packit |
eace71 |
#define DISCOVERY_H
|
|
Packit |
eace71 |
|
|
Packit |
eace71 |
|
|
Packit |
eace71 |
/* discovery.c */
|
|
Packit |
eace71 |
struct discovery_rec;
|
|
Packit |
eace71 |
struct list_head;
|
|
Packit |
eace71 |
struct iface_rec;
|
|
Packit |
eace71 |
struct node_rec;
|
|
Packit |
eace71 |
struct boot_context;
|
|
Packit |
eace71 |
|
|
Packit |
eace71 |
extern int discovery_isns_query(struct discovery_rec *drec, const char *iname,
|
|
Packit |
eace71 |
const char *targetname,
|
|
Packit |
eace71 |
struct list_head *rec_list);
|
|
Packit |
eace71 |
extern void discovery_isns_free_servername(void);
|
|
Packit |
eace71 |
extern int discovery_isns_set_servername(char *address, int port);
|
|
Packit |
eace71 |
extern int discovery_isns(void *data, struct iface_rec *iface,
|
|
Packit |
eace71 |
struct list_head *rec_list);
|
|
Packit |
eace71 |
extern int discovery_fw(void *data, struct iface_rec *iface,
|
|
Packit |
eace71 |
struct list_head *rec_list);
|
|
Packit |
eace71 |
extern int discovery_sendtargets(void *data, struct iface_rec *iface,
|
|
Packit |
eace71 |
struct list_head *rec_list);
|
|
Packit |
eace71 |
extern int discovery_offload_sendtargets(int host_no, int do_login,
|
|
Packit |
eace71 |
struct discovery_rec *drec);
|
|
Packit |
eace71 |
#endif /* DISCOVERY_H */
|