-
Notifications
You must be signed in to change notification settings - Fork 22
/
smbclient_legacy_arginfo.h
226 lines (189 loc) · 7.03 KB
/
smbclient_legacy_arginfo.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
/* This is a generated file, edit the .stub.php file instead.
* Stub hash: 6abe27ac2cfb259cc835af1bafe32bb639c422b1 */
ZEND_BEGIN_ARG_INFO_EX(arginfo_smbclient_version, 0, 0, 0)
ZEND_END_ARG_INFO()
#define arginfo_smbclient_library_version arginfo_smbclient_version
#define arginfo_smbclient_state_new arginfo_smbclient_version
ZEND_BEGIN_ARG_INFO_EX(arginfo_smbclient_state_init, 0, 0, 1)
ZEND_ARG_INFO(0, state)
ZEND_ARG_INFO(0, workgroup)
ZEND_ARG_INFO(0, user)
ZEND_ARG_INFO(0, password)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(arginfo_smbclient_state_errno, 0, 0, 1)
ZEND_ARG_INFO(0, state)
ZEND_END_ARG_INFO()
#define arginfo_smbclient_state_free arginfo_smbclient_state_errno
ZEND_BEGIN_ARG_INFO_EX(arginfo_smbclient_option_get, 0, 0, 2)
ZEND_ARG_INFO(0, state)
ZEND_ARG_INFO(0, option)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(arginfo_smbclient_option_set, 0, 0, 3)
ZEND_ARG_INFO(0, state)
ZEND_ARG_INFO(0, option)
ZEND_ARG_INFO(0, value)
ZEND_END_ARG_INFO()
#if HAVE_SMBC_SETOPTIONPROTOCOLS
ZEND_BEGIN_ARG_INFO_EX(arginfo_smbclient_client_protocols, 0, 0, 1)
ZEND_ARG_INFO(0, state)
ZEND_ARG_INFO(0, minproto)
ZEND_ARG_INFO(0, maxproto)
ZEND_END_ARG_INFO()
#endif
ZEND_BEGIN_ARG_INFO_EX(arginfo_smbclient_opendir, 0, 0, 2)
ZEND_ARG_INFO(0, state)
ZEND_ARG_INFO(0, path)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(arginfo_smbclient_readdir, 0, 0, 2)
ZEND_ARG_INFO(0, state)
ZEND_ARG_INFO(0, dir)
ZEND_END_ARG_INFO()
#define arginfo_smbclient_closedir arginfo_smbclient_readdir
#define arginfo_smbclient_stat arginfo_smbclient_opendir
ZEND_BEGIN_ARG_INFO_EX(arginfo_smbclient_fstat, 0, 0, 2)
ZEND_ARG_INFO(0, state)
ZEND_ARG_INFO(0, file)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(arginfo_smbclient_open, 0, 0, 3)
ZEND_ARG_INFO(0, state)
ZEND_ARG_INFO(0, path)
ZEND_ARG_INFO(0, flags)
ZEND_ARG_INFO(0, mode)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(arginfo_smbclient_creat, 0, 0, 2)
ZEND_ARG_INFO(0, state)
ZEND_ARG_INFO(0, path)
ZEND_ARG_INFO(0, mode)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(arginfo_smbclient_read, 0, 0, 3)
ZEND_ARG_INFO(0, state)
ZEND_ARG_INFO(0, file)
ZEND_ARG_INFO(0, count)
ZEND_END_ARG_INFO()
#define arginfo_smbclient_close arginfo_smbclient_fstat
#define arginfo_smbclient_mkdir arginfo_smbclient_creat
#define arginfo_smbclient_rmdir arginfo_smbclient_opendir
ZEND_BEGIN_ARG_INFO_EX(arginfo_smbclient_rename, 0, 0, 4)
ZEND_ARG_INFO(0, oldstate)
ZEND_ARG_INFO(0, oldpath)
ZEND_ARG_INFO(0, newstate)
ZEND_ARG_INFO(0, newpath)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(arginfo_smbclient_write, 0, 0, 3)
ZEND_ARG_INFO(0, state)
ZEND_ARG_INFO(0, file)
ZEND_ARG_INFO(0, buffer)
ZEND_ARG_INFO(0, count)
ZEND_END_ARG_INFO()
#define arginfo_smbclient_unlink arginfo_smbclient_opendir
ZEND_BEGIN_ARG_INFO_EX(arginfo_smbclient_lseek, 0, 0, 4)
ZEND_ARG_INFO(0, state)
ZEND_ARG_INFO(0, file)
ZEND_ARG_INFO(0, offset)
ZEND_ARG_INFO(0, whence)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(arginfo_smbclient_ftruncate, 0, 0, 3)
ZEND_ARG_INFO(0, state)
ZEND_ARG_INFO(0, file)
ZEND_ARG_INFO(0, offset)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(arginfo_smbclient_chmod, 0, 0, 3)
ZEND_ARG_INFO(0, state)
ZEND_ARG_INFO(0, path)
ZEND_ARG_INFO(0, mode)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(arginfo_smbclient_utimes, 0, 0, 2)
ZEND_ARG_INFO(0, state)
ZEND_ARG_INFO(0, path)
ZEND_ARG_INFO(0, mtime)
ZEND_ARG_INFO(0, atime)
ZEND_END_ARG_INFO()
#define arginfo_smbclient_listxattr arginfo_smbclient_opendir
ZEND_BEGIN_ARG_INFO_EX(arginfo_smbclient_getxattr, 0, 0, 3)
ZEND_ARG_INFO(0, state)
ZEND_ARG_INFO(0, path)
ZEND_ARG_INFO(0, name)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(arginfo_smbclient_setxattr, 0, 0, 4)
ZEND_ARG_INFO(0, state)
ZEND_ARG_INFO(0, path)
ZEND_ARG_INFO(0, name)
ZEND_ARG_INFO(0, value)
ZEND_ARG_INFO(0, flags)
ZEND_END_ARG_INFO()
#define arginfo_smbclient_removexattr arginfo_smbclient_getxattr
#define arginfo_smbclient_statvfs arginfo_smbclient_opendir
#define arginfo_smbclient_fstatvfs arginfo_smbclient_fstat
ZEND_FUNCTION(smbclient_version);
ZEND_FUNCTION(smbclient_library_version);
ZEND_FUNCTION(smbclient_state_new);
ZEND_FUNCTION(smbclient_state_init);
ZEND_FUNCTION(smbclient_state_errno);
ZEND_FUNCTION(smbclient_state_free);
ZEND_FUNCTION(smbclient_option_get);
ZEND_FUNCTION(smbclient_option_set);
#if HAVE_SMBC_SETOPTIONPROTOCOLS
ZEND_FUNCTION(smbclient_client_protocols);
#endif
ZEND_FUNCTION(smbclient_opendir);
ZEND_FUNCTION(smbclient_readdir);
ZEND_FUNCTION(smbclient_closedir);
ZEND_FUNCTION(smbclient_stat);
ZEND_FUNCTION(smbclient_fstat);
ZEND_FUNCTION(smbclient_open);
ZEND_FUNCTION(smbclient_creat);
ZEND_FUNCTION(smbclient_read);
ZEND_FUNCTION(smbclient_close);
ZEND_FUNCTION(smbclient_mkdir);
ZEND_FUNCTION(smbclient_rmdir);
ZEND_FUNCTION(smbclient_rename);
ZEND_FUNCTION(smbclient_write);
ZEND_FUNCTION(smbclient_unlink);
ZEND_FUNCTION(smbclient_lseek);
ZEND_FUNCTION(smbclient_ftruncate);
ZEND_FUNCTION(smbclient_chmod);
ZEND_FUNCTION(smbclient_utimes);
ZEND_FUNCTION(smbclient_listxattr);
ZEND_FUNCTION(smbclient_getxattr);
ZEND_FUNCTION(smbclient_setxattr);
ZEND_FUNCTION(smbclient_removexattr);
ZEND_FUNCTION(smbclient_statvfs);
ZEND_FUNCTION(smbclient_fstatvfs);
static const zend_function_entry ext_functions[] = {
ZEND_FE(smbclient_version, arginfo_smbclient_version)
ZEND_FE(smbclient_library_version, arginfo_smbclient_library_version)
ZEND_FE(smbclient_state_new, arginfo_smbclient_state_new)
ZEND_FE(smbclient_state_init, arginfo_smbclient_state_init)
ZEND_FE(smbclient_state_errno, arginfo_smbclient_state_errno)
ZEND_FE(smbclient_state_free, arginfo_smbclient_state_free)
ZEND_FE(smbclient_option_get, arginfo_smbclient_option_get)
ZEND_FE(smbclient_option_set, arginfo_smbclient_option_set)
#if HAVE_SMBC_SETOPTIONPROTOCOLS
ZEND_FE(smbclient_client_protocols, arginfo_smbclient_client_protocols)
#endif
ZEND_FE(smbclient_opendir, arginfo_smbclient_opendir)
ZEND_FE(smbclient_readdir, arginfo_smbclient_readdir)
ZEND_FE(smbclient_closedir, arginfo_smbclient_closedir)
ZEND_FE(smbclient_stat, arginfo_smbclient_stat)
ZEND_FE(smbclient_fstat, arginfo_smbclient_fstat)
ZEND_FE(smbclient_open, arginfo_smbclient_open)
ZEND_FE(smbclient_creat, arginfo_smbclient_creat)
ZEND_FE(smbclient_read, arginfo_smbclient_read)
ZEND_FE(smbclient_close, arginfo_smbclient_close)
ZEND_FE(smbclient_mkdir, arginfo_smbclient_mkdir)
ZEND_FE(smbclient_rmdir, arginfo_smbclient_rmdir)
ZEND_FE(smbclient_rename, arginfo_smbclient_rename)
ZEND_FE(smbclient_write, arginfo_smbclient_write)
ZEND_FE(smbclient_unlink, arginfo_smbclient_unlink)
ZEND_FE(smbclient_lseek, arginfo_smbclient_lseek)
ZEND_FE(smbclient_ftruncate, arginfo_smbclient_ftruncate)
ZEND_FE(smbclient_chmod, arginfo_smbclient_chmod)
ZEND_FE(smbclient_utimes, arginfo_smbclient_utimes)
ZEND_FE(smbclient_listxattr, arginfo_smbclient_listxattr)
ZEND_FE(smbclient_getxattr, arginfo_smbclient_getxattr)
ZEND_FE(smbclient_setxattr, arginfo_smbclient_setxattr)
ZEND_FE(smbclient_removexattr, arginfo_smbclient_removexattr)
ZEND_FE(smbclient_statvfs, arginfo_smbclient_statvfs)
ZEND_FE(smbclient_fstatvfs, arginfo_smbclient_fstatvfs)
ZEND_FE_END
};