1/*
2 * xdr_serverside_stubs.c
3 *
4 * Copyright (C) 2014-2016 Aerospike, Inc.
5 *
6 * Portions may be licensed to Aerospike, Inc. under one or more contributor
7 * license agreements.
8 *
9 * This program is free software: you can redistribute it and/or modify it under
10 * the terms of the GNU Affero General Public License as published by the Free
11 * Software Foundation, either version 3 of the License, or (at your option) any
12 * later version.
13 *
14 * This program is distributed in the hope that it will be useful, but WITHOUT
15 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
16 * FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more
17 * details.
18 *
19 * You should have received a copy of the GNU Affero General Public License
20 * along with this program. If not, see http://www.gnu.org/licenses/
21 */
22
23#include "base/xdr_serverside.h"
24
25int as_xdr_init()
26{
27 return -1;
28}
29
30void xdr_config_post_process()
31{
32}
33
34void as_xdr_start()
35{
36}
37
38void as_xdr_shutdown()
39{
40}
41
42void xdr_broadcast_lastshipinfo(uint64_t val[])
43{
44}
45
46void xdr_clear_dirty_bins(xdr_dirty_bins *dirty)
47{
48}
49
50void xdr_fill_dirty_bins(xdr_dirty_bins *dirty)
51{
52}
53
54void xdr_copy_dirty_bins(xdr_dirty_bins *from, xdr_dirty_bins *to)
55{
56}
57
58void xdr_add_dirty_bin(as_namespace *ns, xdr_dirty_bins *dirty, const char *name, size_t name_len)
59{
60}
61
62void xdr_write(as_namespace *ns, cf_digest *keyd, uint16_t generation, cf_node masternode, xdr_op_type op_type, uint16_t set_id, xdr_dirty_bins *dirty)
63{
64}
65
66void as_xdr_read_txn(as_transaction *txn)
67{
68}
69
70void as_xdr_info_init(void)
71{
72}
73
74void as_xdr_info_port(cf_serv_cfg *serv_cfg)
75{
76 (void)serv_cfg;
77}
78
79int as_info_command_xdr(char *name, char *params, cf_dyn_buf *db)
80{
81 return -1;
82}
83
84void as_xdr_get_stats(cf_dyn_buf *db)
85{
86}
87
88void as_xdr_get_config(cf_dyn_buf *db)
89{
90}
91
92bool as_xdr_set_config(char *params)
93{
94 return false;
95}
96
97bool as_xdr_set_config_ns(char *ns_name, char *params)
98{
99 return false;
100}
101
102bool is_xdr_delete_shipping_enabled()
103{
104 return false;
105}
106
107bool is_xdr_digestlog_low(as_namespace *ns)
108{
109 return false;
110}
111
112bool is_xdr_forwarding_enabled()
113{
114 return false;
115}
116
117bool is_xdr_nsup_deletes_enabled()
118{
119 return false;
120}
121
122void xdr_cfg_add_int_ext_mapping(xdr_dest_aero_config *dc_cfg, char* orig, char* alt)
123{
124}
125