1/*
2 *  Autogenerated with cproto on:  Tue Oct 2 20:40:54 CEST 2001
3 */
4
5/* proc.c */
6extern int smb_setcodepage(struct smb_sb_info *server, struct smb_nls_codepage *cp);
7extern __u32 smb_len(__u8 *p);
8extern int smb_get_rsize(struct smb_sb_info *server);
9extern int smb_get_wsize(struct smb_sb_info *server);
10extern int smb_errno(struct smb_sb_info *server);
11extern int smb_newconn(struct smb_sb_info *server, struct smb_conn_opt *opt);
12extern int smb_wakeup(struct smb_sb_info *server);
13extern __u8 *smb_setup_header(struct smb_sb_info *server, __u8 command, __u16 wct, __u16 bcc);
14extern int smb_open(struct dentry *dentry, int wish);
15extern int smb_close(struct inode *ino);
16extern int smb_close_fileid(struct dentry *dentry, __u16 fileid);
17extern int smb_proc_read(struct inode *inode, off_t offset, int count, char *data);
18extern int smb_proc_write(struct inode *inode, off_t offset, int count, const char *data);
19extern int smb_proc_create(struct dentry *dentry, __u16 attr, time_t ctime, __u16 *fileid);
20extern int smb_proc_mv(struct dentry *old_dentry, struct dentry *new_dentry);
21extern int smb_proc_mkdir(struct dentry *dentry);
22extern int smb_proc_rmdir(struct dentry *dentry);
23extern int smb_proc_unlink(struct dentry *dentry);
24extern int smb_proc_flush(struct smb_sb_info *server, __u16 fileid);
25extern int smb_proc_trunc(struct smb_sb_info *server, __u16 fid, __u32 length);
26extern void smb_init_root_dirent(struct smb_sb_info *server, struct smb_fattr *fattr);
27extern int smb_proc_readdir(struct file *filp, void *dirent, filldir_t filldir, struct smb_cache_control *ctl);
28extern int smb_proc_getattr(struct dentry *dir, struct smb_fattr *fattr);
29extern int smb_proc_setattr(struct dentry *dir, struct smb_fattr *fattr);
30extern int smb_proc_settime(struct dentry *dentry, struct smb_fattr *fattr);
31extern int smb_proc_dskattr(struct super_block *sb, struct statfs *attr);
32/* dir.c */
33extern struct file_operations smb_dir_operations;
34extern struct inode_operations smb_dir_inode_operations;
35extern void smb_new_dentry(struct dentry *dentry);
36extern void smb_renew_times(struct dentry *dentry);
37/* cache.c */
38extern void smb_invalid_dir_cache(struct inode *dir);
39extern void smb_invalidate_dircache_entries(struct dentry *parent);
40extern struct dentry *smb_dget_fpos(struct dentry *dentry, struct dentry *parent, unsigned long fpos);
41extern int smb_fill_cache(struct file *filp, void *dirent, filldir_t filldir, struct smb_cache_control *ctrl, struct qstr *qname, struct smb_fattr *entry);
42/* sock.c */
43extern int smb_valid_socket(struct inode *inode);
44extern int smb_catch_keepalive(struct smb_sb_info *server);
45extern int smb_dont_catch_keepalive(struct smb_sb_info *server);
46extern void smb_close_socket(struct smb_sb_info *server);
47extern int smb_round_length(int len);
48extern int smb_request(struct smb_sb_info *server);
49extern int smb_trans2_request(struct smb_sb_info *server, __u16 trans2_command, int ldata, unsigned char *data, int lparam, unsigned char *param, int *lrdata, unsigned char **rdata, int *lrparam, unsigned char **rparam);
50/* inode.c */
51extern struct inode *smb_iget(struct super_block *sb, struct smb_fattr *fattr);
52extern void smb_get_inode_attr(struct inode *inode, struct smb_fattr *fattr);
53extern void smb_set_inode_attr(struct inode *inode, struct smb_fattr *fattr);
54extern void smb_invalidate_inodes(struct smb_sb_info *server);
55extern int smb_revalidate_inode(struct dentry *dentry);
56extern struct super_block *smb_read_super(struct super_block *sb, void *raw_data, int silent);
57extern int smb_notify_change(struct dentry *dentry, struct iattr *attr);
58/* file.c */
59extern struct address_space_operations smb_file_aops;
60extern struct file_operations smb_file_operations;
61extern struct inode_operations smb_file_inode_operations;
62/* ioctl.c */
63extern int smb_ioctl(struct inode *inode, struct file *filp, unsigned int cmd, unsigned long arg);
64