summaryrefslogtreecommitdiff
path: root/usr/discovery.h
blob: 5a7ed431ac1e6f3e61bdb95cfd95424d20050a45 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#ifndef ISCSI_DISCOVERY_H_
#define ISCSI_DISCOVERY_H_

#include "iscsid.h"		/* for process types */
#include "string-buffer.h"

/* functions */
extern void discovery_process(struct iscsi_discovery_process *discovery);

/* functions useful for implementing other types of discovery processes */
extern int add_target_record(struct string_buffer *info, char *name, char *end,
			     int lun_inventory_changed, char *default_address,
			     char *default_port, int fd);
extern int add_portal(struct string_buffer *info, char *address, char *port,
		      char *tag);

#endif