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/source4/cluster/cluster.c

    r740 r988  
    2424#include "cluster/cluster_private.h"
    2525#include "librpc/gen_ndr/misc.h"
    26 #include "librpc/gen_ndr/server_id4.h"
     26#include "librpc/gen_ndr/server_id.h"
    2727
    2828static struct cluster_ops *ops;
     
    5151  create a server_id for the local node
    5252*/
    53 struct server_id cluster_id(uint64_t id, uint32_t id2)
     53struct server_id cluster_id(uint64_t pid, uint32_t task_id)
    5454{
    5555        cluster_init();
    56         return ops->cluster_id(ops, id, id2);
     56        return ops->cluster_id(ops, pid, task_id);
    5757}
    58 
    59 
    60 /*
    61   return a server_id as a string
    62 */
    63 const char *cluster_id_string(TALLOC_CTX *mem_ctx, struct server_id id)
    64 {
    65         cluster_init();
    66         return ops->cluster_id_string(ops, mem_ctx, id);
    67 }
    68 
    6958
    7059/*
    7160  open a temporary tdb in a cluster friendly manner
    7261*/
    73 struct tdb_wrap *cluster_tdb_tmp_open(TALLOC_CTX *mem_ctx, struct loadparm_context *lp_ctx, const char *dbname, int flags)
     62struct db_context *cluster_db_tmp_open(TALLOC_CTX *mem_ctx, struct loadparm_context *lp_ctx, const char *dbbase, int flags)
    7463{
    7564        cluster_init();
    76         return ops->cluster_tdb_tmp_open(ops, mem_ctx, lp_ctx, dbname, flags);
     65        return ops->cluster_db_tmp_open(ops, mem_ctx, lp_ctx, dbbase, flags);
    7766}
    7867
     
    8170  register a callback function for a messaging endpoint
    8271*/
    83 NTSTATUS cluster_message_init(struct messaging_context *msg, struct server_id server,
     72NTSTATUS cluster_message_init(struct imessaging_context *msg, struct server_id server,
    8473                              cluster_message_fn_t handler)
    8574{
Note: See TracChangeset for help on using the changeset viewer.