mobject-server.h 495 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
/*
 * (C) 2017 The University of Chicago
 *
 * See COPYRIGHT in top-level directory.
 */

#ifndef MOBJECT_SERVER_H
#define MOBJECT_SERVER_H

/* server-side utilities and routines.  Clients are looking for either
 * libmobject-store.h or librados-mobject-store.h */

/**
 * Start a mobject server instance
 *
 * @param[in] addr_str
 * @param[in poolname
 * @returns 0 on success, negative error code on failure */
int mobject_server_register(const char *addr_str, const char *poolname);


#endif