Ignore:
Timestamp:
Nov 24, 2016, 1:14:11 PM (9 years ago)
Author:
Silvan Scherrer
Message:

Samba Server: update vendor to version 4.4.3

File:
1 edited

Legend:

Unmodified
Added
Removed
  • vendor/current/source3/include/locking.h

    r740 r988  
    1 /* 
     1/*
    22   Unix SMB/CIFS implementation.
    33   SMB parameters and setup, plus a whole lot more.
    4    
     4
    55   Copyright (C) Jeremy Allison   2006
    6    
     6
    77   This program is free software; you can redistribute it and/or modify
    88   it under the terms of the GNU General Public License as published by
    99   the Free Software Foundation; either version 3 of the License, or
    1010   (at your option) any later version.
    11    
     11
    1212   This program is distributed in the hope that it will be useful,
    1313   but WITHOUT ANY WARRANTY; without even the implied warranty of
    1414   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    1515   GNU General Public License for more details.
    16    
     16
    1717   You should have received a copy of the GNU General Public License
    1818   along with this program.  If not, see <http://www.gnu.org/licenses/>.
     
    4040struct lock_context {
    4141        uint64_t smblctx;
    42         uint16 tid;
     42        uint32_t tid;
    4343        struct server_id pid;
    4444};
     
    4646struct files_struct;
    4747
    48 #include "../librpc/gen_ndr/file_id.h"
     48#include "lib/file_id.h"
    4949
    50 struct byte_range_lock {
    51         struct files_struct *fsp;
    52         unsigned int num_locks;
    53         bool modified;
    54         bool read_only;
    55         struct file_id key;
    56         struct lock_struct *lock_data;
    57         struct db_record *record;
    58 };
     50struct byte_range_lock;
    5951
    60 /* Internal structure in brlock.tdb. 
     52/* Internal structure in brlock.tdb.
    6153   The data in brlock records is an unsorted linear array of these
    6254   records.  It is unnecessary to store the count as tdb provides the
     
    6759        br_off start;
    6860        br_off size;
    69         uint16 fnum;
     61        uint64_t fnum;
    7062        enum brl_type lock_type;
    7163        enum brl_flavour lock_flav;
     
    9991};
    10092
     93struct share_mode_lock {
     94        struct share_mode_data *data;
     95};
     96
    10197#endif /* _LOCKING_H_ */
Note: See TracChangeset for help on using the changeset viewer.