Viktor Szakats
c0f69548be
session: add libssh2_session_callback_set2()
...
Add new `libssh2_session_callback_set2()` API that deprecates
`libssh2_session_callback_set()`.
The new implementation offers the same functionality, but accepts and
returns a generic function pointer (of type `libssh2_cb_generic *`), as
opposed to the old function that used data pointers (`void *`). The new
solution thus avoids data to function (and vice versa) pointer
conversions, which has undefined behaviour in standard C.
About the name: It seems the `*2` suffix was used in the past for
replacement functions for deprecated ones. Let's stick with that.
`*_ex` was preferred for new functions that extend existing ones with
new features.
Closes #1285
2023-12-18 15:02:17 +00:00
..
2023-04-10 09:20:13 +00:00
2023-05-29 17:07:11 +00:00
2023-04-10 23:03:43 +00:00
2023-08-15 15:08:30 +00:00
2023-11-06 21:41:12 +00:00
2023-04-10 23:03:43 +00:00
2023-06-21 17:43:42 +00:00
2023-08-15 21:58:56 +00:00
2023-06-07 08:18:55 +02:00
2023-06-07 08:18:55 +02:00
2023-11-03 19:57:56 +00:00
2023-06-07 08:18:55 +02:00
2023-06-07 08:18:55 +02:00
2023-11-03 19:57:56 +00:00
2023-11-03 19:57:56 +00:00
2023-06-07 08:18:55 +02:00
2023-12-18 15:02:17 +00:00
2023-06-07 08:18:55 +02:00
2023-12-16 17:43:02 +00:00
2023-06-07 08:18:55 +02:00
2023-11-03 19:57:56 +00:00
2023-11-03 19:57:56 +00:00
2023-11-03 19:57:56 +00:00
2023-06-07 08:18:55 +02:00
2023-06-07 08:18:55 +02:00
2023-06-07 08:18:55 +02:00
2023-06-07 08:18:55 +02:00
2023-06-07 08:18:55 +02:00
2023-06-07 08:18:55 +02:00
2023-06-07 08:18:55 +02:00
2023-11-03 19:57:56 +00:00
2023-06-07 08:18:55 +02:00
2023-06-07 08:18:55 +02:00
2023-11-03 19:57:56 +00:00
2023-06-07 08:18:55 +02:00
2023-06-07 08:18:55 +02:00
2023-06-07 08:18:55 +02:00
2023-12-16 17:43:02 +00:00
2023-12-16 17:43:02 +00:00
2023-11-03 19:57:56 +00:00
2023-06-07 08:18:55 +02:00
2023-11-03 19:57:56 +00:00
2023-06-07 08:18:55 +02:00
2023-06-07 08:18:55 +02:00
2023-06-07 08:18:55 +02:00
2023-06-07 08:18:55 +02:00
2023-12-16 17:43:02 +00:00
2023-11-03 19:57:56 +00:00
2023-11-03 19:57:56 +00:00
2023-06-07 08:18:55 +02:00
2023-06-07 08:18:55 +02:00
2023-06-07 08:18:55 +02:00
2023-11-03 19:57:56 +00:00
2023-06-07 08:18:55 +02:00
2023-11-03 19:57:56 +00:00
2023-06-07 08:18:55 +02:00
2023-06-07 08:18:55 +02:00
2023-11-03 19:57:56 +00:00
2023-06-07 08:18:55 +02:00
2023-06-07 08:18:55 +02:00
2023-06-07 08:18:55 +02:00
2023-06-07 08:18:55 +02:00
2023-06-07 08:18:55 +02:00
2023-06-07 08:18:55 +02:00
2023-06-07 08:18:55 +02:00
2023-06-07 08:18:55 +02:00
2023-06-07 08:18:55 +02:00
2023-06-07 08:18:55 +02:00
2023-12-18 15:02:17 +00:00
2023-06-07 08:18:55 +02:00
2023-06-07 08:18:55 +02:00
2023-06-07 08:18:55 +02:00
2023-11-03 19:57:56 +00:00
2023-06-07 08:18:55 +02:00
2023-11-03 19:57:56 +00:00
2023-12-02 09:53:56 +00:00
2023-11-03 19:57:56 +00:00
2023-06-07 08:18:55 +02:00
2023-06-07 08:18:55 +02:00
2023-06-07 08:18:55 +02:00
2023-06-07 08:18:55 +02:00
2023-06-07 08:18:55 +02:00
2023-06-07 08:18:55 +02:00
2023-06-07 08:18:55 +02:00
2023-06-07 08:18:55 +02:00
2023-06-07 08:18:55 +02:00
2023-06-07 08:18:55 +02:00
2023-06-07 08:18:55 +02:00
2023-06-07 08:18:55 +02:00
2023-06-07 08:18:55 +02:00
2023-06-07 08:18:55 +02:00
2023-06-07 08:18:55 +02:00
2023-06-07 08:18:55 +02:00
2023-06-07 08:18:55 +02:00
2023-06-07 08:18:55 +02:00
2023-06-07 08:18:55 +02:00
2023-06-07 08:18:55 +02:00
2023-06-07 08:18:55 +02:00
2023-06-07 08:18:55 +02:00
2023-11-03 19:57:56 +00:00
2023-12-16 17:43:02 +00:00
2023-11-03 19:57:56 +00:00
2023-11-03 19:57:56 +00:00
2023-06-07 08:18:55 +02:00
2023-06-07 08:18:55 +02:00
2023-06-07 08:18:55 +02:00
2023-11-03 19:57:56 +00:00
2023-11-03 19:57:56 +00:00
2023-12-18 15:02:17 +00:00
2023-12-18 15:02:17 +00:00
2023-11-03 19:57:56 +00:00
2023-06-07 08:18:55 +02:00
2023-06-07 08:18:55 +02:00
2023-11-03 19:57:56 +00:00
2023-11-03 19:57:56 +00:00
2023-06-07 08:18:55 +02:00
2023-06-07 08:18:55 +02:00
2023-06-07 08:18:55 +02:00
2023-06-07 08:18:55 +02:00
2023-06-07 08:18:55 +02:00
2023-06-07 08:18:55 +02:00
2023-06-07 08:18:55 +02:00
2023-06-07 08:18:55 +02:00
2023-11-03 19:57:56 +00:00
2023-06-07 08:18:55 +02:00
2023-11-03 19:57:56 +00:00
2023-06-07 08:18:55 +02:00
2023-06-07 08:18:55 +02:00
2023-06-07 08:18:55 +02:00
2023-06-07 08:18:55 +02:00
2023-11-03 19:57:56 +00:00
2023-11-03 19:57:56 +00:00
2023-06-07 08:18:55 +02:00
2023-06-07 08:18:55 +02:00
2023-06-07 08:18:55 +02:00
2023-11-03 19:57:56 +00:00
2023-06-07 08:18:55 +02:00
2023-06-07 08:18:55 +02:00
2023-11-03 19:57:56 +00:00
2023-06-07 08:18:55 +02:00
2023-11-03 19:57:56 +00:00
2023-06-07 08:18:55 +02:00
2023-06-07 08:18:55 +02:00
2023-11-03 19:57:56 +00:00
2023-06-07 08:18:55 +02:00
2023-11-03 19:57:56 +00:00
2023-11-03 19:57:56 +00:00
2023-06-07 08:18:55 +02:00
2023-06-07 08:18:55 +02:00
2023-06-07 08:18:55 +02:00
2023-11-03 19:57:56 +00:00
2023-11-03 19:57:56 +00:00
2023-06-07 08:18:55 +02:00
2023-06-07 08:18:55 +02:00
2023-06-07 08:18:55 +02:00
2023-11-03 19:57:56 +00:00
2023-06-07 08:18:55 +02:00
2023-06-07 08:18:55 +02:00
2023-11-03 19:57:56 +00:00
2023-06-07 08:18:55 +02:00
2023-06-07 08:18:55 +02:00
2023-06-07 08:18:55 +02:00
2023-06-07 08:18:55 +02:00
2023-11-03 19:57:56 +00:00
2023-11-03 19:57:56 +00:00
2023-06-07 08:18:55 +02:00
2023-11-03 19:57:56 +00:00
2023-11-03 19:57:56 +00:00
2023-06-07 08:18:55 +02:00
2023-06-07 08:18:55 +02:00
2023-06-07 08:18:55 +02:00
2023-11-03 19:57:56 +00:00
2023-06-07 08:18:55 +02:00
2023-11-03 19:57:56 +00:00
2023-06-07 08:18:55 +02:00
2023-11-03 19:57:56 +00:00
2023-06-07 08:18:55 +02:00
2023-06-07 08:18:55 +02:00
2023-06-07 08:18:55 +02:00
2023-06-07 08:18:55 +02:00
2023-06-07 08:18:55 +02:00
2023-11-03 19:57:56 +00:00
2023-06-07 08:18:55 +02:00
2023-11-03 19:57:56 +00:00
2023-11-03 19:57:56 +00:00
2023-06-07 08:18:55 +02:00
2023-11-03 19:57:56 +00:00
2023-06-07 08:18:55 +02:00
2023-11-03 19:57:56 +00:00
2023-06-07 08:18:55 +02:00
2023-06-07 08:18:55 +02:00
2023-06-07 08:18:55 +02:00
2023-12-18 15:02:17 +00:00
2023-08-18 11:20:58 +00:00
2023-04-26 17:55:51 +00:00
2023-12-18 15:02:17 +00:00