You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
467 B
19 lines
467 B
5 years ago
|
#include "webfuse/adapter/impl/operation/context.h"
|
||
6 years ago
|
#include "webfuse/adapter/impl/session_manager.h"
|
||
|
#include "webfuse/adapter/impl/session.h"
|
||
|
#include <stddef.h>
|
||
|
|
||
5 years ago
|
struct wf_jsonrpc_proxy * wf_impl_operations_context_get_proxy(
|
||
6 years ago
|
struct wf_impl_operations_context * context)
|
||
6 years ago
|
{
|
||
5 years ago
|
struct wf_jsonrpc_proxy * proxy = NULL;
|
||
6 years ago
|
|
||
6 years ago
|
struct wf_impl_session * session = context->session;
|
||
6 years ago
|
if (NULL != session)
|
||
|
{
|
||
5 years ago
|
proxy = session->rpc;
|
||
6 years ago
|
}
|
||
|
|
||
|
return proxy;
|
||
|
}
|