Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Michael-F-Bryan/rust-ffi-guide
/ functions
Functions
72 in github.com/Michael-F-Bryan/rust-ffi-guide
⨍
Functions
72
◇
Types & classes
11
↓ 10 callers
Function
update_last_error
Update the most recent error, clearing whatever may have been there before.
client/src/ffi.rs:21
↓ 2 callers
Method
name
(&self)
injector-plugin/src/lib.rs:15
↓ 2 callers
Method
unload
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 callers
Function
add
(a: u32, b: u32)
book/fun/problem_1/adder.rs:1
↓ 1 callers
Function
foo
()
book/fun/problem_2/foo.rs:2
↓ 1 callers
Function
home_directory
()
book/fun/problem_3/home.rs:9
↓ 1 callers
Function
initialize_logging
()
client/src/utils.rs:16
↓ 1 callers
Function
last_error_length
()
client/src/ffi.rs:47
↓ 1 callers
Function
last_error_message
gui/wrappers.cpp:65
↓ 1 callers
Method
load_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 callers
Method
load_plugin
gui/wrappers.cpp:57
↓ 1 callers
Function
log_message
(level: LogLevel, message: *const c_char)
book/fun/problem_4/logging.rs:17
↓ 1 callers
Method
on_plugin_load
A callback fired immediately after the plugin is loaded. Usually used for initialization.
client/src/plugins.rs:16
↓ 1 callers
Method
on_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 callers
Function
plugin_manager_destroy
(pm: *mut PluginManager)
client/src/ffi.rs:243
↓ 1 callers
Function
plugin_manager_load_plugin
( pm: *mut PluginManager, filename: *const c_char, )
client/src/ffi.rs:251
↓ 1 callers
Function
plugin_manager_new
()
client/src/ffi.rs:237
↓ 1 callers
Function
plugin_manager_post_receive
( pm: *mut PluginManager, response: *mut Response, )
client/src/ffi.rs:297
↓ 1 callers
Function
plugin_manager_pre_send
(pm: *mut PluginManager, request: *mut Request)
client/src/ffi.rs:289
↓ 1 callers
Function
plugin_manager_unload
(pm: *mut PluginManager)
client/src/ffi.rs:282
↓ 1 callers
Method
post_receive
Iterate over the plugins, running their `post_receive()` hook.
client/src/plugins.rs:111
↓ 1 callers
Method
post_receive
gui/wrappers.cpp:53
↓ 1 callers
Method
pre_send
Iterate over the plugins, running their `pre_send()` hook.
client/src/plugins.rs:101
↓ 1 callers
Method
pre_send
gui/wrappers.cpp:47
↓ 1 callers
Method
read_body
gui/wrappers.cpp:27
↓ 1 callers
Function
request_create
(url: *const c_char)
client/src/ffi.rs:118
↓ 1 callers
Function
request_destroy
(req: *mut Request)
client/src/ffi.rs:152
↓ 1 callers
Function
request_send
(req: *const Request)
client/src/ffi.rs:166
↓ 1 callers
Function
response_body
( res: *const Response, buffer: *mut c_char, length: size_t, )
client/src/ffi.rs:212
↓ 1 callers
Function
response_body_length
(res: *const Response)
client/src/ffi.rs:198
↓ 1 callers
Function
response_destroy
(res: *mut Response)
client/src/ffi.rs:190
↓ 1 callers
Method
send
gui/wrappers.cpp:15
↓ 1 callers
Function
send_request
Perform a single `GET` request.
client/src/lib.rs:31
↓ 1 callers
Function
take_last_error
Retrieve the most recent error, clearing it in the process.
client/src/ffi.rs:40
↓ 1 callers
Function
target_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 callers
Method
to_reqwest
(&self)
client/src/request.rs:31
↓ 1 callers
Method
unload
gui/wrappers.cpp:51
↓ 1 callers
Method
what
gui/wrappers.hpp:15
Method
MainWindow
gui/main_window.cpp:33
Method
PluginManager
gui/wrappers.hpp:68
Method
PluginManager
gui/wrappers.cpp:43
Method
Request
gui/wrappers.hpp:47
Method
Request
gui/wrappers.cpp:8
Method
Response
gui/wrappers.hpp:29
Method
WrapperException
gui/wrappers.hpp:14
Function
backtrace
Log an error and each successive error which caused it.
client/src/utils.rs:41
Method
closeEvent
gui/main_window.cpp:48
Method
drop
(&mut self)
client/src/plugins.rs:137
Method
fmt
(&self, f: &mut Formatter)
client/src/plugins.rs:145
Method
from_reqwest
(original: reqwest::Response)
client/src/response.rs:17
Method
last_error
gui/wrappers.cpp:82
Function
last_error_message
(buffer: *mut c_char, length: c_int)
client/src/ffi.rs:66
Method
loadPlugin
gui/main_window.cpp:50
Function
main
()
client/build.rs:8
Function
main
book/fun/problem_3/main.cpp:7
Function
main
book/fun/problem_2/main.cpp:5
Function
main
book/fun/problem_1/main.cpp:8
Function
main
book/fun/problem_4/main.cpp:8
Function
main
gui/main.cpp:5
Method
new
(destination: Url, method: Method)
client/src/request.rs:17
Method
new
()
client/src/plugins.rs:56
Method
onClick
gui/main_window.cpp:11
Method
on_plugin_load
(&self)
injector-plugin/src/lib.rs:19
Method
on_plugin_unload
(&self)
injector-plugin/src/lib.rs:24
Method
post_receive
Inspect and/or mutate the received response before it is displayed to the user.
client/src/plugins.rs:24
Method
post_receive
(&self, res: &mut Response)
injector-plugin/src/lib.rs:33
Method
pre_send
Inspect (and possibly mutate) the request before it is sent.
client/src/plugins.rs:21
Method
pre_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