WebSocketServer test

Dependencies:   mbed

Committer:
gtk2k
Date:
Sun Apr 29 03:58:08 2012 +0000
Revision:
0:74be48b504a5
WebSocketServer

Who changed what in which revision?

UserRevisionLine numberNew contents of line
gtk2k 0:74be48b504a5 1 /*****************************************************************************
gtk2k 0:74be48b504a5 2 * magic.h - Network Random Number Generator header file.
gtk2k 0:74be48b504a5 3 *
gtk2k 0:74be48b504a5 4 * Copyright (c) 2003 by Marc Boucher, Services Informatiques (MBSI) inc.
gtk2k 0:74be48b504a5 5 * portions Copyright (c) 1997 Global Election Systems Inc.
gtk2k 0:74be48b504a5 6 *
gtk2k 0:74be48b504a5 7 * The authors hereby grant permission to use, copy, modify, distribute,
gtk2k 0:74be48b504a5 8 * and license this software and its documentation for any purpose, provided
gtk2k 0:74be48b504a5 9 * that existing copyright notices are retained in all copies and that this
gtk2k 0:74be48b504a5 10 * notice and the following disclaimer are included verbatim in any
gtk2k 0:74be48b504a5 11 * distributions. No written agreement, license, or royalty fee is required
gtk2k 0:74be48b504a5 12 * for any of the authorized uses.
gtk2k 0:74be48b504a5 13 *
gtk2k 0:74be48b504a5 14 * THIS SOFTWARE IS PROVIDED BY THE CONTRIBUTORS *AS IS* AND ANY EXPRESS OR
gtk2k 0:74be48b504a5 15 * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
gtk2k 0:74be48b504a5 16 * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
gtk2k 0:74be48b504a5 17 * IN NO EVENT SHALL THE CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
gtk2k 0:74be48b504a5 18 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
gtk2k 0:74be48b504a5 19 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
gtk2k 0:74be48b504a5 20 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
gtk2k 0:74be48b504a5 21 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
gtk2k 0:74be48b504a5 22 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
gtk2k 0:74be48b504a5 23 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
gtk2k 0:74be48b504a5 24 *
gtk2k 0:74be48b504a5 25 ******************************************************************************
gtk2k 0:74be48b504a5 26 * REVISION HISTORY
gtk2k 0:74be48b504a5 27 *
gtk2k 0:74be48b504a5 28 * 03-01-01 Marc Boucher <marc@mbsi.ca>
gtk2k 0:74be48b504a5 29 * Ported to lwIP.
gtk2k 0:74be48b504a5 30 * 97-12-04 Guy Lancaster <glanca@gesn.com>, Global Election Systems Inc.
gtk2k 0:74be48b504a5 31 * Original derived from BSD codes.
gtk2k 0:74be48b504a5 32 *****************************************************************************/
gtk2k 0:74be48b504a5 33 /*
gtk2k 0:74be48b504a5 34 * magic.h - PPP Magic Number definitions.
gtk2k 0:74be48b504a5 35 *
gtk2k 0:74be48b504a5 36 * Copyright (c) 1989 Carnegie Mellon University.
gtk2k 0:74be48b504a5 37 * All rights reserved.
gtk2k 0:74be48b504a5 38 *
gtk2k 0:74be48b504a5 39 * Redistribution and use in source and binary forms are permitted
gtk2k 0:74be48b504a5 40 * provided that the above copyright notice and this paragraph are
gtk2k 0:74be48b504a5 41 * duplicated in all such forms and that any documentation,
gtk2k 0:74be48b504a5 42 * advertising materials, and other materials related to such
gtk2k 0:74be48b504a5 43 * distribution and use acknowledge that the software was developed
gtk2k 0:74be48b504a5 44 * by Carnegie Mellon University. The name of the
gtk2k 0:74be48b504a5 45 * University may not be used to endorse or promote products derived
gtk2k 0:74be48b504a5 46 * from this software without specific prior written permission.
gtk2k 0:74be48b504a5 47 * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
gtk2k 0:74be48b504a5 48 * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
gtk2k 0:74be48b504a5 49 * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
gtk2k 0:74be48b504a5 50 *
gtk2k 0:74be48b504a5 51 * $Id: magic.h,v 1.3 2010/01/18 20:49:43 goldsimon Exp $
gtk2k 0:74be48b504a5 52 */
gtk2k 0:74be48b504a5 53
gtk2k 0:74be48b504a5 54 #ifndef MAGIC_H
gtk2k 0:74be48b504a5 55 #define MAGIC_H
gtk2k 0:74be48b504a5 56
gtk2k 0:74be48b504a5 57 /* Initialize the magic number generator */
gtk2k 0:74be48b504a5 58 void magicInit(void);
gtk2k 0:74be48b504a5 59
gtk2k 0:74be48b504a5 60 /* Returns the next magic number */
gtk2k 0:74be48b504a5 61 u32_t magic(void);
gtk2k 0:74be48b504a5 62
gtk2k 0:74be48b504a5 63 #endif /* MAGIC_H */