]> git.saurik.com Git - apple/xnu.git/blob - bsd/miscfs/devfs/devfs_proto.h
55f196b6017d2add8ffb73560e64299af3424277
[apple/xnu.git] / bsd / miscfs / devfs / devfs_proto.h
1 /*
2 * Copyright (c) 2000 Apple Computer, Inc. All rights reserved.
3 *
4 * @APPLE_LICENSE_HEADER_START@
5 *
6 * The contents of this file constitute Original Code as defined in and
7 * are subject to the Apple Public Source License Version 1.1 (the
8 * "License"). You may not use this file except in compliance with the
9 * License. Please obtain a copy of the License at
10 * http://www.apple.com/publicsource and read it before using this file.
11 *
12 * This Original Code and all software distributed under the License are
13 * distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, EITHER
14 * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
15 * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
16 * FITNESS FOR A PARTICULAR PURPOSE OR NON-INFRINGEMENT. Please see the
17 * License for the specific language governing rights and limitations
18 * under the License.
19 *
20 * @APPLE_LICENSE_HEADER_END@
21 */
22 /* THIS FILE HAS BEEN PRODUCED AUTOMATICALLY */
23 int devfs_sinit(void);
24 devdirent_t * dev_findname(devnode_t * dir,char *name);
25 int dev_add_name(char * name, devnode_t * dirnode, devdirent_t * back,
26 devnode_t * dnp, devdirent_t * *dirent_pp);
27 int dev_add_node(int entrytype, devnode_type_t * typeinfo, devnode_t * proto,
28 devnode_t * *dn_pp, struct devfsmount *dvm);
29 int dev_touch(devdirent_t * key) /* update the node for this dev */;
30 void devnode_free(devnode_t * dnp);
31 void devfs_dn_free(devnode_t * dnp);
32 int devfs_propogate(devdirent_t * parent,devdirent_t * child);
33 int dev_dup_plane(struct devfsmount *devfs_mp_p);
34 void devfs_free_plane(struct devfsmount *devfs_mp_p);
35 int dev_dup_entry(devnode_t * parent, devdirent_t * back, devdirent_t * *dnm_pp,
36 struct devfsmount *dvm);
37 int dev_free_name(devdirent_t * dirent_p);
38 void dev_free_hier(devdirent_t * dirent_p);
39 int devfs_dntovn(devnode_t * dnp, struct vnode **vn_pp, struct proc * p);
40 int dev_add_entry(char *name, devnode_t * parent, int type, devnode_type_t * typeinfo,
41 devnode_t * proto, struct devfsmount *dvm, devdirent_t * *nm_pp);
42 int devfs_mount(struct mount *mp, char *path, caddr_t data,
43 struct nameidata *ndp, struct proc *p);
44 /* THIS FILE PRODUCED AUTOMATICALLY */
45 /* DO NOT EDIT (see reproto.sh) */