File: messages.h

package info (click to toggle)
radiusclient 0.3.2-13
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 1,036 kB
  • ctags: 468
  • sloc: sh: 4,808; ansic: 3,645; perl: 258; makefile: 108
file content (53 lines) | stat: -rw-r--r-- 1,482 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
/*
 * $Id: messages.h,v 1.3 2002/02/03 13:53:09 lf Exp $
 *
 * Copyright (C) 1995,1996 Lars Fenneberg
 *
 * Copyright 1992 Livingston Enterprises, Inc.
 *
 * Copyright 1992,1993, 1994,1995 The Regents of the University of Michigan 
 * and Merit Network, Inc. All Rights Reserved
 *
 * See the file COPYRIGHT for the respective terms and conditions. 
 * If the file is missing contact me at lf@elemental.net 
 * and I'll send you a copy.
 *
 */

/*
 * Only messages that the user gets under normal use are in here.
 * Error messages and such are still in the source code.
 */

#ifndef MESSAGES_H
#define MESSAGES_H

/* radlogin.c */

#define SC_LOGIN	 "login: "
#define SC_PASSWORD	 "Password: "

#define SC_TIMEOUT	 "\r\nlogin timed out after %d seconds. Bye.\r\n"
#define SC_EXCEEDED	 "Maximum login tries exceeded. Go away!\r\n"

#define SC_RADIUS_OK	 "RADIUS: Authentication OK\r\n"
#define SC_RADIUS_FAILED "RADIUS: Authentication failure\r\n"

#define SC_LOCAL_OK	 "local: Authentication OK\r\n"
#define SC_LOCAL_FAILED	 "local: Authentication failure\r\n"
#define SC_NOLOGIN	 "\r\nSystem closed for maintenance. Try again later...\r\n"

#define SC_SERVER_REPLY	 "RADIUS: %s"

#define SC_DEFAULT_ISSUE "(\\I)\r\n\r\n\\S \\R (\\N) (port \\L)\r\n\r\n"

/* radacct.c */

#define SC_ACCT_OK	 "RADIUS accounting OK\r\n"
#define SC_ACCT_FAILED	 "RADIUS accounting failed (RC=%i)\r\n"

/* radstatus.c */

#define SC_STATUS_FAILED	"RADIUS: Status failure\r\n"

#endif /* MESSAGES_H */