stand.h (01cad731921bb60b4f6e04c1cac987eea7af9d08) stand.h (bd001d86d679e10d179ef00b9866f0e65b6fa7fd)
1/*
2 * Copyright (c) 1998 Michael Smith.
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 103 unchanged lines hidden (view full) ---

112 int (*fo_stat)(struct open_file *f, struct stat *sb);
113 int (*fo_readdir)(struct open_file *f, struct dirent *d);
114 int (*fo_preload)(struct open_file *f);
115 int (*fo_mount)(const char *, const char *, void **);
116 int (*fo_unmount)(const char *, void *);
117};
118
119/*
1/*
2 * Copyright (c) 1998 Michael Smith.
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 103 unchanged lines hidden (view full) ---

112 int (*fo_stat)(struct open_file *f, struct stat *sb);
113 int (*fo_readdir)(struct open_file *f, struct dirent *d);
114 int (*fo_preload)(struct open_file *f);
115 int (*fo_mount)(const char *, const char *, void **);
116 int (*fo_unmount)(const char *, void *);
117};
118
119/*
120 * libstand-supplied filesystems
120 * libsa-supplied filesystems
121 */
122extern struct fs_ops ufs_fsops;
123extern struct fs_ops tftp_fsops;
124extern struct fs_ops nfs_fsops;
125extern struct fs_ops cd9660_fsops;
126extern struct fs_ops gzipfs_fsops;
127extern struct fs_ops bzipfs_fsops;
128extern struct fs_ops dosfs_fsops;

--- 25 unchanged lines hidden (view full) ---

154 int (*dv_open)(struct open_file *f, ...);
155 int (*dv_close)(struct open_file *f);
156 int (*dv_ioctl)(struct open_file *f, u_long cmd, void *data);
157 int (*dv_print)(int verbose); /* print device information */
158 void (*dv_cleanup)(void);
159};
160
161/*
121 */
122extern struct fs_ops ufs_fsops;
123extern struct fs_ops tftp_fsops;
124extern struct fs_ops nfs_fsops;
125extern struct fs_ops cd9660_fsops;
126extern struct fs_ops gzipfs_fsops;
127extern struct fs_ops bzipfs_fsops;
128extern struct fs_ops dosfs_fsops;

--- 25 unchanged lines hidden (view full) ---

154 int (*dv_open)(struct open_file *f, ...);
155 int (*dv_close)(struct open_file *f);
156 int (*dv_ioctl)(struct open_file *f, u_long cmd, void *data);
157 int (*dv_print)(int verbose); /* print device information */
158 void (*dv_cleanup)(void);
159};
160
161/*
162 * libstand-supplied device switch
162 * libsa-supplied device switch
163 */
164extern struct devsw netdev;
165
166extern int errno;
167
168/*
169 * Generic device specifier; architecture-dependent
170 * versions may be larger, but should be allowed to

--- 326 unchanged lines hidden ---
163 */
164extern struct devsw netdev;
165
166extern int errno;
167
168/*
169 * Generic device specifier; architecture-dependent
170 * versions may be larger, but should be allowed to

--- 326 unchanged lines hidden ---