2N/A/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */ 2N/A * Copyright 1993 OpenVision Technologies, Inc., All Rights Reserved 2N/A * WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING 2N/A * Openvision retains the copyright to derivative works of 2N/A * this source code. Do *NOT* create a derivative of this 2N/A * source code before consulting with your legal department. 2N/A * Do *NOT* integrate *ANY* of this source code into another 2N/A * product before consulting with your legal department. 2N/A * For further information, read the top-level Openvision 2N/A * copyright which is contained in the top-level MIT Kerberos 2N/A * WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING 2N/A * Function: osa_adb_create_policy 2N/A * Purpose: create a policy entry in the policy db. 2N/A * entry (input) pointer to the entry to be added 2N/A * <return value> OSA_ADB_OK on success, else error code. 2N/A * entry have a valid name. 2N/A * creates the entry in the db 2N/A * Function: osa_adb_destroy_policy 2N/A * Purpose: destroy a policy entry 2N/A * db (input) database handle 2N/A * name (input) name of policy 2N/A * <return value> OSA_ADB_OK on success, or error code. 2N/A * name being non-null. 2N/A * deletes policy from db. 2N/A * Function: osa_adb_get_policy 2N/A * Purpose: retrieve policy 2N/A * db (input) db handle 2N/A * name (input) name of policy 2N/A * entry (output) policy entry 2N/A * cnt (inout) Number of entries 2N/A * <return value> 0 on success, error code on failure. 2N/A * Function: osa_adb_put_policy 2N/A * Purpose: update a policy in the dababase 2N/A * db (input) db handle 2N/A * entry (input) policy entry 2N/A * <return value> 0 on success error code on failure. 2N/A * Function: osa_adb_iter_policy 2N/A * Purpose: iterate over the policy database. 2N/A * db (input) db handle 2N/A * func (input) fucntion pointer to call 2N/A * data opaque data type 2N/A * <return value> 0 on success error code on failure 2N/A /* Solaris Kerberos */