X-Git-Url: https://git.ozlabs.org/?a=blobdiff_plain;f=pppd%2Fecp.h;h=975d79b876a7c8ca71d72340d717a7e1acb6d5ca;hb=4f3e40659fcccce45068473ae94cfead18260c77;hp=530a9b457c0fcee9b3e847f87657bdfd55ef5f79;hpb=fda3a821c1f0eda47ef53632f6a42084924b7167;p=ppp.git diff --git a/pppd/ecp.h b/pppd/ecp.h index 530a9b4..975d79b 100644 --- a/pppd/ecp.h +++ b/pppd/ecp.h @@ -4,20 +4,45 @@ * Copyright (c) 2002 Google, Inc. * All rights reserved. * - * Redistribution and use in source and binary forms are permitted - * provided that the above copyright notice and this paragraph are - * duplicated in all such forms and that any documentation, - * advertising materials, and other materials related to such - * distribution and use acknowledge that the software was developed - * by the Australian National University. The name of the University - * may not be used to endorse or promote products derived from this - * software without specific prior written permission. - * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR - * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED - * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: * - * $Id: ecp.h,v 1.1 2002/05/22 18:16:54 dfs Exp $ + * 1. Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * + * 2. Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in + * the documentation and/or other materials provided with the + * distribution. + * + * 3. The name(s) of the authors of this software must not be used to + * endorse or promote products derived from this software without + * prior written permission. + * + * THE AUTHORS OF THIS SOFTWARE DISCLAIM ALL WARRANTIES WITH REGARD TO + * THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY + * AND FITNESS, IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY + * SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES + * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN + * AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING + * OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + * + * $Id: ecp.h,v 1.2 2003/01/10 07:12:36 fcusack Exp $ */ +#ifndef PPP_ECP_H +#define PPP_ECP_H + +#include "pppdconf.h" + +#ifdef __cplusplus +extern "C" { +#endif + +#ifndef PPP_ECP +#define PPP_ECP 0x8053 +#endif + typedef struct ecp_options { bool required; /* Is ECP required? */ @@ -31,3 +56,9 @@ extern ecp_options ecp_allowoptions[]; extern ecp_options ecp_hisoptions[]; extern struct protent ecp_protent; + +#ifdef __cplusplus +} +#endif + +#endif // PPP_ECP_H