PageRenderTime 44ms CodeModel.GetById 19ms RepoModel.GetById 0ms app.codeStats 0ms

/src/include/common/username.h

https://bitbucket.org/adunstan/pgdevel
C Header | 15 lines | 5 code | 2 blank | 8 comment | 0 complexity | 970e5bc8ab5330e416a3c3aae5ac6a31 MD5 | raw file
Possible License(s): AGPL-3.0
  1. /*
  2. * username.h
  3. * lookup effective username
  4. *
  5. * Copyright (c) 2003-2018, PostgreSQL Global Development Group
  6. *
  7. * src/include/common/username.h
  8. */
  9. #ifndef USERNAME_H
  10. #define USERNAME_H
  11. extern const char *get_user_name(char **errstr);
  12. extern const char *get_user_name_or_exit(const char *progname);
  13. #endif /* USERNAME_H */