4
* Prototypes for functions in commands/seclabel.c
6
* Portions Copyright (c) 1996-2011, PostgreSQL Global Development Group
7
* Portions Copyright (c) 1994, Regents of the University of California
12
#include "catalog/objectaddress.h"
13
#include "nodes/primnodes.h"
14
#include "nodes/parsenodes.h"
19
extern char *GetSecurityLabel(const ObjectAddress *object,
20
const char *provider);
21
extern void SetSecurityLabel(const ObjectAddress *object,
22
const char *provider, const char *label);
23
extern void DeleteSecurityLabel(const ObjectAddress *object);
26
* Statement and ESP hook support
28
extern void ExecSecLabelStmt(SecLabelStmt *stmt);
30
typedef void (*check_object_relabel_type) (const ObjectAddress *object,
31
const char *seclabel);
32
extern void register_label_provider(const char *provider,
33
check_object_relabel_type hook);
35
#endif /* SECLABEL_H */