hba.h

来自「PostgreSQL7.4.6 for Linux」· C头文件 代码 · 共 58 行

H
58
字号
/*------------------------------------------------------------------------- * * hba.h *	  Interface to hba.c * * * $Id: hba.h,v 1.33 2003/04/17 22:26:01 tgl Exp $ * *------------------------------------------------------------------------- */#ifndef HBA_H#define HBA_H#ifndef WIN32#include <netinet/in.h>#endif#include "nodes/pg_list.h"#define CONF_FILE "pg_hba.conf" /* Name of the config file  */#define USERMAP_FILE "pg_ident.conf" /* Name of the usermap file */#define IDENT_PORT 113 /* Standard TCP port number for Ident service.  Assigned by IANA */typedef enum UserAuth{	uaReject,	uaKrb4,	uaKrb5,	uaTrust,	uaIdent,	uaPassword,	uaCrypt,	uaMD5#ifdef USE_PAM	,uaPAM#endif   /* USE_PAM */} UserAuth;typedef struct Port hbaPort;#define MAX_TOKEN	256extern void next_token(FILE *fp, char *buf, const int bufsz);extern List **get_user_line(const char *user);extern void load_hba(void);extern void load_ident(void);extern void load_user(void);extern void load_group(void);extern int	hba_getauthmethod(hbaPort *port);extern int	authident(hbaPort *port);#endif

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?