Motr  M0
composite_bootstrap.c File Reference
#include <stdlib.h>
#include <stdio.h>
#include <unistd.h>
#include <errno.h>
#include <fcntl.h>
#include <sys/time.h>
#include <assert.h>
#include "motr/client.h"
#include "motr/client_internal.h"
#include "motr/idx.h"
#include "motr/layout.h"
Include dependency graph for composite_bootstrap.c:

Go to the source code of this file.

Functions

static int init (void)
 
static void fini (void)
 
static int create_index (struct m0_fid fid)
 
static int delete_index (struct m0_fid fid)
 
int main (int argc, char **argv)
 

Variables

static char * local_addr
 
static char * ha_addr
 
static char * prof
 
static char * proc_fid
 
static struct m0_clientm0_instance = NULL
 
static struct m0_container container
 
static struct m0_realm uber_realm
 
static struct m0_config conf
 
static struct m0_idx_dix_config dix_conf
 
struct m0_addb_ctx m0_addb_ctx
 

Function Documentation

◆ create_index()

static int create_index ( struct m0_fid  fid)
static

Definition at line 99 of file composite_bootstrap.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ delete_index()

static int delete_index ( struct m0_fid  fid)
static

Definition at line 132 of file composite_bootstrap.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ fini()

static void fini ( void  )
static

Definition at line 94 of file composite_bootstrap.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ init()

static int init ( void  )
static

Definition at line 52 of file composite_bootstrap.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ main()

int main ( int  argc,
char **  argv 
)

Definition at line 162 of file composite_bootstrap.c.

Here is the call graph for this function:

Variable Documentation

◆ conf

struct m0_config conf
static

Definition at line 47 of file composite_bootstrap.c.

◆ container

struct m0_container container
static

Definition at line 45 of file composite_bootstrap.c.

◆ dix_conf

struct m0_idx_dix_config dix_conf
static

Definition at line 48 of file composite_bootstrap.c.

◆ ha_addr

char* ha_addr
static

Definition at line 40 of file composite_bootstrap.c.

◆ local_addr

char* local_addr
static

Definition at line 39 of file composite_bootstrap.c.

◆ m0_addb_ctx

struct m0_addb_ctx m0_addb_ctx

◆ m0_instance

struct m0_client* m0_instance = NULL
static

Definition at line 44 of file composite_bootstrap.c.

◆ proc_fid

char* proc_fid
static

Definition at line 42 of file composite_bootstrap.c.

◆ prof

char* prof
static

Definition at line 41 of file composite_bootstrap.c.

◆ uber_realm

struct m0_realm uber_realm
static

Definition at line 46 of file composite_bootstrap.c.