aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/libpq/src/include/common/username.h
blob: fd07df64c19355430590908e02d36423e0b4c286 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/*
 *	username.h
 *		lookup effective username
 *
 *	Copyright (c) 2003-2023, PostgreSQL Global Development Group
 *
 *	src/include/common/username.h
 */
#ifndef USERNAME_H
#define USERNAME_H

extern const char *get_user_name(char **errstr);
extern const char *get_user_name_or_exit(const char *progname);

#endif							/* USERNAME_H */