Rtos API example

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers nsapi.h Source File

nsapi.h

00001 
00002 /** \addtogroup netsocket */
00003 /** @{*/
00004 /* nsapi.h - The network socket API
00005  * Copyright (c) 2015 ARM Limited
00006  *
00007  * Licensed under the Apache License, Version 2.0 (the "License");
00008  * you may not use this file except in compliance with the License.
00009  * You may obtain a copy of the License at
00010  *
00011  *     http://www.apache.org/licenses/LICENSE-2.0
00012  *
00013  * Unless required by applicable law or agreed to in writing, software
00014  * distributed under the License is distributed on an "AS IS" BASIS,
00015  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
00016  * See the License for the specific language governing permissions and
00017  * limitations under the License.
00018  */
00019 
00020 #ifndef NSAPI_H
00021 #define NSAPI_H
00022 
00023 
00024 // entry point for nsapi types
00025 #include "nsapi_types.h"
00026 
00027 #ifdef __cplusplus
00028 
00029 // entry point for C++ api
00030 #include "netsocket/SocketAddress.h"
00031 #include "netsocket/NetworkStack.h"
00032 
00033 #include "netsocket/NetworkInterface.h"
00034 #include "netsocket/EthInterface.h"
00035 #include "netsocket/WiFiInterface.h"
00036 #include "netsocket/CellularInterface.h"
00037 #include "netsocket/MeshInterface.h"
00038 
00039 #include "netsocket/Socket.h"
00040 #include "netsocket/UDPSocket.h"
00041 #include "netsocket/TCPSocket.h"
00042 #include "netsocket/TCPServer.h"
00043 
00044 #endif
00045 
00046 
00047 #endif
00048 
00049 /** @}*/