Commit 884898af 884898afcaeddfeeb5854a7df51187a0779f7d38 by Sergey Poznyakoff

Added extern declaration for sql_getpwuid_query.

1 parent 791a6cc4
...@@ -3,6 +3,7 @@ ...@@ -3,6 +3,7 @@
3 #ifdef HAVE_MYSQL 3 #ifdef HAVE_MYSQL
4 extern char *sql_getpwnam_query; 4 extern char *sql_getpwnam_query;
5 extern char *sql_getpass_query; 5 extern char *sql_getpass_query;
6 extern char *sql_getpwuid_query;
6 extern char *sql_host; 7 extern char *sql_host;
7 extern char *sql_user; 8 extern char *sql_user;
8 extern char *sql_passwd; 9 extern char *sql_passwd;
...@@ -11,6 +12,7 @@ extern char *sql_socket; ...@@ -11,6 +12,7 @@ extern char *sql_socket;
11 extern int sql_port; 12 extern int sql_port;
12 13
13 struct passwd *getMpwnam (const char *username); 14 struct passwd *getMpwnam (const char *username);
15 struct passwd *getMpwuid (uid_t uid);
14 struct spwd *getMspnam (const char *username); 16 struct spwd *getMspnam (const char *username);
15 17
16 #define MHOST NULL /* Hostname to connect to. NULL for UNIX 18 #define MHOST NULL /* Hostname to connect to. NULL for UNIX
......