/*
* Copyright 2008 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
/*
* Data Types for policy and principal information that
* exists in the respective databases.
*
* $Header$
*
* This file was originally created with rpcgen.
* It has been hacked up since then.
*/
#ifndef __ADB_H__
#define __ADB_H__
#include "k5-int.h"
#include <db.h>
#include <com_err.h>
typedef long osa_adb_ret_t;
typedef struct _osa_adb_db_lock_ent_t {
char *filename;
typedef struct _osa_adb_db_ent_t {
int magic;
char *filename;
int opencnt;
/* an osa_pw_hist_ent stores all the key_datas for a single password */
typedef struct _osa_pw_hist_t {
int n_key_data;
typedef struct _osa_princ_ent_t {
int version;
char *policy;
long aux_attributes;
unsigned int old_key_len;
unsigned int old_key_next;
typedef struct _osa_policy_ent_t {
int version;
char *name;
/*
* Return Code (the rest are in adb_err.h)
*/
#define OSA_ADB_OK 0
/*
* xdr functions
*/
/*
* Functions
*/
void * data);
void *data);
#endif /* __ADB_H__ */