mobject-connect-test.c 471 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
/*
 * (C) 2017 The University of Chicago
 * 
 * See COPYRIGHT in top-level directory.
 */

#include "mobject-store-config.h"

#include <stdio.h>
#include <assert.h>

#ifdef USE_LIBRADOS
#include <librados.h>
#else
#include <libmobject-store.h>
Shane Snyder's avatar
Shane Snyder committed
16
#include <librados-mobject-store.h>
17 18 19 20 21 22 23 24 25 26 27 28 29 30
#endif

int main(int argc, char *argv[])
{
    rados_t cluster;
    int ret;

    ret = rados_create(&cluster, "admin");
    assert(ret == 0);

    rados_shutdown(cluster);

    return(0);
}