From 83b06823f63aefa40736c1797890d13c043f352d Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Thu, 9 Jan 2003 18:00:24 +0000 Subject: Move new typedef AclId into c.h, so as to avoid cluttering namespace by having to include miscadmin.h into other header files. --- src/include/miscadmin.h | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) (limited to 'src/include/miscadmin.h') diff --git a/src/include/miscadmin.h b/src/include/miscadmin.h index ce254a9261c..f5146926681 100644 --- a/src/include/miscadmin.h +++ b/src/include/miscadmin.h @@ -12,7 +12,7 @@ * Portions Copyright (c) 1996-2002, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $Id: miscadmin.h,v 1.114 2002/12/09 18:21:43 tgl Exp $ + * $Id: miscadmin.h,v 1.115 2003/01/09 18:00:24 tgl Exp $ * * NOTES * some of the information in this file should be moved to @@ -176,7 +176,7 @@ extern bool EnableSSL; extern bool SilentMode; extern int MaxBackends; extern int ReservedBackends; -extern int NBuffers; +extern DLLIMPORT int NBuffers; extern int PostPortNumber; extern int Unix_socket_permissions; extern char *Unix_socket_group; @@ -200,13 +200,7 @@ extern char *ExpandDatabasePath(const char *path); extern void SetDatabaseName(const char *name); extern void SetDatabasePath(const char *path); -/* - * AclId system identifier for the user, group, etc. - */ -typedef int32 AclId; - extern char *GetUserNameFromId(AclId userid); - extern AclId GetUserId(void); extern void SetUserId(AclId userid); extern AclId GetSessionUserId(void); -- cgit v1.2.3