Motr
M0
|
#include "motr/client.h"
#include "lib/assert.h"
#include <stdio.h>
#include <stdlib.h>
#include <errno.h>
Go to the source code of this file.
Enumerations | |
enum | { KV_COUNT = 10, KV_LEN = 32 } |
Functions | |
static void | op_entity_fini (struct m0_entity *e, struct m0_op **ops) |
static int | op_launch_wait_fini (struct m0_entity *e, struct m0_op **ops, int *sm_rc) |
int | index_create (struct m0_container *container, struct m0_uint128 *fid) |
int | index_delete (struct m0_container *container, struct m0_uint128 *fid) |
int | index_put (struct m0_container *container, struct m0_uint128 *fid) |
int | index_get (struct m0_container *container, struct m0_uint128 *fid) |
int | main (int argc, char *argv[]) |
anonymous enum |
Enumerator | |
---|---|
KV_COUNT | |
KV_LEN |
Definition at line 49 of file example2.c.
int index_create | ( | struct m0_container * | container, |
struct m0_uint128 * | fid | ||
) |
Definition at line 80 of file example2.c.
int index_delete | ( | struct m0_container * | container, |
struct m0_uint128 * | fid | ||
) |
Definition at line 96 of file example2.c.
int index_get | ( | struct m0_container * | container, |
struct m0_uint128 * | fid | ||
) |
Definition at line 153 of file example2.c.
int index_put | ( | struct m0_container * | container, |
struct m0_uint128 * | fid | ||
) |
Definition at line 117 of file example2.c.
int main | ( | int | argc, |
char * | argv[] | ||
) |
Definition at line 54 of file example2.c.
Definition at line 62 of file example2.c.