GitLab maintenance scheduled for Tomorrow, 2020-03-31, from 17:00 to 18:00 CT - Services will be unavailable during this time.

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

#include "mobject-store-config.h"

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

12
#ifdef USE_RADOS
13 14
#include <librados.h>
#else
15
#include <librados-mobject-store.h>
16 17 18 19 20 21 22 23 24 25 26 27 28 29
#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);
}