[BACK]Return to xfs_trans_priv.h CVS log [TXT][DIR] Up to [Development] / linux-2.6-xfs / fs / xfs

File: [Development] / linux-2.6-xfs / fs / xfs / xfs_trans_priv.h (download)

Revision 1.8, Fri Mar 31 20:06:02 1995 UTC (22 years, 6 months ago) by doucette
Branch: MAIN
Changes since 1.7: +28 -23 lines

Add an #ident line.
Use struct xxx * instead of xxx_t * in xfs header files to avoid
unnecessary dependencies between header files.

#ifndef _XFS_TRANS_PRIV_H
#define	_XFS_TRANS_PRIV_H

#ident "$Revision$"

struct xfs_log_item;
struct xfs_log_item_desc;
struct xfs_mount;
struct xfs_trans;

/*
 * From xfs_trans_async.c
 */
int			xfs_trans_any_async(struct xfs_mount *);
void			xfs_trans_add_async(struct xfs_trans *);
struct xfs_trans	*xfs_trans_get_async(struct xfs_mount *);

/*
 * From xfs_trans_item.c
 */
struct xfs_log_item_desc	*xfs_trans_add_item(struct xfs_trans *,
					    struct xfs_log_item *);
void				xfs_trans_free_item(struct xfs_trans *,
					    struct xfs_log_item_desc *);
struct xfs_log_item_desc	*xfs_trans_find_item(struct xfs_trans *,
					     struct xfs_log_item *);
struct xfs_log_item_desc	*xfs_trans_first_item(struct xfs_trans *);
struct xfs_log_item_desc	*xfs_trans_next_item(struct xfs_trans *,
					     struct xfs_log_item_desc *);
void				xfs_trans_free_items(struct xfs_trans *);
void				xfs_trans_unlock_items(struct xfs_trans *);

/*
 * From xfs_trans_ail.c
 */
void			xfs_trans_update_ail(struct xfs_mount *,
				     struct xfs_log_item *, xfs_lsn_t, int);
void			xfs_trans_delete_ail(struct xfs_mount *,
				     struct xfs_log_item *, int);
struct xfs_log_item	*xfs_trans_first_ail(struct xfs_mount *, int *);
struct xfs_log_item	*xfs_trans_next_ail(struct xfs_mount *,
				     struct xfs_log_item *, int *, int *);


#endif	/* _XFS_TRANS_PRIV_H */