Function ntcore_sys::NT_CreateRpc [] [src]

pub unsafe extern "C" fn NT_CreateRpc(
    entry: NT_Entry,
    def: *const c_char,
    def_len: usize,
    data: *mut c_void,
    callback: NT_RpcCallback
)

Create a callback-based RPC entry point. Only valid to use on the server. The callback function will be called when the RPC is called. @param entry entry handle of RPC entry @param def RPC definition @param def_len length of def in bytes @param data data pointer to pass to callback function @param callback callback function