| David Teigland | b3b94fa | 2006-01-16 16:50:04 +0000 | [diff] [blame] | 1 | /* | 
 | 2 |  * Copyright (C) Sistina Software, Inc.  1997-2003 All rights reserved. | 
| Steven Whitehouse | 3a8a9a1 | 2006-05-18 15:09:15 -0400 | [diff] [blame] | 3 |  * Copyright (C) 2004-2006 Red Hat, Inc.  All rights reserved. | 
| David Teigland | b3b94fa | 2006-01-16 16:50:04 +0000 | [diff] [blame] | 4 |  * | 
 | 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 Whitehouse | e9fc2aa | 2006-09-01 11:05:15 -0400 | [diff] [blame] | 7 |  * of the GNU General Public License version 2. | 
| David Teigland | b3b94fa | 2006-01-16 16:50:04 +0000 | [diff] [blame] | 8 |  */ | 
 | 9 |  | 
 | 10 | #ifndef __EAOPS_DOT_H__ | 
 | 11 | #define __EAOPS_DOT_H__ | 
 | 12 |  | 
 | 13 | struct gfs2_ea_request; | 
| Steven Whitehouse | f2f7ba5 | 2006-09-05 10:39:21 -0400 | [diff] [blame] | 14 | struct gfs2_inode; | 
| David Teigland | b3b94fa | 2006-01-16 16:50:04 +0000 | [diff] [blame] | 15 |  | 
 | 16 | struct 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 Whitehouse | cca195c | 2006-09-05 13:15:18 -0400 | [diff] [blame] | 23 | unsigned int gfs2_ea_name2type(const char *name, const char **truncated_name); | 
| David Teigland | b3b94fa | 2006-01-16 16:50:04 +0000 | [diff] [blame] | 24 |  | 
| Denis Cheng | 4ef2900 | 2007-07-31 18:31:11 +0800 | [diff] [blame] | 25 | extern const struct gfs2_eattr_operations gfs2_system_eaops; | 
| David Teigland | b3b94fa | 2006-01-16 16:50:04 +0000 | [diff] [blame] | 26 |  | 
| Denis Cheng | 4ef2900 | 2007-07-31 18:31:11 +0800 | [diff] [blame] | 27 | extern const struct gfs2_eattr_operations *gfs2_ea_ops[]; | 
| David Teigland | b3b94fa | 2006-01-16 16:50:04 +0000 | [diff] [blame] | 28 |  | 
 | 29 | #endif /* __EAOPS_DOT_H__ */ | 
 | 30 |  |