Rtos API example

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers sn_coap_protocol_stub.h Source File

sn_coap_protocol_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 
00019 #ifndef __SN_COAP_PROTOCOL_STUB_H__
00020 #define __SN_COAP_PROTOCOL_STUB_H__
00021 
00022 #include "sn_coap_header_internal.h"
00023 #include "sn_coap_protocol_internal.h"
00024 
00025 typedef struct {
00026     int8_t expectedInt8;
00027     int16_t expectedInt16;
00028     struct coap_s *expectedCoap;
00029     sn_coap_hdr_s *expectedHeader;
00030     coap_send_msg_s *expectedSendMsg;
00031 } sn_coap_protocol_stub_def;
00032 
00033 extern sn_coap_protocol_stub_def sn_coap_protocol_stub;
00034 
00035 #endif //__SN_COAP_PROTOCOL_STUB_H__