cfsd_logelem.h revision 7c478bd95313f5f23a4c958a745db2134aa03244
/*
* CDDL HEADER START
*
* The contents of this file are subject to the terms of the
* Common Development and Distribution License, Version 1.0 only
* (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
*/
// ------------------------------------------------------------
//
//
// Include file for the logelem class.
//
#pragma ident "%Z%%M% %I% %E% SMI"
// Copyright (c) 1994 by Sun Microsystems, Inc.
#ifndef CFSD_LOGELEM
#define CFSD_LOGELEM
// Abstract base class used by the other logelem classes.
void i_problem(const char *, ...);
void i_resolution(const char *, ...);
virtual ~cfsd_logelem();
virtual void logelem_dump() = 0;
const char *logelem_message();
};
// setattr
struct cfs_dlog_setattr *i_up;
void logelem_dump();
};
// setsecattr
struct cfs_dlog_setsecattr *i_up;
void logelem_dump();
};
// create
struct cfs_dlog_create *i_up;
const char *i_namep; // name of file to create
void logelem_dump();
};
// remove
struct cfs_dlog_remove *i_up;
const char *i_namep; // name of file to remove
void logelem_dump();
};
// rmdir
struct cfs_dlog_rmdir *i_up;
const char *i_namep; // name of dir to rmdir
void logelem_dump();
};
// mkdir
struct cfs_dlog_mkdir *i_up;
const char *i_namep; // name of dir to mkdir
void logelem_dump();
};
// link
struct cfs_dlog_link *i_up;
const char *i_namep; // name of link
void logelem_dump();
};
// symlink
struct cfs_dlog_symlink *i_up;
const char *i_namep; // name of symlink
const char *i_contentsp; // contents of symlink
void logelem_dump();
};
// rename
struct cfs_dlog_rename *i_up;
const char *i_orignamep; // original name
const char *i_newnamep; // new name
void logelem_dump();
};
// modify
struct cfs_dlog_modify *i_up;
void logelem_dump();
};
// mapfid
struct cfs_dlog_mapfid *i_up;
void logelem_dump();
};
#endif /* CFSD_LOGELEM */