/[hurd]/hurd/libstore/store.h
ViewVC logotype

Diff of /hurd/libstore/store.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.36 by roland, Wed Mar 7 15:01:37 2001 UTC revision 1.37 by roland, Sun Aug 26 00:09:38 2001 UTC
# Line 341  error_t _store_device_create (device_t d Line 341  error_t _store_device_create (device_t d
341  /* Open the device NAME, and return the corresponding store in STORE.  */  /* Open the device NAME, and return the corresponding store in STORE.  */
342  error_t store_device_open (const char *name, int flags, struct store **store);  error_t store_device_open (const char *name, int flags, struct store **store);
343    
344    /* Return a new store in STORE which contains a remap store of partition
345       PART from the contents of SOURCE; SOURCE is consumed.  */
346    error_t store_part_create (struct store *source, int index, int flags,
347                              struct store **store);
348    
349    /* Open the part NAME.  NAME consists of a partition number, a ':', a another
350       store class name, a ':' and a name for to by passed to the store class.
351       E.g. "2:device:hd0" would open the second partition on a DEVICE store
352       named "hd0".  FLAGS indicate how to open the store.  CLASSES is used to
353       select classes specified by the type NAME; if it is 0, STORE_STD_CLASSES
354       is used.  The new store is returned in *STORE.  */
355    error_t store_part_open (const char *name, int flags,
356                            const struct store_class *const *classes,
357                            struct store **store);
358    
359  /* Return a new store in STORE referring to the file FILE.  Unlike  /* Return a new store in STORE referring to the file FILE.  Unlike
360     store_create, this will always use file i/o, even it would be possible to     store_create, this will always use file i/o, even it would be possible to
361     be more direct.  This may work in more cases, for instance if the file has     be more direct.  This may work in more cases, for instance if the file has
# Line 478  error_t store_mvol_create (struct store Line 493  error_t store_mvol_create (struct store
493  extern const struct store_class *const store_std_classes[];  extern const struct store_class *const store_std_classes[];
494    
495  extern const struct store_class store_device_class;  extern const struct store_class store_device_class;
496    extern const struct store_class store_part_class;
497  extern const struct store_class store_file_class;  extern const struct store_class store_file_class;
498  extern const struct store_class store_task_class;  extern const struct store_class store_task_class;
499  extern const struct store_class store_zero_class;  extern const struct store_class store_zero_class;

Legend:
Removed from v.1.36  
changed lines
  Added in v.1.37

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26