]> git.saurik.com Git - apple/xnu.git/blame - bsd/miscfs/devfs/devfs_proto.h
xnu-123.5.tar.gz
[apple/xnu.git] / bsd / miscfs / devfs / devfs_proto.h
CommitLineData
1c79356b
A
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 */
23int devfs_sinit(void);
24devdirent_t * dev_findname(devnode_t * dir,char *name);
25int dev_add_name(char * name, devnode_t * dirnode, devdirent_t * back,
26 devnode_t * dnp, devdirent_t * *dirent_pp);
27int dev_add_node(int entrytype, devnode_type_t * typeinfo, devnode_t * proto,
28 devnode_t * *dn_pp, struct devfsmount *dvm);
29int dev_touch(devdirent_t * key) /* update the node for this dev */;
30void devnode_free(devnode_t * dnp);
31void devfs_dn_free(devnode_t * dnp);
32int devfs_propogate(devdirent_t * parent,devdirent_t * child);
33int dev_dup_plane(struct devfsmount *devfs_mp_p);
34void devfs_free_plane(struct devfsmount *devfs_mp_p);
35int dev_dup_entry(devnode_t * parent, devdirent_t * back, devdirent_t * *dnm_pp,
36 struct devfsmount *dvm);
37int dev_free_name(devdirent_t * dirent_p);
38void dev_free_hier(devdirent_t * dirent_p);
39int devfs_dntovn(devnode_t * dnp, struct vnode **vn_pp, struct proc * p);
40int 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);
42int 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) */