~ubuntu-branches/ubuntu/precise/linux-ti-omap4/precise

« back to all changes in this revision

Viewing changes to drivers/staging/smbfs/proto.h

  • Committer: Bazaar Package Importer
  • Author(s): Paolo Pisati
  • Date: 2011-06-29 15:23:51 UTC
  • mfrom: (26.1.1 natty-proposed)
  • Revision ID: james.westby@ubuntu.com-20110629152351-xs96tm303d95rpbk
Tags: 3.0.0-1200.2
* Rebased against 3.0.0-6.7
* BSP from TI based on 3.0.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/*
2
 
 *  Autogenerated with cproto on:  Sat Sep 13 17:18:51 CEST 2003
3
 
 */
4
 
 
5
 
struct smb_request;
6
 
struct sock;
7
 
struct statfs;
8
 
 
9
 
/* proc.c */
10
 
extern int smb_setcodepage(struct smb_sb_info *server, struct smb_nls_codepage *cp);
11
 
extern __u32 smb_len(__u8 *p);
12
 
extern int smb_get_rsize(struct smb_sb_info *server);
13
 
extern int smb_get_wsize(struct smb_sb_info *server);
14
 
extern int smb_errno(struct smb_request *req);
15
 
extern int smb_newconn(struct smb_sb_info *server, struct smb_conn_opt *opt);
16
 
extern __u8 *smb_setup_header(struct smb_request *req, __u8 command, __u16 wct, __u16 bcc);
17
 
extern int smb_open(struct dentry *dentry, int wish);
18
 
extern int smb_close(struct inode *ino);
19
 
extern int smb_close_fileid(struct dentry *dentry, __u16 fileid);
20
 
extern int smb_proc_create(struct dentry *dentry, __u16 attr, time_t ctime, __u16 *fileid);
21
 
extern int smb_proc_mv(struct dentry *old_dentry, struct dentry *new_dentry);
22
 
extern int smb_proc_mkdir(struct dentry *dentry);
23
 
extern int smb_proc_rmdir(struct dentry *dentry);
24
 
extern int smb_proc_unlink(struct dentry *dentry);
25
 
extern int smb_proc_flush(struct smb_sb_info *server, __u16 fileid);
26
 
extern void smb_init_root_dirent(struct smb_sb_info *server, struct smb_fattr *fattr,
27
 
                                 struct super_block *sb);
28
 
extern int smb_proc_getattr(struct dentry *dir, struct smb_fattr *fattr);
29
 
extern int smb_proc_setattr(struct dentry *dir, struct smb_fattr *fattr);
30
 
extern int smb_proc_setattr_unix(struct dentry *d, struct iattr *attr, unsigned int major, unsigned int minor);
31
 
extern int smb_proc_settime(struct dentry *dentry, struct smb_fattr *fattr);
32
 
extern int smb_proc_dskattr(struct dentry *dentry, struct kstatfs *attr);
33
 
extern int smb_proc_read_link(struct smb_sb_info *server, struct dentry *d, char *buffer, int len);
34
 
extern int smb_proc_symlink(struct smb_sb_info *server, struct dentry *d, const char *oldpath);
35
 
extern int smb_proc_link(struct smb_sb_info *server, struct dentry *dentry, struct dentry *new_dentry);
36
 
extern void smb_install_null_ops(struct smb_ops *ops);
37
 
/* dir.c */
38
 
extern const struct file_operations smb_dir_operations;
39
 
extern const struct inode_operations smb_dir_inode_operations;
40
 
extern const struct inode_operations smb_dir_inode_operations_unix;
41
 
extern const struct dentry_operations smbfs_dentry_operations_case;
42
 
extern const struct dentry_operations smbfs_dentry_operations;
43
 
extern void smb_new_dentry(struct dentry *dentry);
44
 
extern void smb_renew_times(struct dentry *dentry);
45
 
/* cache.c */
46
 
extern void smb_invalid_dir_cache(struct inode *dir);
47
 
extern void smb_invalidate_dircache_entries(struct dentry *parent);
48
 
extern struct dentry *smb_dget_fpos(struct dentry *dentry, struct dentry *parent, unsigned long fpos);
49
 
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);
50
 
/* sock.c */
51
 
extern void smb_data_ready(struct sock *sk, int len);
52
 
extern int smb_valid_socket(struct inode *inode);
53
 
extern void smb_close_socket(struct smb_sb_info *server);
54
 
extern int smb_recv_available(struct smb_sb_info *server);
55
 
extern int smb_receive_header(struct smb_sb_info *server);
56
 
extern int smb_receive_drop(struct smb_sb_info *server);
57
 
extern int smb_receive(struct smb_sb_info *server, struct smb_request *req);
58
 
extern int smb_send_request(struct smb_request *req);
59
 
/* inode.c */
60
 
extern struct inode *smb_iget(struct super_block *sb, struct smb_fattr *fattr);
61
 
extern void smb_get_inode_attr(struct inode *inode, struct smb_fattr *fattr);
62
 
extern void smb_set_inode_attr(struct inode *inode, struct smb_fattr *fattr);
63
 
extern void smb_invalidate_inodes(struct smb_sb_info *server);
64
 
extern int smb_revalidate_inode(struct dentry *dentry);
65
 
extern int smb_getattr(struct vfsmount *mnt, struct dentry *dentry, struct kstat *stat);
66
 
extern int smb_notify_change(struct dentry *dentry, struct iattr *attr);
67
 
/* file.c */
68
 
extern const struct address_space_operations smb_file_aops;
69
 
extern const struct file_operations smb_file_operations;
70
 
extern const struct inode_operations smb_file_inode_operations;
71
 
/* ioctl.c */
72
 
extern long smb_ioctl(struct file *filp, unsigned int cmd, unsigned long arg);
73
 
/* smbiod.c */
74
 
extern void smbiod_wake_up(void);
75
 
extern int smbiod_register_server(struct smb_sb_info *server);
76
 
extern void smbiod_unregister_server(struct smb_sb_info *server);
77
 
extern void smbiod_flush(struct smb_sb_info *server);
78
 
extern int smbiod_retry(struct smb_sb_info *server);
79
 
/* request.c */
80
 
extern int smb_init_request_cache(void);
81
 
extern void smb_destroy_request_cache(void);
82
 
extern struct smb_request *smb_alloc_request(struct smb_sb_info *server, int bufsize);
83
 
extern void smb_rput(struct smb_request *req);
84
 
extern int smb_add_request(struct smb_request *req);
85
 
extern int smb_request_send_server(struct smb_sb_info *server);
86
 
extern int smb_request_recv(struct smb_sb_info *server);
87
 
/* symlink.c */
88
 
extern int smb_symlink(struct inode *inode, struct dentry *dentry, const char *oldname);
89
 
extern const struct inode_operations smb_link_inode_operations;