Marco Zecchini
/
Example_RTOS
Rtos API example
Embed:
(wiki syntax)
Show/hide line numbers
coap_message_handler_stub.h
00001 /* 00002 * Copyright (c) 2015-2017 ARM Limited. All Rights Reserved. 00003 * 00004 * SPDX-License-Identifier: Apache-2.0 00005 * 00006 * Licensed under the Apache License, Version 2.0 (the "License"); you may 00007 * not use this file except in compliance with the License. 00008 * You may obtain a copy of the License at 00009 * 00010 * http://www.apache.org/licenses/LICENSE-2.0 00011 * 00012 * Unless required by applicable law or agreed to in writing, software 00013 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 00014 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 00015 * See the License for the specific language governing permissions and 00016 * limitations under the License. 00017 */ 00018 #ifndef __COAP_MESSAGE_HANDLER_STUB_H__ 00019 #define __COAP_MESSAGE_HANDLER_STUB_H__ 00020 00021 #ifdef __cplusplus 00022 extern "C" { 00023 #endif 00024 00025 #include <inttypes.h> 00026 #include <stdbool.h> 00027 #include "coap_message_handler.h" 00028 00029 typedef struct { 00030 int8_t int8_value; 00031 int16_t int16_value; 00032 uint16_t uint16_value; 00033 coap_msg_handler_t *coap_ptr; 00034 coap_transaction_t *coap_tx_ptr; 00035 int16_t (*cb)(int8_t, sn_coap_hdr_s *, coap_transaction_t *); 00036 } coap_message_handler_stub_def; 00037 00038 extern coap_message_handler_stub_def coap_message_handler_stub; 00039 00040 #ifdef __cplusplus 00041 } 00042 #endif 00043 00044 #endif // __COAP_MESSAGE_HANDLER_STUB_H__
Generated on Sun Jul 17 2022 08:25:21 by 1.7.2