/*
* CDDL HEADER START
*
* The contents of this file are subject to the terms of the
* Common Development and Distribution License (the "License").
* You may not use this file except in compliance with the License.
*
* You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
* See the License for the specific language governing permissions
* and limitations under the License.
*
* When distributing Covered Code, include this CDDL HEADER in each
* file and include the License file at usr/src/OPENSOLARIS.LICENSE.
* If applicable, add the following below this CDDL HEADER, with the
* fields enclosed by brackets "[]" replaced with your own identifying
* information: Portions Copyright [yyyy] [name of copyright owner]
*
* CDDL HEADER END
*/
/*
*/
#ifndef _SECDB_H
#define _SECDB_H
#ifdef __cplusplus
extern "C" {
#endif
/*
* return status macros for all attribute databases
*/
typedef struct kv_s {
char *key;
char *value;
typedef struct kva_s {
extern int _auth_match(const char *, const char *);
extern char *_argv_to_csl(char **strings);
extern char **_csl_to_argv(char *csl);
extern char *_do_unescape(char *src);
extern void _free_argv(char **p_argv);
extern int _insert2kva(kva_t *, char *, char *);
extern void _kva_free_value(kva_t *, char *);
extern int _enum_auths(const char *, int (*)(const char *, void *, void *),
extern int _enum_profs(const char *,
extern int _enum_attrs(const char *,
#ifdef __cplusplus
}
#endif
#endif /* _SECDB_H */