logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

iscsi_context_new - Create struct iscsi_context.

Arguments

void no arguments

Description

The default logging level (LIBISCSI_LOG_PRIORITY_DEFAULT) is LIBISCSI_LOG_PRIORITY_WARNING which means only warning and error message will be forward to log handler function. The default log handler function will print log message to STDERR, to change so, please use iscsi_context_log_func_set to set your own log handler, check manpage libopeniscsiusr.h(3) for detail.

Name

iscsi_context_new - Create struct iscsi_context.

Return

Pointer of 'struct iscsi_context'. Should be freed by iscsi_context_free. July 2025 iscsi_context_new iscsi_context_new(3)

Synopsis

structiscsi_context*iscsi_context_new(void);

See Also