Hi Abhiram,

You're very welcome! And thank you for the confirmation regarding the 
ssh_sockets.

By the way: IMHO the wording of ssh_set_channel_callbacks() and 
ssh_add_channel_callbacks() is inverted: "To add" implies that the CB are in 
_addition_ to the existing callbacks, while setting them should replace the 
existing...

Cheers
Till 

March 16, 2025 4:33 PM, "Bangaru Abhi" <[email protected] 
(mailto:[email protected]?to=%22Bangaru%20Abhi%22%20<[email protected]>)>
 wrote:
Dear Till,

Thank you for your email and for pointing out the missing 
`ssh_channel_callbacks_struct` in the API documentation. I will ensure that the 
struct is added. Your attention to detail is greatly appreciated!

Regarding the `ssh_socket` functions, you are correct in your assumption. These 
functions are intended for internal use.

Thank you again for your valuable feedback.

Sincerely,
Abhiram 
On Sun, 16 Mar 2025 at 20:10, <[email protected] 
(mailto:[email protected])> wrote: 
Hi there,

I wonder why struct ssh_channel_callbacks_struct is missing in the API doc 
(https://api.libssh.org/stable/group__libssh__callbacks.html 
(https://api.libssh.org/stable/group__libssh__callbacks.html)).

Maybe this is a small fix in the annotations and it would help the API doc a 
lot...

Talking about documentation: I was wondering when / what for to use ssh_socket 
functions. They're not mentioned in the tutorial. Are they used internally only?

Cheers
Till

Reply via email to