home *** CD-ROM | disk | FTP | other *** search
/ Fresh Fish 8 / FreshFishVol8-CD2.bin / bbs / comm / amitcp-3.0ß2.lha / AmiTCP / netinclude / fd / usergroup_lib.fd < prev   
Text File  |  1994-05-19  |  1KB  |  66 lines

  1. **
  2. **    $Filename: fd/usergroup_lib.fd $
  3. **    $Release$
  4. **    $Revision: 4.1 $
  5. **    $Date: 1994/05/16 14:09:07 $
  6. **
  7. **    FD file for usergroup.library
  8. **
  9. **    Copyright (c) 1993 AmiTCP/IP Group, <AmiTCP-Group@hut.fi>
  10. **        Helsinki University of Technology, Finland.
  11. **        All rights reserved.
  12. **
  13. ##base _UserGroupBase
  14. ##bias 30
  15. ##public
  16. *------ Setup functions ------*
  17. ug_SetupContextTagList(pname, taglist)(a0/a1)
  18. ug_GetErr()()
  19. ug_StrError(code)(d1)
  20. *------ User identification ------*
  21. getuid()()
  22. geteuid()()
  23. setreuid(real, eff)(d0/d1)
  24. setuid(id)(d0)
  25. *------ Group membership ------*
  26. getgid()()
  27. getegid()()
  28. setregid(real, eff)(d0/d1)
  29. setgid(id)(d0)
  30. getgroups(ngroups, groups)(d0/a1)
  31. setgroups(ngroups, groups)(d0/a1)
  32. initgroups(name, basegroup)(a1/d0)
  33. *------ User database ------*
  34. getpwnam(name)(a1)
  35. getpwuid(uid)(d0)
  36. setpwent()()
  37. getpwent()()
  38. endpwent()()
  39. *------ Group database ------*
  40. getgrnam(name)(a1)
  41. getgrgid(gid)(d0)
  42. setgrent()()
  43. getgrent()()
  44. endgrent()()
  45. *------ Password handling ------*
  46. crypt(key, salt)(a0/a1)
  47. ug_GetSalt(user, buffer, size)(a0/a1/d0)
  48. getpass(prompt)(a1)
  49. *------ Default protections ------*
  50. umask(mask)(d0)
  51. getumask()()
  52. *------ Sessions ------*
  53. setsid()()
  54. getpgrp()()
  55. getlogin()()
  56. setlogin(buffer)(a1)
  57. *------ Sessions, user login database (utmp) ------*
  58. setutent()()
  59. getutent()()
  60. endutent()()
  61. getlastlog(uid)(d0)
  62. setlastlog(uid, name, host)(d0/a0/a1)
  63. *------ Credentials ------*
  64. getcredentials(task)(a0)
  65. ##end
  66.