build: make the "rpm" rule work once again
[iwhd.git] / replica.h
blob67fb38b49968c3410628744b078c77af55518d6f
1 /* Copyright (C) 2010 Red Hat, Inc.
3 This program is free software: you can redistribute it and/or modify
4 it under the terms of the GNU General Public License as published by
5 the Free Software Foundation, either version 3 of the License, or
6 (at your option) any later version.
8 This program is distributed in the hope that it will be useful,
9 but WITHOUT ANY WARRANTY; without even the implied warranty of
10 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 GNU General Public License for more details.
13 You should have received a copy of the GNU General Public License
14 along with this program. If not, see <http://www.gnu.org/licenses/>. */
16 #if !defined(_REPLICA_H)
17 #define _REPLICA_H
19 #include "state_defs.h"
21 void repl_init (void);
22 void replicate (const char *url, size_t size,
23 const char *policy, my_state *ms);
24 void replicate_delete (const char *url, my_state *ms);
25 void replicate_bcreate (const char *bucket, my_state *ms);
26 int get_rep_count (void);
28 char *follow_link (char *object, const char *key);
30 #endif