dazukoio_compat12.h

Go to the documentation of this file.
00001 /* Dazuko Interface. Interace with Dazuko 1.x for file access control.
00002    Written by John Ogness <jogness@antivir.de>
00003 
00004    Copyright (c) 2003, 2004 H+BEDV Datentechnik GmbH
00005    All rights reserved.
00006 
00007    Redistribution and use in source and binary forms, with or without
00008    modification, are permitted provided that the following conditions
00009    are met:
00010 
00011    1. Redistributions of source code must retain the above copyright notice,
00012    this list of conditions and the following disclaimer.
00013 
00014    2. Redistributions in binary form must reproduce the above copyright notice,
00015    this list of conditions and the following disclaimer in the documentation
00016    and/or other materials provided with the distribution.
00017 
00018    3. Neither the name of Dazuko nor the names of its contributors may be used
00019    to endorse or promote products derived from this software without specific
00020    prior written permission.
00021 
00022    THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
00023    AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
00024    IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
00025    ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
00026    LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
00027    CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
00028    SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
00029    INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
00030    CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
00031    ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
00032    POSSIBILITY OF SUCH DAMAGE.
00033 */
00034 
00035 #ifndef DAZUKOIO_COMPAT12_H
00036 #define DAZUKOIO_COMPAT12_H
00037 
00038 #include "dazukoio_xp.h"
00039 #include "dazukoio.h"
00040 
00041 int dazukoRegister_TS_compat12_wrapper(struct dazuko_id **dazuko_id, const char *groupName);
00042 int dazukoRegister_TS_compat12(struct dazuko_id *dazuko, const char *groupName);
00043 int dazukoSetAccessMask_TS_compat12(struct dazuko_id *dazuko, unsigned long accessMask);
00044 int dazuko_set_path_compat12(struct dazuko_id *dazuko, const char *path, int command);
00045 int dazukoAddIncludePath_TS_compat12(struct dazuko_id *dazuko, const char *path);
00046 int dazukoAddExcludePath_TS_compat12(struct dazuko_id *dazuko, const char *path);
00047 int dazukoRemoveAllPaths_TS_compat12(struct dazuko_id *dazuko);
00048 int dazukoGetAccess_TS_compat12_wrapper(struct dazuko_id *dazuko, struct dazuko_access **acc);
00049 int dazukoGetAccess_TS_compat12(struct dazuko_id *dazuko, struct access_compat12 *acc);
00050 int dazukoReturnAccess_TS_compat12_wrapper(struct dazuko_id *dazuko, struct dazuko_access **acc, int return_access, int free_access);
00051 int dazukoReturnAccess_TS_compat12(struct dazuko_id *dazuko, struct access_compat12 *acc);
00052 int dazukoUnregister_TS_compat12_wrapper(struct dazuko_id **dazuko_id);
00053 int dazukoUnregister_TS_compat12(struct dazuko_id *dazuko);
00054 
00055 #endif

Generated on Fri Jun 17 09:45:19 2005 for RSBAC by  doxygen 1.4.2