Changeset View
Changeset View
Standalone View
Standalone View
smb/kio_smb.h
Show First 20 Lines • Show All 150 Lines • ▼ Show 20 Line(s) | 128 | protected: | |||
---|---|---|---|---|---|
151 | // Browsing functions (kio_smb_browse.cpp) | 151 | // Browsing functions (kio_smb_browse.cpp) | ||
152 | //----------------------------------------- | 152 | //----------------------------------------- | ||
153 | // (please prefix functions with browse) | 153 | // (please prefix functions with browse) | ||
154 | 154 | | |||
155 | /** | 155 | /** | ||
156 | * Description : Return a stat of given SMBUrl. Calls cache_stat and | 156 | * Description : Return a stat of given SMBUrl. Calls cache_stat and | ||
157 | * pack it in UDSEntry. UDSEntry will not be cleared | 157 | * pack it in UDSEntry. UDSEntry will not be cleared | ||
158 | * Parameter : SMBUrl the url to stat | 158 | * Parameter : SMBUrl the url to stat | ||
159 | * ignore_errors do not call error(), but warning() | 159 | * Return : cache_stat() return code | ||
160 | * Return : false if any error occurred (errno), else true | | |||
161 | */ | 160 | */ | ||
162 | bool browse_stat_path(const SMBUrl& url, UDSEntry& udsentry, bool ignore_errors); | 161 | int browse_stat_path(const SMBUrl& url, UDSEntry& udsentry); | ||
163 | 162 | | |||
164 | /** | 163 | /** | ||
165 | * Description : call smbc_stat and return stats of the url | 164 | * Description : call smbc_stat and return stats of the url | ||
166 | * Parameter : SMBUrl the url to stat | 165 | * Parameter : SMBUrl the url to stat | ||
167 | * Return : stat* of the url | 166 | * Return : stat* of the url | ||
168 | * Note : it has some problems with stat in method, looks like | 167 | * Note : it has some problems with stat in method, looks like | ||
169 | * something leave(or removed) on the stack. If your | 168 | * something leave(or removed) on the stack. If your | ||
170 | * method segfault on returning try to change the stat* | 169 | * method segfault on returning try to change the stat* | ||
▲ Show 20 Lines • Show All 140 Lines • Show Last 20 Lines |