File: simple_server.h

package info (click to toggle)
libest 3.2.0%2Bds-1.1
  • links: PTS
  • area: main
  • in suites: forky, sid, trixie
  • size: 11,792 kB
  • sloc: ansic: 60,980; java: 12,082; sh: 4,956; python: 4,474; xml: 385; makefile: 290
file content (19 lines) | stat: -rw-r--r-- 653 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/*------------------------------------------------------------------
 * simple_server.h - This is a very simple multi-threaded TCP
 *                   server used by the example EST server and EST
 *                   proxy applications. 
 *
 * August, 2013
 *
 * Copyright (c) 2013-2014 by cisco Systems, Inc.
 * All rights reserved.
 **------------------------------------------------------------------
 */
#ifndef HEADER_SIMPLE_SERVER_H
#define HEADER_SIMPLE_SERVER_H
#ifdef HAVE_LIBCOAP
void start_simple_server (EST_CTX *ectx, int port, int delay, int v6);
#else
void start_simple_server(EST_CTX *ectx, int port, int delay, int v6);
#endif
#endif