Library for Bert van Dam's book "ARM MICROCONTROLLERS" For all chapters with internet.

Dependencies:   mbed

Committer:
ICTFBI
Date:
Fri Oct 16 14:28:26 2015 +0000
Revision:
0:4edb816d21e1
Pre-update 16-10-15

Who changed what in which revision?

UserRevisionLine numberNew contents of line
ICTFBI 0:4edb816d21e1 1 /*****************************************************************************
ICTFBI 0:4edb816d21e1 2 * chpms.h - Network Microsoft Challenge Handshake Protocol header file.
ICTFBI 0:4edb816d21e1 3 *
ICTFBI 0:4edb816d21e1 4 * Copyright (c) 2003 by Marc Boucher, Services Informatiques (MBSI) inc.
ICTFBI 0:4edb816d21e1 5 * portions Copyright (c) 1998 Global Election Systems Inc.
ICTFBI 0:4edb816d21e1 6 *
ICTFBI 0:4edb816d21e1 7 * The authors hereby grant permission to use, copy, modify, distribute,
ICTFBI 0:4edb816d21e1 8 * and license this software and its documentation for any purpose, provided
ICTFBI 0:4edb816d21e1 9 * that existing copyright notices are retained in all copies and that this
ICTFBI 0:4edb816d21e1 10 * notice and the following disclaimer are included verbatim in any
ICTFBI 0:4edb816d21e1 11 * distributions. No written agreement, license, or royalty fee is required
ICTFBI 0:4edb816d21e1 12 * for any of the authorized uses.
ICTFBI 0:4edb816d21e1 13 *
ICTFBI 0:4edb816d21e1 14 * THIS SOFTWARE IS PROVIDED BY THE CONTRIBUTORS *AS IS* AND ANY EXPRESS OR
ICTFBI 0:4edb816d21e1 15 * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
ICTFBI 0:4edb816d21e1 16 * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
ICTFBI 0:4edb816d21e1 17 * IN NO EVENT SHALL THE CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
ICTFBI 0:4edb816d21e1 18 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
ICTFBI 0:4edb816d21e1 19 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
ICTFBI 0:4edb816d21e1 20 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
ICTFBI 0:4edb816d21e1 21 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
ICTFBI 0:4edb816d21e1 22 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
ICTFBI 0:4edb816d21e1 23 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
ICTFBI 0:4edb816d21e1 24 *
ICTFBI 0:4edb816d21e1 25 ******************************************************************************
ICTFBI 0:4edb816d21e1 26 * REVISION HISTORY
ICTFBI 0:4edb816d21e1 27 *
ICTFBI 0:4edb816d21e1 28 * 03-01-01 Marc Boucher <marc@mbsi.ca>
ICTFBI 0:4edb816d21e1 29 * Ported to lwIP.
ICTFBI 0:4edb816d21e1 30 * 98-01-30 Guy Lancaster <lancasterg@acm.org>, Global Election Systems Inc.
ICTFBI 0:4edb816d21e1 31 * Original built from BSD network code.
ICTFBI 0:4edb816d21e1 32 ******************************************************************************/
ICTFBI 0:4edb816d21e1 33 /*
ICTFBI 0:4edb816d21e1 34 * chap.h - Challenge Handshake Authentication Protocol definitions.
ICTFBI 0:4edb816d21e1 35 *
ICTFBI 0:4edb816d21e1 36 * Copyright (c) 1995 Eric Rosenquist, Strata Software Limited.
ICTFBI 0:4edb816d21e1 37 * http://www.strataware.com/
ICTFBI 0:4edb816d21e1 38 *
ICTFBI 0:4edb816d21e1 39 * All rights reserved.
ICTFBI 0:4edb816d21e1 40 *
ICTFBI 0:4edb816d21e1 41 * Redistribution and use in source and binary forms are permitted
ICTFBI 0:4edb816d21e1 42 * provided that the above copyright notice and this paragraph are
ICTFBI 0:4edb816d21e1 43 * duplicated in all such forms and that any documentation,
ICTFBI 0:4edb816d21e1 44 * advertising materials, and other materials related to such
ICTFBI 0:4edb816d21e1 45 * distribution and use acknowledge that the software was developed
ICTFBI 0:4edb816d21e1 46 * by Eric Rosenquist. The name of the author may not be used to
ICTFBI 0:4edb816d21e1 47 * endorse or promote products derived from this software without
ICTFBI 0:4edb816d21e1 48 * specific prior written permission.
ICTFBI 0:4edb816d21e1 49 *
ICTFBI 0:4edb816d21e1 50 * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
ICTFBI 0:4edb816d21e1 51 * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
ICTFBI 0:4edb816d21e1 52 * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
ICTFBI 0:4edb816d21e1 53 *
ICTFBI 0:4edb816d21e1 54 * $Id: chpms.h,v 1.5 2007/12/19 20:47:23 fbernon Exp $
ICTFBI 0:4edb816d21e1 55 */
ICTFBI 0:4edb816d21e1 56
ICTFBI 0:4edb816d21e1 57 #ifndef CHPMS_H
ICTFBI 0:4edb816d21e1 58 #define CHPMS_H
ICTFBI 0:4edb816d21e1 59
ICTFBI 0:4edb816d21e1 60 #define MAX_NT_PASSWORD 256 /* Maximum number of (Unicode) chars in an NT password */
ICTFBI 0:4edb816d21e1 61
ICTFBI 0:4edb816d21e1 62 void ChapMS (chap_state *, char *, int, char *, int);
ICTFBI 0:4edb816d21e1 63
ICTFBI 0:4edb816d21e1 64 #endif /* CHPMS_H */