blob: 0a009eee83a947ad58cba49164943e89c517d336 [file] [log] [blame]
lh9ed821d2023-04-07 01:36:19 -07001/*
2 * chap.h - Challenge Handshake Authentication Protocol definitions.
3 *
4 * Copyright (c) 1995 Eric Rosenquist, Strata Software Limited.
5 * http://www.strataware.com/
6 *
7 * All rights reserved.
8 *
9 * Redistribution and use in source and binary forms are permitted
10 * provided that the above copyright notice and this paragraph are
11 * duplicated in all such forms and that any documentation,
12 * advertising materials, and other materials related to such
13 * distribution and use acknowledge that the software was developed
14 * by Eric Rosenquist. The name of the author may not be used to
15 * endorse or promote products derived from this software without
16 * specific prior written permission.
17 *
18 * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
19 * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
20 * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
21 *
22 * $Id: chap_ms.h,v 1.1 2008-08-04 06:11:51 winfred Exp $
23 */
24
25#ifndef __CHAPMS_INCLUDE__
26
27void ChapMS __P((chap_state *, char *, int, char *, int));
28int ChapMS_Resp __P((chap_state *, char *, int, u_char *));
29void ChapMS_v2 __P((chap_state *, char *, int, char *, int));
30int ChapMS_v2_Resp __P((chap_state *, char *, int, u_char *, char *));
31void ChapMS_v2_Auth __P((chap_state *, char *, int, u_char *, char *));
32
33int reqchapms(char **);
34int nochapms(char **);
35int reqchapms_v2(char **);
36int nochapms_v2(char **);
37
38#define __CHAPMS_INCLUDE__
39#endif /* __CHAPMS_INCLUDE__ */