~ubuntu-branches/ubuntu/lucid/samba/lucid-proposed

« back to all changes in this revision

Viewing changes to source/include/libsmb_internal.h

  • Committer: Bazaar Package Importer
  • Author(s): Adam Conrad
  • Date: 2005-07-21 17:53:23 UTC
  • mfrom: (0.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20050721175323-m3oh6aoigywohfnq
Tags: 3.0.14a-6ubuntu1
Resynchronise with Debian, resolving merge conflicts (#12360)

Show diffs side-by-side

added added

removed removed

Lines of Context:
13
13
        struct cli_state cli;
14
14
        dev_t dev;
15
15
        BOOL no_pathinfo2;
 
16
        BOOL no_nt_session;
16
17
        int server_fd;
17
18
 
18
19
        SMBCSRV *next, *prev;
50
51
         */
51
52
        int     _initialized;
52
53
 
53
 
        /** INTERNAL: dirent pointer location 
54
 
         */
55
 
        char    _dirent[512];  
 
54
        /** INTERNAL: dirent pointer location
 
55
         *
 
56
         * Leave room for any urlencoded filename and the comment field.
 
57
         *
 
58
         * We really should use sizeof(struct smbc_dirent) plus (NAME_MAX * 3)
 
59
         * plus whatever the max length of a comment is, plus a couple of null
 
60
         * terminators (one after the filename, one after the comment).
 
61
         *
 
62
         * According to <linux/limits.h>, NAME_MAX is 255.  Is it longer
 
63
         * anyplace else?
 
64
         */
 
65
        char    _dirent[1024];
56
66
 
57
67
        /** INTERNAL: server connection list
58
68
         */