1 |
1275 |
phoenix |
/*
|
2 |
|
|
* Autogenerated with cproto on: Sat Jan 24 14:28:52 CET 2004
|
3 |
|
|
*/
|
4 |
|
|
|
5 |
|
|
/* proc.c */
|
6 |
|
|
extern int smb_setcodepage(struct smb_sb_info *server, struct smb_nls_codepage *cp);
|
7 |
|
|
extern __u32 smb_len(__u8 *p);
|
8 |
|
|
extern int smb_get_rsize(struct smb_sb_info *server);
|
9 |
|
|
extern int smb_get_wsize(struct smb_sb_info *server);
|
10 |
|
|
extern int smb_errno(struct smb_sb_info *server);
|
11 |
|
|
extern int smb_newconn(struct smb_sb_info *server, struct smb_conn_opt *opt);
|
12 |
|
|
extern int smb_wakeup(struct smb_sb_info *server);
|
13 |
|
|
extern __u8 *smb_setup_header(struct smb_sb_info *server, __u8 command, __u16 wct, __u16 bcc);
|
14 |
|
|
extern int smb_open(struct dentry *dentry, int wish);
|
15 |
|
|
extern int smb_close(struct inode *ino);
|
16 |
|
|
extern int smb_close_fileid(struct dentry *dentry, __u16 fileid);
|
17 |
|
|
extern int smb_proc_create(struct dentry *dentry, __u16 attr, time_t ctime, __u16 *fileid);
|
18 |
|
|
extern int smb_proc_mv(struct dentry *old_dentry, struct dentry *new_dentry);
|
19 |
|
|
extern int smb_proc_mkdir(struct dentry *dentry);
|
20 |
|
|
extern int smb_proc_rmdir(struct dentry *dentry);
|
21 |
|
|
extern int smb_proc_unlink(struct dentry *dentry);
|
22 |
|
|
extern int smb_proc_flush(struct smb_sb_info *server, __u16 fileid);
|
23 |
|
|
extern void smb_init_root_dirent(struct smb_sb_info *server, struct smb_fattr *fattr);
|
24 |
|
|
extern void smb_decode_unix_basic(struct smb_fattr *fattr, char *p);
|
25 |
|
|
extern int smb_proc_getattr(struct dentry *dir, struct smb_fattr *fattr);
|
26 |
|
|
extern int smb_proc_setattr(struct dentry *dir, struct smb_fattr *fattr);
|
27 |
|
|
extern int smb_proc_setattr_unix(struct dentry *dentry, struct iattr *attr, unsigned int major, unsigned int minor);
|
28 |
|
|
extern int smb_proc_settime(struct dentry *dentry, struct smb_fattr *fattr);
|
29 |
|
|
extern int smb_proc_dskattr(struct super_block *sb, struct statfs *attr);
|
30 |
|
|
extern int smb_proc_read_link(struct smb_sb_info *server, struct dentry *dentry, char *buffer, int len);
|
31 |
|
|
extern int smb_proc_symlink(struct smb_sb_info *server, struct dentry *dentry, const char *oldpath);
|
32 |
|
|
extern int smb_proc_link(struct smb_sb_info *server, struct dentry *dentry, struct dentry *new_dentry);
|
33 |
|
|
extern void smb_install_null_ops(struct smb_ops *ops);
|
34 |
|
|
/* dir.c */
|
35 |
|
|
extern struct file_operations smb_dir_operations;
|
36 |
|
|
extern struct inode_operations smb_dir_inode_operations;
|
37 |
|
|
extern struct inode_operations smb_dir_inode_operations_unix;
|
38 |
|
|
extern void smb_new_dentry(struct dentry *dentry);
|
39 |
|
|
extern void smb_renew_times(struct dentry *dentry);
|
40 |
|
|
/* cache.c */
|
41 |
|
|
extern void smb_invalid_dir_cache(struct inode *dir);
|
42 |
|
|
extern void smb_invalidate_dircache_entries(struct dentry *parent);
|
43 |
|
|
extern struct dentry *smb_dget_fpos(struct dentry *dentry, struct dentry *parent, unsigned long fpos);
|
44 |
|
|
extern int smb_fill_cache(struct file *filp, void *dirent, filldir_t filldir, struct smb_cache_control *ctrl, struct qstr *qname, struct smb_fattr *entry);
|
45 |
|
|
/* sock.c */
|
46 |
|
|
extern int smb_valid_socket(struct inode *inode);
|
47 |
|
|
extern int smb_catch_keepalive(struct smb_sb_info *server);
|
48 |
|
|
extern int smb_dont_catch_keepalive(struct smb_sb_info *server);
|
49 |
|
|
extern void smb_close_socket(struct smb_sb_info *server);
|
50 |
|
|
extern int smb_round_length(int len);
|
51 |
|
|
extern int smb_request(struct smb_sb_info *server);
|
52 |
|
|
extern 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);
|
53 |
|
|
/* inode.c */
|
54 |
|
|
extern struct inode *smb_iget(struct super_block *sb, struct smb_fattr *fattr);
|
55 |
|
|
extern void smb_get_inode_attr(struct inode *inode, struct smb_fattr *fattr);
|
56 |
|
|
extern void smb_set_inode_attr(struct inode *inode, struct smb_fattr *fattr);
|
57 |
|
|
extern void smb_invalidate_inodes(struct smb_sb_info *server);
|
58 |
|
|
extern int smb_revalidate_inode(struct dentry *dentry);
|
59 |
|
|
extern struct super_block *smb_read_super(struct super_block *sb, void *raw_data, int silent);
|
60 |
|
|
extern int smb_notify_change(struct dentry *dentry, struct iattr *attr);
|
61 |
|
|
/* file.c */
|
62 |
|
|
extern struct address_space_operations smb_file_aops;
|
63 |
|
|
extern struct file_operations smb_file_operations;
|
64 |
|
|
extern struct inode_operations smb_file_inode_operations;
|
65 |
|
|
/* ioctl.c */
|
66 |
|
|
extern int smb_ioctl(struct inode *inode, struct file *filp, unsigned int cmd, unsigned long arg);
|
67 |
|
|
/* symlink.c */
|
68 |
|
|
extern int smb_read_link(struct dentry *dentry, char *buffer, int len);
|
69 |
|
|
extern int smb_symlink(struct inode *inode, struct dentry *dentry, const char *oldname);
|
70 |
|
|
extern int smb_follow_link(struct dentry *dentry, struct nameidata *nd);
|
71 |
|
|
extern struct inode_operations smb_link_inode_operations;
|