X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=attribute.c;fp=attribute.c;h=8c87fa309a0cda8edcfd2719bc6c1564284207a9;hp=3ff70cb279d80b82f14520760bac2eec5b3576da;hb=513731227550737966bf05f724aef4ff26c0b9a7;hpb=11f6b66a8eb345185c4a4bc8dc8d6059835d37f0 diff --git a/attribute.c b/attribute.c index 3ff70cb2..8c87fa30 100644 --- a/attribute.c +++ b/attribute.c @@ -491,14 +491,9 @@ static int attribute_create(const char *dir) return osl(osl_create_table(&attribute_table_desc)); } -/** - * Initialize the attribute table structure. - * - * \param t The table structure to initialize. - */ -void attribute_init(struct afs_table *t) -{ - t->open = attribute_open; - t->close = attribute_close; - t->create = attribute_create; -} +/** The attribute table stores name/bitnum pairs. */ +const struct afs_table_operations attr_ops = { /* no event handler */ + .open = attribute_open, + .close = attribute_close, + .create = attribute_create, +};