Changeset 232 for branches/samba-3.2.x/source/include/libsmb_internal.h
- Timestamp:
- May 27, 2009, 9:09:42 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/samba-3.2.x/source/include/libsmb_internal.h
r133 r232 114 114 bool initialized; 115 115 116 /* dirent pointer location 117 * 116 /* dirent pointer location */ 117 struct smbc_dirent dirent; 118 /* 118 119 * Leave room for any urlencoded filename and the comment field. 119 120 * 120 * We really should use sizeof(struct smbc_dirent) plus (NAME_MAX * 3) 121 * plus whatever the max length of a comment is, plus a couple of null 122 * terminators (one after the filename,one after the comment).121 * We use (NAME_MAX * 3) plus whatever the max length of a comment is, 122 * plus a couple of null terminators (one after the filename, 123 * one after the comment). 123 124 * 124 125 * According to <linux/limits.h>, NAME_MAX is 255. Is it longer 125 126 * anyplace else? 126 127 */ 127 char dirent[1024];128 char _dirent_name[1024]; 128 129 129 130 /* … … 175 176 */ 176 177 smbc_smb_encrypt_level smb_encryption_level; 178 179 /* 180 * Should we request case sensitivity of file names? 181 */ 182 bool case_sensitive; 177 183 178 184 struct smbc_server_cache * server_cache; … … 397 403 /* Functions in libsmb_path.c */ 398 404 int 399 SMBC_urldecode(char *dest,400 char *src,401 size_t max_dest_len);402 403 int404 SMBC_urlencode(char *dest,405 char *src,406 int max_dest_len);407 408 int409 405 SMBC_parse_path(TALLOC_CTX *ctx, 410 406 SMBCCTX *context,
Note:
See TracChangeset
for help on using the changeset viewer.