Dependents:   SNMPAgent HTTPServer think_speak_a cyassl-client ... more

Committer:
mamezu
Date:
Thu Dec 09 01:33:56 2010 +0000
Revision:
0:0f6c82fcde82

        

Who changed what in which revision?

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