1iscsi_context_new(3) API Manual iscsi_context_new(3)
2
3
4
6 iscsi_context_new - Create struct iscsi_context.
7
9 struct iscsi_context * iscsi_context_new (void);
10
12 void no arguments
13
15 The default logging level (LIBISCSI_LOG_PRIORITY_DEFAULT) is LI‐
16 BISCSI_LOG_PRIORITY_WARNING which means only warning and error message
17 will be forward to log handler function. The default log handler func‐
18 tion will print log message to STDERR, to change so, please use
19 iscsi_context_log_func_set to set your own log handler, check manpage
20 libopeniscsiusr.h(3) for detail.
21
23 Pointer of 'struct iscsi_context'. Should be freed by iscsi_con‐
24 text_free.
25
26
27
28July 2023 iscsi_context_new iscsi_context_new(3)