Warning: Can't synchronize with the repository (Unsupported version control system "svn": "/usr/lib64/libsvn_ra_neon-1.so.0: undefined symbol: svn_compat_wrap_file_rev_handler" ). Look in the Trac log for more information.

v3_channel_requires_password()

uint16_t v3_channel_requires_password(uint16_t channel_id);

Return the status of a specific channel's password protected setting. A password protected channel can be protected by a parent channel as well. See the return value section for more information.

Arguments

Type Description
uint16_t channel_id The channel id to query for password protected status

Returns

Returns 0 if a channel is not password protected. Returns the channel id of the channel that causes the specified channel to be password protected. Channel passwords are hierarchical. If a channel is password protected, all sub-channels will also be password protected with the same password. The return value of this function will return the channel id of either the current channel (if it is protected), or the parent channel id that causes the channel to be protected.