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/libsmb/libsmb_cache.c

    r740 r988  
    1 /* 
     1/*
    22   Unix SMB/CIFS implementation.
    33   SMB client library implementation (server cache)
     
    55   Copyright (C) Richard Sharpe 2000
    66   Copyright (C) John Terpstra 2000
    7    Copyright (C) Tom Jansen (Ninja ISD) 2002 
     7   Copyright (C) Tom Jansen (Ninja ISD) 2002
    88
    99   This program is free software; you can redistribute it and/or modify
     
    2727
    2828/*
    29  * Structure we use if internal caching mechanism is used 
     29 * Structure we use if internal caching mechanism is used
    3030 * nothing fancy here.
    3131 */
     
    4444/*
    4545 * Add a new connection to the server cache.
    46  * This function is only used if the external cache is not enabled 
     46 * This function is only used if the external cache is not enabled
    4747 */
    4848int
     
    5050                       SMBCSRV * newsrv,
    5151                       const char * server,
    52                        const char * share, 
     52                       const char * share,
    5353                       const char * workgroup,
    5454                       const char * username)
     
    106106
    107107/*
    108  * Search the server cache for a server 
     108 * Search the server cache for a server
    109109 * returns server handle on success, NULL on error (not found)
    110  * This function is only used if the external cache is not enabled 
     110 * This function is only used if the external cache is not enabled
    111111 */
    112112SMBCSRV *
    113113SMBC_get_cached_server(SMBCCTX * context,
    114                        const char * server, 
     114                       const char * server,
    115115                       const char * share,
    116116                       const char * workgroup,
     
    192192
    193193
    194 /* 
     194/*
    195195 * Search the server cache for a server and remove it
    196196 * returns 0 on success
    197  * This function is only used if the external cache is not enabled 
     197 * This function is only used if the external cache is not enabled
    198198 */
    199199int
     
    204204
    205205        for (srv = context->internal->server_cache; srv; srv = srv->next) {
    206                 if (server == srv->server) { 
     206                if (server == srv->server) {
    207207
    208208                        /* remove this sucker */
Note: See TracChangeset for help on using the changeset viewer.