lpc1768

Committer:
jh1cdv00
Date:
Tue Jan 27 01:38:19 2015 +0000
Revision:
0:f35dada1dac1
lpc1768

Who changed what in which revision?

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