Onenet

Dependents:   K64F_eCompass_OneNET_JW

Committer:
robert_jw
Date:
Mon Jun 20 01:40:20 2016 +0000
Revision:
0:b2805b6888dc
ADS

Who changed what in which revision?

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