Bonjour/Zerconf library

Dependencies:   mbed

Committer:
dirkx
Date:
Sat Aug 14 15:54:31 2010 +0000
Revision:
5:8e53abda9900
Parent:
0:355018f44c9f

        

Who changed what in which revision?

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