#[no_mangle]
pub unsafe extern "C" fn graph_get_one_sided_private_friendship_connections(
graph_state: *mut GraphState,
user_id: *const DsnpUserId
) -> FFIResult<GraphConnections, GraphError>
Expand description
Get one sided private friendship connections for a user from graph state
Safety
This function is unsafe because it dereferences a raw pointer
Arguments
graph_state
- a pointer to a graph stateuser_id
- a pointer to a user id
Returns
GraphConnections
- the pointer to the graph connections
Errors
GraphError
- if the connections cannot be retrieved