This library is stripped down version of NetServices library. HTTP server and client function is NOT supported.

Dependents:   imu-daq-eth

Committer:
idinor
Date:
Wed Jul 20 11:45:39 2011 +0000
Revision:
0:dcf3c92487ca

        

Who changed what in which revision?

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