blob: 508b4f7a24494deddf21f86205d7bb00d1f6f997 [file] [log] [blame]
David Teiglandb3b94fa2006-01-16 16:50:04 +00001/*
2 * Copyright (C) Sistina Software, Inc. 1997-2003 All rights reserved.
Steven Whitehouse3a8a9a12006-05-18 15:09:15 -04003 * Copyright (C) 2004-2006 Red Hat, Inc. All rights reserved.
David Teiglandb3b94fa2006-01-16 16:50:04 +00004 *
5 * This copyrighted material is made available to anyone wishing to use,
6 * modify, copy, or redistribute it subject to the terms and conditions
Steven Whitehousee9fc2aa2006-09-01 11:05:15 -04007 * of the GNU General Public License version 2.
David Teiglandb3b94fa2006-01-16 16:50:04 +00008 */
9
10#ifndef __EAOPS_DOT_H__
11#define __EAOPS_DOT_H__
12
13struct gfs2_ea_request;
Steven Whitehousef2f7ba52006-09-05 10:39:21 -040014struct gfs2_inode;
David Teiglandb3b94fa2006-01-16 16:50:04 +000015
16struct gfs2_eattr_operations {
17 int (*eo_get) (struct gfs2_inode *ip, struct gfs2_ea_request *er);
18 int (*eo_set) (struct gfs2_inode *ip, struct gfs2_ea_request *er);
19 int (*eo_remove) (struct gfs2_inode *ip, struct gfs2_ea_request *er);
20 char *eo_name;
21};
22
Steven Whitehousecca195c2006-09-05 13:15:18 -040023unsigned int gfs2_ea_name2type(const char *name, const char **truncated_name);
David Teiglandb3b94fa2006-01-16 16:50:04 +000024
David Teiglandb3b94fa2006-01-16 16:50:04 +000025extern struct gfs2_eattr_operations gfs2_system_eaops;
26
David Teiglandb3b94fa2006-01-16 16:50:04 +000027extern struct gfs2_eattr_operations *gfs2_ea_ops[];
28
29#endif /* __EAOPS_DOT_H__ */
30