sshlogin.h 935 B

123456789101112131415161718192021222324
  1. /* $OpenBSD: sshlogin.h,v 1.8 2006/08/03 03:34:42 deraadt Exp $ */
  2. /*
  3. * Author: Tatu Ylonen <ylo@cs.hut.fi>
  4. * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
  5. * All rights reserved
  6. *
  7. * As far as I am concerned, the code I have written for this software
  8. * can be used freely for any purpose. Any derived versions of this
  9. * software must be clearly marked as such, and if the derived work is
  10. * incompatible with the protocol description in the RFC file, it must be
  11. * called by a name other than "ssh" or "Secure Shell".
  12. */
  13. void record_login(pid_t, const char *, const char *, uid_t,
  14. const char *, struct sockaddr *, socklen_t);
  15. void record_logout(pid_t, const char *, const char *);
  16. time_t get_last_login_time(uid_t, const char *, char *, size_t);
  17. #ifdef LOGIN_NEEDS_UTMPX
  18. void record_utmp_only(pid_t, const char *, const char *, const char *,
  19. struct sockaddr *, socklen_t);
  20. #endif