diff options
Diffstat (limited to 'libstore/std.c')
-rw-r--r-- | libstore/std.c | 37 |
1 files changed, 24 insertions, 13 deletions
diff --git a/libstore/std.c b/libstore/std.c index 37edc73b..4784a8a5 100644 --- a/libstore/std.c +++ b/libstore/std.c @@ -1,9 +1,7 @@ /* List of standard store classes - Copyright (C) 1996 Free Software Foundation, Inc. - - Written by Miles Bader <miles@gnu.ai.mit.edu> - + Copyright (C) 1996,97,2001 Free Software Foundation, Inc. + Written by Miles Bader <miles@gnu.org> This file is part of the GNU Hurd. The GNU Hurd is free software; you can redistribute it and/or @@ -18,16 +16,29 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ + Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111, USA. */ #include "store.h" -struct store_class * -store_std_classes = 0; - -void -_store_add_std_class (struct store_class *class) +const struct store_class *const __attribute__ ((section ("store_std_classes"))) +store_std_classes[] = { - class->next = store_std_classes; - store_std_classes = class; -} + &store_device_class, +#if HAVE_PARTED_PARTED_H + &store_part_class, +#endif + &store_file_class, + &store_zero_class, + &store_task_class, + &store_ileave_class, &store_concat_class, &store_remap_class, + &store_query_class, + &store_copy_class, &store_gunzip_class, &store_bunzip2_class, + + /* This pseudo-class must appear before any real STORAGE_NETWORK class, + to parse STORAGE_NETWORK file_get_storage_info results properly. */ + &store_url_open_class, + &store_nbd_class, + + &store_typed_open_class, + 0 +}; |