MCPcopy Create free account

hub / github.com/Michael-F-Bryan/rust-ffi-guide / functions

Functions72 in github.com/Michael-F-Bryan/rust-ffi-guide

↓ 10 callersFunctionupdate_last_error
Update the most recent error, clearing whatever may have been there before.
client/src/ffi.rs:21
↓ 2 callersMethodname
(&self)
injector-plugin/src/lib.rs:15
↓ 2 callersMethodunload
Unload all plugins and loaded plugin libraries, making sure to fire their `on_plugin_unload()` methods so they can do any necessary cleanup.
client/src/plugins.rs:122
↓ 1 callersFunctionadd
(a: u32, b: u32)
book/fun/problem_1/adder.rs:1
↓ 1 callersFunctionfoo
()
book/fun/problem_2/foo.rs:2
↓ 1 callersFunctionhome_directory
()
book/fun/problem_3/home.rs:9
↓ 1 callersFunctioninitialize_logging
()
client/src/utils.rs:16
↓ 1 callersFunctionlast_error_length
()
client/src/ffi.rs:47
↓ 1 callersFunctionlast_error_message
gui/wrappers.cpp:65
↓ 1 callersMethodload_plugin
Load a plugin from a DLL or shared library. # Safety This function is `unsafe` because there are no guarantees that the plugin loaded will be correc
client/src/plugins.rs:75
↓ 1 callersMethodload_plugin
gui/wrappers.cpp:57
↓ 1 callersFunctionlog_message
(level: LogLevel, message: *const c_char)
book/fun/problem_4/logging.rs:17
↓ 1 callersMethodon_plugin_load
A callback fired immediately after the plugin is loaded. Usually used for initialization.
client/src/plugins.rs:16
↓ 1 callersMethodon_plugin_unload
A callback fired immediately before the plugin is unloaded. Use this if you need to do any cleanup.
client/src/plugins.rs:19
↓ 1 callersFunctionplugin_manager_destroy
(pm: *mut PluginManager)
client/src/ffi.rs:243
↓ 1 callersFunctionplugin_manager_load_plugin
( pm: *mut PluginManager, filename: *const c_char, )
client/src/ffi.rs:251
↓ 1 callersFunctionplugin_manager_new
()
client/src/ffi.rs:237
↓ 1 callersFunctionplugin_manager_post_receive
( pm: *mut PluginManager, response: *mut Response, )
client/src/ffi.rs:297
↓ 1 callersFunctionplugin_manager_pre_send
(pm: *mut PluginManager, request: *mut Request)
client/src/ffi.rs:289
↓ 1 callersFunctionplugin_manager_unload
(pm: *mut PluginManager)
client/src/ffi.rs:282
↓ 1 callersMethodpost_receive
Iterate over the plugins, running their `post_receive()` hook.
client/src/plugins.rs:111
↓ 1 callersMethodpost_receive
gui/wrappers.cpp:53
↓ 1 callersMethodpre_send
Iterate over the plugins, running their `pre_send()` hook.
client/src/plugins.rs:101
↓ 1 callersMethodpre_send
gui/wrappers.cpp:47
↓ 1 callersMethodread_body
gui/wrappers.cpp:27
↓ 1 callersFunctionrequest_create
(url: *const c_char)
client/src/ffi.rs:118
↓ 1 callersFunctionrequest_destroy
(req: *mut Request)
client/src/ffi.rs:152
↓ 1 callersFunctionrequest_send
(req: *const Request)
client/src/ffi.rs:166
↓ 1 callersFunctionresponse_body
( res: *const Response, buffer: *mut c_char, length: size_t, )
client/src/ffi.rs:212
↓ 1 callersFunctionresponse_body_length
(res: *const Response)
client/src/ffi.rs:198
↓ 1 callersFunctionresponse_destroy
(res: *mut Response)
client/src/ffi.rs:190
↓ 1 callersMethodsend
gui/wrappers.cpp:15
↓ 1 callersFunctionsend_request
Perform a single `GET` request.
client/src/lib.rs:31
↓ 1 callersFunctiontake_last_error
Retrieve the most recent error, clearing it in the process.
client/src/ffi.rs:40
↓ 1 callersFunctiontarget_dir
Find the location of the `target/` directory. Note that this may be overridden by `cmake`, so we also need to check the `CARGO_TARGET_DIR` variable.
client/build.rs:30
↓ 1 callersMethodto_reqwest
(&self)
client/src/request.rs:31
↓ 1 callersMethodunload
gui/wrappers.cpp:51
↓ 1 callersMethodwhat
gui/wrappers.hpp:15
MethodMainWindow
gui/main_window.cpp:33
MethodPluginManager
gui/wrappers.hpp:68
MethodPluginManager
gui/wrappers.cpp:43
MethodRequest
gui/wrappers.hpp:47
MethodRequest
gui/wrappers.cpp:8
MethodResponse
gui/wrappers.hpp:29
MethodWrapperException
gui/wrappers.hpp:14
Functionbacktrace
Log an error and each successive error which caused it.
client/src/utils.rs:41
MethodcloseEvent
gui/main_window.cpp:48
Methoddrop
(&mut self)
client/src/plugins.rs:137
Methodfmt
(&self, f: &mut Formatter)
client/src/plugins.rs:145
Methodfrom_reqwest
(original: reqwest::Response)
client/src/response.rs:17
Methodlast_error
gui/wrappers.cpp:82
Functionlast_error_message
(buffer: *mut c_char, length: c_int)
client/src/ffi.rs:66
MethodloadPlugin
gui/main_window.cpp:50
Functionmain
()
client/build.rs:8
Functionmain
book/fun/problem_3/main.cpp:7
Functionmain
book/fun/problem_2/main.cpp:5
Functionmain
book/fun/problem_1/main.cpp:8
Functionmain
book/fun/problem_4/main.cpp:8
Functionmain
gui/main.cpp:5
Methodnew
(destination: Url, method: Method)
client/src/request.rs:17
Methodnew
()
client/src/plugins.rs:56
MethodonClick
gui/main_window.cpp:11
Methodon_plugin_load
(&self)
injector-plugin/src/lib.rs:19
Methodon_plugin_unload
(&self)
injector-plugin/src/lib.rs:24
Methodpost_receive
Inspect and/or mutate the received response before it is displayed to the user.
client/src/plugins.rs:24
Methodpost_receive
(&self, res: &mut Response)
injector-plugin/src/lib.rs:33
Methodpre_send
Inspect (and possibly mutate) the request before it is sent.
client/src/plugins.rs:21
Methodpre_send
(&self, req: &mut Request)
injector-plugin/src/lib.rs:28
Method~MainWindow
gui/main_window.hpp:15
Method~PluginManager
gui/wrappers.cpp:45
Method~Request
gui/wrappers.cpp:6
Method~Response
gui/wrappers.cpp:25