X-Git-Url: http://git.ozlabs.org/?a=blobdiff_plain;ds=sidebyside;f=pppd%2Fplugins%2Fradius%2Fradiusclient%2Finclude%2Fmessages.h;fp=pppd%2Fplugins%2Fradius%2Fradiusclient%2Finclude%2Fmessages.h;h=23c4f67e5187bd6c85789b5794a7fa667c260804;hb=d95598c16f6a3feb4846db669601856bad15bb74;hp=0000000000000000000000000000000000000000;hpb=14768a012e45353cde5b60896ccc6b7528d90c69;p=ppp.git diff --git a/pppd/plugins/radius/radiusclient/include/messages.h b/pppd/plugins/radius/radiusclient/include/messages.h new file mode 100644 index 0000000..23c4f67 --- /dev/null +++ b/pppd/plugins/radius/radiusclient/include/messages.h @@ -0,0 +1,53 @@ +/* + * $Id: messages.h,v 1.1 2002/01/22 16:03:01 dfs 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 */ \ No newline at end of file