mirror of
https://github.com/obgm/libcoap.git
synced 2026-11-10 19:00:40 +03:00
coap_oscore.c: Add in missing non-OSCORE stub functions
This commit is contained in:
1 parent
9b408902ba
commit
6c0be0c898
1 file changed
+64
@@ -2302,6 +2302,26 @@ coap_new_client_session_oscore(coap_context_t *ctx,
|
||||
return NULL;
|
||||
}
|
||||
|
||||
coap_session_t *
|
||||
coap_new_client_session_oscore3(coap_context_t *ctx,
|
||||
const coap_address_t *local_if,
|
||||
const coap_address_t *server,
|
||||
coap_proto_t proto,
|
||||
coap_oscore_conf_t *oscore_conf,
|
||||
void *app_data,
|
||||
coap_app_data_free_callback_t callback,
|
||||
coap_str_const_t *ws_host) {
|
||||
(void)ctx;
|
||||
(void)local_if;
|
||||
(void)server;
|
||||
(void)proto;
|
||||
(void)oscore_conf;
|
||||
(void)app_data;
|
||||
(void)callback;
|
||||
(void)ws_host;
|
||||
return NULL;
|
||||
}
|
||||
|
||||
coap_session_t *
|
||||
coap_new_client_session_oscore_psk(coap_context_t *ctx,
|
||||
const coap_address_t *local_if,
|
||||
@@ -2318,6 +2338,28 @@ coap_new_client_session_oscore_psk(coap_context_t *ctx,
|
||||
return NULL;
|
||||
}
|
||||
|
||||
coap_session_t *
|
||||
coap_new_client_session_oscore_psk3(coap_context_t *ctx,
|
||||
const coap_address_t *local_if,
|
||||
const coap_address_t *server,
|
||||
coap_proto_t proto,
|
||||
coap_dtls_cpsk_t *psk_data,
|
||||
coap_oscore_conf_t *oscore_conf,
|
||||
void *app_data,
|
||||
coap_app_data_free_callback_t callback,
|
||||
coap_str_const_t *ws_host) {
|
||||
(void)ctx;
|
||||
(void)local_if;
|
||||
(void)server;
|
||||
(void)proto;
|
||||
(void)psk_data;
|
||||
(void)oscore_conf;
|
||||
(void)app_data;
|
||||
(void)callback;
|
||||
(void)ws_host;
|
||||
return NULL;
|
||||
}
|
||||
|
||||
coap_session_t *
|
||||
coap_new_client_session_oscore_pki(coap_context_t *ctx,
|
||||
const coap_address_t *local_if,
|
||||
@@ -2334,6 +2376,28 @@ coap_new_client_session_oscore_pki(coap_context_t *ctx,
|
||||
return NULL;
|
||||
}
|
||||
|
||||
coap_session_t *
|
||||
coap_new_client_session_oscore_pki3(coap_context_t *ctx,
|
||||
const coap_address_t *local_if,
|
||||
const coap_address_t *server,
|
||||
coap_proto_t proto,
|
||||
coap_dtls_pki_t *pki_data,
|
||||
coap_oscore_conf_t *oscore_conf,
|
||||
void *app_data,
|
||||
coap_app_data_free_callback_t callback,
|
||||
coap_str_const_t *ws_host) {
|
||||
(void)ctx;
|
||||
(void)local_if;
|
||||
(void)server;
|
||||
(void)proto;
|
||||
(void)pki_data;
|
||||
(void)oscore_conf;
|
||||
(void)app_data;
|
||||
(void)callback;
|
||||
(void)ws_host;
|
||||
return NULL;
|
||||
}
|
||||
|
||||
int
|
||||
coap_context_oscore_server(coap_context_t *context,
|
||||
coap_oscore_conf_t *oscore_conf) {
|
||||
|
||||
Reference in new issue
Block a user