messages.h 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. /*
  2. * $Id: messages.h,v 1.2 2004/02/23 20:10:39 sobomax 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. * Only messages that the user gets under normal use are in here.
  18. * Error messages and such are still in the source code.
  19. */
  20. #ifndef MESSAGES_H
  21. #define MESSAGES_H
  22. /* radlogin.c */
  23. #define SC_LOGIN "login: "
  24. #define SC_PASSWORD "Password: "
  25. #define SC_TIMEOUT "\r\nlogin timed out after %d seconds. Bye.\r\n"
  26. #define SC_EXCEEDED "Maximum login tries exceeded. Go away!\r\n"
  27. #define SC_RADIUS_OK "RADIUS: Authentication OK\r\n"
  28. #define SC_RADIUS_FAILED "RADIUS: Authentication failure\r\n"
  29. #define SC_LOCAL_OK "local: Authentication OK\r\n"
  30. #define SC_LOCAL_FAILED "local: Authentication failure\r\n"
  31. #define SC_NOLOGIN "\r\nSystem closed for maintenance. Try again later...\r\n"
  32. #define SC_SERVER_REPLY "RADIUS: %s"
  33. #define SC_DEFAULT_ISSUE "(\\I)\r\n\r\n\\S \\R (\\N) (port \\L)\r\n\r\n"
  34. /* radacct.c */
  35. #define SC_ACCT_OK "RADIUS accounting OK\r\n"
  36. #define SC_ACCT_FAILED "RADIUS accounting failed (RC=%i)\r\n"
  37. /* radstatus.c */
  38. #define SC_STATUS_FAILED "RADIUS: Status failure\r\n"
  39. #endif /* MESSAGES_H */