Dependencies:   mbed

Committer:
slowness
Date:
Tue Sep 06 18:10:36 2011 +0000
Revision:
0:cd4c47744fa1

        

Who changed what in which revision?

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