load property

Pointer<NativeFunction<pj_status_t Function(Pointer<pjsip_endpoint> endpt)>> load
getter/setter pair

Optional function to be called to initialize the module. This function will be called by endpoint during module registration. If the value is NULL, then it's equal to returning PJ_SUCCESS.

@param endpt The endpoint instance. @return Module should return PJ_SUCCESS to indicate success.

Implementation

external ffi.Pointer<
    ffi.NativeFunction<
        pj_status_t Function(ffi.Pointer<pjsip_endpoint> endpt)>> load;