WebSocketServer test

Dependencies:   mbed

Committer:
gtk2k
Date:
Sun Apr 29 03:58:08 2012 +0000
Revision:
0:74be48b504a5
WebSocketServer

Who changed what in which revision?

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