2 nghttp2_session_callbacks_new
3 =============================
8 *#include <nghttp2/nghttp2.h>*
10 .. function:: int nghttp2_session_callbacks_new(nghttp2_session_callbacks **callbacks_ptr)
13 Initializes *\*callbacks_ptr* with NULL values.
15 The initialized object can be used when initializing multiple
16 :type:`nghttp2_session` objects.
18 When the application finished using this object, it can use
19 `nghttp2_session_callbacks_del()` to free its memory.
21 This function returns 0 if it succeeds, or one of the following
24 :macro:`NGHTTP2_ERR_NOMEM`