aboutsummaryrefslogtreecommitdiff
path: root/src/include/common/username.h
blob: 0c3d754c6130f15df85022822db4673fdf9015c2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/*
 *	username.h
 *		lookup effective username
 *
 *	Copyright (c) 2003-2016, 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 */