2N/A/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */ 2N/A * Copyright 2006 by the Massachusetts Institute of Technology. 2N/A * All Rights Reserved. 2N/A * Export of this software from the United States of America may 2N/A * require a specific license from the United States Government. 2N/A * It is the responsibility of any person or organization contemplating 2N/A * export to obtain such a license before exporting. 2N/A * WITHIN THAT CONSTRAINT, permission to use, copy, modify, and 2N/A * distribute this software and its documentation for any purpose and 2N/A * without fee is hereby granted, provided that the above copyright 2N/A * notice appear in all copies and that both that copyright notice and 2N/A * this permission notice appear in supporting documentation, and that 2N/A * the name of M.I.T. not be used in advertising or publicity pertaining 2N/A * to distribution of the software without specific, written prior 2N/A * permission. Furthermore if you modify this software you must label 2N/A * your software as modified software and not distribute it in such a 2N/A * fashion that it might be confused with the original M.I.T. software. 2N/A * M.I.T. makes no representations about the suitability of 2N/A * this software for any purpose. It is provided "as is" without express 2N/A * or implied warranty. 2N/A/********************************************************************** 2N/A * Instance: idc_sec_2 2N/A * %created_by: spradeep % 2N/A * %date_created: Tue Apr 5 11:44:00 2005 % 2N/A **********************************************************************/ 2N/A * Copyright (c) 2007, 2012, Oracle and/or its affiliates. All rights reserved. 2N/A/* Quick and dirty wrapper functions to provide for thread safety 2N/A within the plugin, instead of making the kdb5 library do it. Eventually 2N/A these should be integrated into the real functions. 2N/A Some of the functions wrapped here are also called directly from 2N/A within this library (e.g., create calls open), so simply dropping 2N/A locking code into the top and bottom of each referenced function 2N/A won't do. (We aren't doing recursive locks, currently.) */ 2N/A /* hack: decl to allow a following ";" */ \
2N/A/* Two special cases: void (can't assign result), and krb5_error_code 2N/A (return error from locking code). */ 2N/A /* hack: decl to allow a following ";" */ \
2N/A/* Solaris Kerberos: adding support for db_args */ 2N/A 1,
/* major version number 1 */ 2N/A 0,
/* minor version number 0 */ 2N/A /* db_free_supported_realms */ NULL,
2N/A /* blah blah blah */ 0,0,0,0,0,0,0,0,