Skip to content

Commit c191fde

Browse files
Platform debend implementation file
Change-Id: If72db0475395442041a3cf626269363a40806c5b
1 parent 5f0d7c3 commit c191fde

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

source/include/coap_server_impl.h

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
/*
2+
* Copyright (c) 2015 ARM. All rights reserved.
3+
*/
4+
5+
/*
6+
* \file -
7+
* \brief Platform specifig implementation file
8+
*
9+
*/
10+
11+
#ifndef COAP_SERVER_IMPL_H_
12+
#define COAP_SERVER_IMPL_H_
13+
14+
#include "ns_types.h"
15+
#include "eventOS_event.h"
16+
#include "coap_service_api.h"
17+
18+
int8_t coap_server_start(void);
19+
20+
void *memory_allocation(uint16_t size);
21+
22+
void memory_free(void* ptr);
23+
24+
static int8_t coap_server_service_tasklet_generated(void);
25+
26+
void coap_server_service_tasklet(arm_event_s * event);
27+
28+
uint16_t socket_open(uint16_t listen_port, coap_service_request_recv_cb *requst_recv_cb);
29+
30+
#endif /* COAP_SERVER_IMPL_H_ */

0 commit comments

Comments
 (0)