nkjnm
Dependencies: MAX44000 nexpaq_mdk
Fork of LED_Demo by
common_stub.h
00001 /* 00002 * Copyright (c) 2015 ARM Limited. All rights reserved. 00003 * SPDX-License-Identifier: Apache-2.0 00004 * Licensed under the Apache License, Version 2.0 (the License); you may 00005 * not use this file except in compliance with the License. 00006 * You may obtain a copy of the License at 00007 * 00008 * http://www.apache.org/licenses/LICENSE-2.0 00009 * 00010 * Unless required by applicable law or agreed to in writing, software 00011 * distributed under the License is distributed on an AS IS BASIS, WITHOUT 00012 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 00013 * See the License for the specific language governing permissions and 00014 * limitations under the License. 00015 */ 00016 #ifndef COMMON_STUB_H 00017 #define COMMON_STUB_H 00018 00019 #include <sys/types.h> 00020 #include <netdb.h> 00021 //#include "UDPSocket.h" 00022 #include "sockets/UDPSocket.h" 00023 #include "nsdlaccesshelper.h" 00024 #include "ip6string.h" 00025 #include "Ticker.h" 00026 00027 //some internal test related stuff 00028 namespace common_stub 00029 { 00030 extern socket_error_t error; 00031 extern socket_event_t* event; 00032 extern socket_addr* addr; 00033 extern bool visited; 00034 extern bool bool_value; 00035 extern void* void_value; 00036 extern int int_value; 00037 extern int int2_value; 00038 extern uint16_t uint_value; 00039 extern omalw_certificate_list_t *cert; 00040 extern addrinfo* addrinfo; 00041 extern sn_coap_hdr_s *coap_header; 00042 extern sn_nsdl_resource_info_s *resource; 00043 extern pthread_t thread; 00044 extern const char *char_value; 00045 void clear(); 00046 } 00047 00048 #endif // COMMON_STUB_H
Generated on Tue Jul 12 2022 17:03:39 by
1.7.2
