Dependents:   SNMPAgent HTTPServer think_speak_a cyassl-client ... more

Committer:
mamezu
Date:
Thu Dec 09 01:33:56 2010 +0000
Revision:
0:0f6c82fcde82

        

Who changed what in which revision?

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