Ignore:
Timestamp:
Nov 27, 2012, 4:43:17 PM (13 years ago)
Author:
Silvan Scherrer
Message:

Samba Server: updated trunk to 3.6.0

Location:
trunk/server
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/server

  • trunk/server/source4/libcli/smb2/util.c

    r414 r745  
    2626#include "libcli/smb2/smb2_calls.h"
    2727#include "libcli/smb_composite/smb_composite.h"
     28#include "librpc/gen_ndr/ndr_security.h"
    2829
    2930/*
     
    109110        NTSTATUS status;
    110111        uint32_t total_deleted = 0;
    111         uint_t count, i;
     112        unsigned int count, i;
    112113        union smb_search_data *list;
    113114        TALLOC_CTX *tmp_ctx = talloc_new(tree);
     
    221222        return total_deleted;
    222223}
     224
     225/*
     226  check if two SMB2 file handles are the same
     227*/
     228bool smb2_util_handle_equal(const struct smb2_handle h1,
     229                            const struct smb2_handle h2)
     230{
     231        return (h1.data[0] == h2.data[0]) && (h1.data[1] == h2.data[1]);
     232}
Note: See TracChangeset for help on using the changeset viewer.