12Oct2012MbedLab

Dependents:   Lab3_VoiceMeter

Fork of EthernetNetIf by Donatien Garnier

Committer:
psawant9
Date:
Fri Oct 12 16:02:00 2012 +0000
Revision:
6:22ce63eddd2b
Parent:
0:422060928e37
Done

Who changed what in which revision?

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