d4d7f2a7fd74b2d5f65abc3386a1c49bd0dc7895
[dotfiles/.git] / spwd.pyi
1 from typing import List, NamedTuple\r
2 \r
3 struct_spwd = NamedTuple("struct_spwd", [("sp_nam", str),\r
4                                          ("sp_pwd", str),\r
5                                          ("sp_lstchg", int),\r
6                                          ("sp_min", int),\r
7                                          ("sp_max", int),\r
8                                          ("sp_warn", int),\r
9                                          ("sp_inact", int),\r
10                                          ("sp_expire", int),\r
11                                          ("sp_flag", int)])\r
12 \r
13 def getspall() -> List[struct_spwd]: ...\r
14 def getspnam(name: str) -> struct_spwd: ...\r