ff4ff35918
Red Bear OS is a full fork. All sources must be available from git clone with zero network access. Removed gitignore rules that excluded fetched source trees under recipes/*/source/, local/recipes/kde/*/source/, local/recipes/qt/*/source/, and vendor source trees. Build artifacts (target/, build/, source.tar, *.o, *.so) remain excluded. 127291 files added — kernel, relibc, base, bootloader, pkgar, all KDE/Qt frameworks, mesa, wayland, DRM drivers, and every other recipe source.
30 lines
928 B
ReStructuredText
30 lines
928 B
ReStructuredText
|
|
nghttp2_session_server_new3
|
|
===========================
|
|
|
|
Synopsis
|
|
--------
|
|
|
|
*#include <nghttp2/nghttp2.h>*
|
|
|
|
.. function:: int nghttp2_session_server_new3( nghttp2_session **session_ptr, const nghttp2_session_callbacks *callbacks, void *user_data, const nghttp2_option *option, nghttp2_mem *mem)
|
|
|
|
|
|
Like `nghttp2_session_server_new2()`, but with additional custom
|
|
memory allocator specified in the *mem*.
|
|
|
|
The *mem* can be ``NULL`` and the call is equivalent to
|
|
`nghttp2_session_server_new2()`.
|
|
|
|
This function does not take ownership *mem*. The application is
|
|
responsible for freeing *mem*.
|
|
|
|
The library code does not refer to *mem* pointer after this
|
|
function returns, so the application can safely free it.
|
|
|
|
This function returns 0 if it succeeds, or one of the following
|
|
negative error codes:
|
|
|
|
:enum:`nghttp2_error.NGHTTP2_ERR_NOMEM`
|
|
Out of memory.
|