Rtos API example

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers test_coap_service_api.h Source File

test_coap_service_api.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 TEST_COAP_SERVICE_API_H
00019 #define TEST_COAP_SERVICE_API_H
00020 
00021 #ifdef __cplusplus
00022 extern "C" {
00023 #endif
00024 
00025 #include <stdbool.h>
00026 
00027 bool test_coap_service_initialize();
00028 
00029 bool test_coap_service_delete();
00030 
00031 bool test_coap_service_virtual_socket_recv();
00032 
00033 bool test_coap_service_virtual_socket_set_cb();
00034 
00035 bool test_coap_service_register_uri();
00036 
00037 bool test_coap_service_unregister_uri();
00038 
00039 bool test_coap_service_request_send();
00040 
00041 bool test_coap_service_request_delete();
00042 
00043 bool test_coap_service_response_send();
00044 
00045 bool test_coap_callbacks();
00046 
00047 bool test_eventOS_callbacks();
00048 
00049 bool test_conn_handler_callbacks();
00050 
00051 
00052 #ifdef __cplusplus
00053 }
00054 #endif
00055 
00056 #endif // TEST_COAP_SERVICE_API_H
00057