[Envfs-commits] CVS: envfs/include/linux envfs_fs.h,NONE,1.1
Status: Pre-Alpha
Brought to you by:
lethal
|
From: Paul M. <le...@us...> - 2001-09-19 03:01:47
|
Update of /cvsroot/envfs/envfs/include/linux In directory usw-pr-cvs1:/tmp/cvs-serv4903/include/linux Added Files: envfs_fs.h Log Message: Initial import of envfs sources, against 2.4.7. --- NEW FILE: envfs_fs.h --- /* * include/linux/envfs_fs.h * * Primary envfs header. * * Copyright (C) 2001 Paul Mundt <le...@ch...> * * Released under the terms of the GNU GPL v2.0. * */ #ifndef __ENVFS_FS_H #define __ENVFS_FS_H #include <linux/slab.h> #include <linux/fs.h> #include <linux/config.h> #include <linux/kernel.h> #define ENVFS_SUPER_MAGIC 0x9cfe #define ENVFS_MAX_ENVLEN (4 << 10) #ifdef CONFIG_ENVFS_FS_DEBUG #define envfs_debug(x...) printk(KERN_DEBUG "envfs: " \ __FUNCTION__ "(): " ##x) #else #define envfs_debug(x...) #endif /* fs/envfs/inode.c */ extern struct address_space_operations envfs_aops; extern void envfs_read_inode(struct inode *inode); extern struct inode *envfs_get_inode(struct super_block *sb, int mode, int dev); /* fs/envfs/file.c */ extern struct file_operations envfs_fops; extern char *envfs_getenv_vars(struct file *filp, void *dirent, filldir_t filldir); extern char *envfs_getenv(const char *key); /* fs/envfs/super.c */ extern struct dentry *envfs_find_sb_dentry(void); /* fs/envfs/dir.c */ extern struct file_operations envfs_dops; extern struct inode_operations envfs_diops; extern int envfs_create_by_name(const char *name, mode_t mode, struct dentry *parent, struct dentry **dentry); #endif /* __ENVFS_FS_H */ |