376 |
then there is no limit on *DATACNT; if N is -1, then there is no limit |
then there is no limit on *DATACNT; if N is -1, then there is no limit |
377 |
on AMT. */ |
on AMT. */ |
378 |
error_t diskfs_get_directs (struct node *dp, int entry, int n, |
error_t diskfs_get_directs (struct node *dp, int entry, int n, |
379 |
char **data, u_int *datacnt, |
char **data, size_t *datacnt, |
380 |
vm_size_t bufsiz, int *amt); |
vm_size_t bufsiz, int *amt); |
381 |
|
|
382 |
/* The user must define this function. For locked node NP (for which |
/* The user must define this function. For locked node NP (for which |
900 |
/* Append to the malloced string *ARGZ of length *ARGZ_LEN a NUL-separated |
/* Append to the malloced string *ARGZ of length *ARGZ_LEN a NUL-separated |
901 |
list of the arguments to this translator. The default definition of this |
list of the arguments to this translator. The default definition of this |
902 |
routine simply calls diskfs_append_std_options. */ |
routine simply calls diskfs_append_std_options. */ |
903 |
error_t diskfs_append_args (char **argz, unsigned *argz_len); |
error_t diskfs_append_args (char **argz, size_t *argz_len); |
904 |
|
|
905 |
/* If this is defined or set to an argp structure, it will be used by the |
/* If this is defined or set to an argp structure, it will be used by the |
906 |
default diskfs_set_options to handle runtime option parsing. The default |
default diskfs_set_options to handle runtime option parsing. The default |
927 |
/* *Appends* to ARGZ & ARGZ_LEN '\0'-separated options describing the standard |
/* *Appends* to ARGZ & ARGZ_LEN '\0'-separated options describing the standard |
928 |
diskfs option state (note that unlike diskfs_get_options, ARGZ & ARGZ_LEN |
diskfs option state (note that unlike diskfs_get_options, ARGZ & ARGZ_LEN |
929 |
must already have a sane value). */ |
must already have a sane value). */ |
930 |
error_t diskfs_append_std_options (char **argz, unsigned *argz_len); |
error_t diskfs_append_std_options (char **argz, size_t *argz_len); |
931 |
|
|
932 |
/* Demultiplex incoming messages on ports created by libdiskfs. */ |
/* Demultiplex incoming messages on ports created by libdiskfs. */ |
933 |
int diskfs_demuxer (mach_msg_header_t *, mach_msg_header_t *); |
int diskfs_demuxer (mach_msg_header_t *, mach_msg_header_t *); |