mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-14 13:26:44 +07:00
8dcf07be2d
Remove superfluous #include directives from the include/target/*.h files. Add missing #include directives to other *.h and *.c files. Use forward declarations for structures where possible. This change reduces the build time for make M=drivers/target on my laptop from 27.1s to 18.7s or by about 30%. Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com> Cc: Christoph Hellwig <hch@lst.de> Cc: Bryant G. Ly <bryantly@linux.vnet.ibm.com>
25 lines
775 B
C
25 lines
775 B
C
#ifndef ISCSI_TARGET_NEGO_H
|
|
#define ISCSI_TARGET_NEGO_H
|
|
|
|
#define DECIMAL 0
|
|
#define HEX 1
|
|
|
|
struct iscsi_conn;
|
|
struct iscsi_login;
|
|
struct iscsi_np;
|
|
|
|
extern void convert_null_to_semi(char *, int);
|
|
extern int extract_param(const char *, const char *, unsigned int, char *,
|
|
unsigned char *);
|
|
extern int iscsi_target_check_login_request(struct iscsi_conn *,
|
|
struct iscsi_login *);
|
|
extern int iscsi_target_get_initial_payload(struct iscsi_conn *,
|
|
struct iscsi_login *);
|
|
extern int iscsi_target_locate_portal(struct iscsi_np *, struct iscsi_conn *,
|
|
struct iscsi_login *);
|
|
extern int iscsi_target_start_negotiation(
|
|
struct iscsi_login *, struct iscsi_conn *);
|
|
extern void iscsi_target_nego_release(struct iscsi_conn *);
|
|
|
|
#endif /* ISCSI_TARGET_NEGO_H */
|