target_core_tpg.h 818 B

12345678910111213141516171819202122
  1. #ifndef TARGET_CORE_TPG_H
  2. #define TARGET_CORE_TPG_H
  3. extern struct se_node_acl *core_tpg_check_initiator_node_acl(
  4. struct se_portal_group *,
  5. unsigned char *);
  6. extern void core_tpg_clear_object_luns(struct se_portal_group *);
  7. extern struct se_node_acl *core_tpg_add_initiator_node_acl(
  8. struct se_portal_group *,
  9. struct se_node_acl *,
  10. const char *, u32);
  11. extern int core_tpg_del_initiator_node_acl(struct se_portal_group *,
  12. struct se_node_acl *, int);
  13. extern int core_tpg_set_initiator_node_queue_depth(struct se_portal_group *,
  14. unsigned char *, u32, int);
  15. extern int core_tpg_register(struct target_core_fabric_ops *,
  16. struct se_wwn *,
  17. struct se_portal_group *, void *,
  18. int);
  19. extern int core_tpg_deregister(struct se_portal_group *);
  20. #endif /* TARGET_CORE_TPG_H */