Rtos API example

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers chap_ms.h Source File

chap_ms.h

00001 /*
00002  * chap_ms.h - Challenge Handshake Authentication Protocol definitions.
00003  *
00004  * Copyright (c) 1995 Eric Rosenquist.  All rights reserved.
00005  *
00006  * Redistribution and use in source and binary forms, with or without
00007  * modification, are permitted provided that the following conditions
00008  * are met:
00009  *
00010  * 1. Redistributions of source code must retain the above copyright
00011  *    notice, this list of conditions and the following disclaimer.
00012  *
00013  * 2. Redistributions in binary form must reproduce the above copyright
00014  *    notice, this list of conditions and the following disclaimer in
00015  *    the documentation and/or other materials provided with the
00016  *    distribution.
00017  *
00018  * 3. The name(s) of the authors of this software must not be used to
00019  *    endorse or promote products derived from this software without
00020  *    prior written permission.
00021  *
00022  * THE AUTHORS OF THIS SOFTWARE DISCLAIM ALL WARRANTIES WITH REGARD TO
00023  * THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
00024  * AND FITNESS, IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY
00025  * SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
00026  * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN
00027  * AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING
00028  * OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
00029  *
00030  * $Id: chap_ms.h,v 1.13 2004/11/15 22:13:26 paulus Exp $
00031  */
00032 
00033 #include "netif/ppp/ppp_opts.h"
00034 #if PPP_SUPPORT && MSCHAP_SUPPORT  /* don't build if not configured for use in lwipopts.h */
00035 
00036 #ifndef CHAPMS_INCLUDE
00037 #define CHAPMS_INCLUDE
00038 
00039 extern const struct chap_digest_type chapms_digest;
00040 extern const struct chap_digest_type chapms2_digest;
00041 
00042 #endif /* CHAPMS_INCLUDE */
00043 
00044 #endif /* PPP_SUPPORT && MSCHAP_SUPPORT */