]> git.ozlabs.org Git - ppp.git/blob - pppd/plugins/radius/radiusclient/include/messages.h
23c4f67e5187bd6c85789b5794a7fa667c260804
[ppp.git] / pppd / plugins / radius / radiusclient / include / messages.h
1 /*
2  * $Id: messages.h,v 1.1 2002/01/22 16:03:01 dfs Exp $
3  *
4  * Copyright (C) 1995,1996 Lars Fenneberg
5  *
6  * Copyright 1992 Livingston Enterprises, Inc.
7  *
8  * Copyright 1992,1993, 1994,1995 The Regents of the University of Michigan 
9  * and Merit Network, Inc. All Rights Reserved
10  *
11  * See the file COPYRIGHT for the respective terms and conditions. 
12  * If the file is missing contact me at lf@elemental.net 
13  * and I'll send you a copy.
14  *
15  */
16
17 /*
18  * Only messages that the user gets under normal use are in here.
19  * Error messages and such are still in the source code.
20  */
21
22 #ifndef MESSAGES_H
23 #define MESSAGES_H
24
25 /* radlogin.c */
26
27 #define SC_LOGIN         "login: "
28 #define SC_PASSWORD      "Password: "
29
30 #define SC_TIMEOUT       "\r\nlogin timed out after %d seconds. Bye.\r\n"
31 #define SC_EXCEEDED      "Maximum login tries exceeded. Go away!\r\n"
32
33 #define SC_RADIUS_OK     "RADIUS: Authentication OK\r\n"
34 #define SC_RADIUS_FAILED "RADIUS: Authentication failure\r\n"
35
36 #define SC_LOCAL_OK      "local: Authentication OK\r\n"
37 #define SC_LOCAL_FAILED  "local: Authentication failure\r\n"
38 #define SC_NOLOGIN       "\r\nSystem closed for maintenance. Try again later...\r\n"
39
40 #define SC_SERVER_REPLY  "RADIUS: %s"
41
42 #define SC_DEFAULT_ISSUE "(\\I)\r\n\r\n\\S \\R (\\N) (port \\L)\r\n\r\n"
43
44 /* radacct.c */
45
46 #define SC_ACCT_OK       "RADIUS accounting OK\r\n"
47 #define SC_ACCT_FAILED   "RADIUS accounting failed (RC=%i)\r\n"
48
49 /* radstatus.c */
50
51 #define SC_STATUS_FAILED        "RADIUS: Status failure\r\n"
52
53 #endif /* MESSAGES_H */