Ignore:
Timestamp:
May 27, 2009, 9:09:42 AM (16 years ago)
Author:
Herwig Bauernfeind
Message:

Update 3.2 branch to 3.2.8

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/samba-3.2.x/source/include/libsmb_internal.h

    r133 r232  
    114114        bool                                    initialized;
    115115
    116         /* dirent pointer location
    117          *
     116        /* dirent pointer location */
     117        struct smbc_dirent                      dirent;
     118        /*
    118119         * Leave room for any urlencoded filename and the comment field.
    119120         *
    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).
    123124         *
    124125         * According to <linux/limits.h>, NAME_MAX is 255.  Is it longer
    125126         * anyplace else?
    126127         */
    127         char                                    dirent[1024];
     128        char                                    _dirent_name[1024];
    128129
    129130        /*
     
    175176         */
    176177        smbc_smb_encrypt_level                  smb_encryption_level;
     178
     179        /*
     180         * Should we request case sensitivity of file names?
     181         */
     182        bool                                    case_sensitive;
    177183
    178184        struct smbc_server_cache * server_cache;
     
    397403/* Functions in libsmb_path.c */
    398404int
    399 SMBC_urldecode(char *dest,
    400                char *src,
    401                size_t max_dest_len);
    402 
    403 int
    404 SMBC_urlencode(char *dest,
    405                char *src,
    406                int max_dest_len);
    407 
    408 int
    409405SMBC_parse_path(TALLOC_CTX *ctx,
    410406                SMBCCTX *context,
Note: See TracChangeset for help on using the changeset viewer.