pseudofs.h (168387) | pseudofs.h (168637) |
---|---|
1/*- 2 * Copyright (c) 2001 Dag-Erling Co�dan Sm�rgrav 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 --- 11 unchanged lines hidden (view full) --- 20 * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, 21 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 22 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 23 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 24 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 25 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 26 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 27 * | 1/*- 2 * Copyright (c) 2001 Dag-Erling Co�dan Sm�rgrav 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 --- 11 unchanged lines hidden (view full) --- 20 * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, 21 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 22 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 23 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 24 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 25 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 26 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 27 * |
28 * $FreeBSD: head/sys/fs/pseudofs/pseudofs.h 168387 2007-04-05 13:43:00Z des $ | 28 * $FreeBSD: head/sys/fs/pseudofs/pseudofs.h 168637 2007-04-11 22:40:57Z des $ |
29 */ 30 31#ifndef _PSEUDOFS_H_INCLUDED 32#define _PSEUDOFS_H_INCLUDED 33 34/* 35 * Opaque structures 36 */ --- 194 unchanged lines hidden (view full) --- 231 pfs_fill_t fill, pfs_attr_t attr, 232 pfs_vis_t vis, pfs_destroy_t destroy, 233 int flags); 234struct pfs_node *pfs_create_link(struct pfs_node *parent, const char *name, 235 pfs_fill_t fill, pfs_attr_t attr, 236 pfs_vis_t vis, pfs_destroy_t destroy, 237 int flags); 238struct pfs_node *pfs_find_node (struct pfs_node *parent, const char *name); | 29 */ 30 31#ifndef _PSEUDOFS_H_INCLUDED 32#define _PSEUDOFS_H_INCLUDED 33 34/* 35 * Opaque structures 36 */ --- 194 unchanged lines hidden (view full) --- 231 pfs_fill_t fill, pfs_attr_t attr, 232 pfs_vis_t vis, pfs_destroy_t destroy, 233 int flags); 234struct pfs_node *pfs_create_link(struct pfs_node *parent, const char *name, 235 pfs_fill_t fill, pfs_attr_t attr, 236 pfs_vis_t vis, pfs_destroy_t destroy, 237 int flags); 238struct pfs_node *pfs_find_node (struct pfs_node *parent, const char *name); |
239void pfs_purge (struct pfs_node *pn); |
|
239int pfs_disable (struct pfs_node *pn); 240int pfs_enable (struct pfs_node *pn); 241int pfs_destroy (struct pfs_node *pn); 242 243/* 244 * Now for some initialization magic... 245 */ 246#define PSEUDOFS(name, version) \ --- 36 unchanged lines hidden --- | 240int pfs_disable (struct pfs_node *pn); 241int pfs_enable (struct pfs_node *pn); 242int pfs_destroy (struct pfs_node *pn); 243 244/* 245 * Now for some initialization magic... 246 */ 247#define PSEUDOFS(name, version) \ --- 36 unchanged lines hidden --- |