PageRenderTime 46ms CodeModel.GetById 22ms RepoModel.GetById 0ms app.codeStats 0ms

/src/include/common/username.h

https://bitbucket.org/gencer/postgres
C Header | 15 lines | 5 code | 2 blank | 8 comment | 0 complexity | d36ddca5bb7d7a2f97525dbdac64eb6c MD5 | raw file
Possible License(s): AGPL-3.0
  1. /*
  2. * username.h
  3. * lookup effective username
  4. *
  5. * Copyright (c) 2003-2014, 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 */