|
ESDM
Middleware for Earth System Data
|
A data backend to provide POSIX compatibility. More...
#include <bson.h>#include <esdm.h>#include <fcntl.h>#include <jansson.h>#include <mongoc.h>#include <stdarg.h>#include <stdio.h>#include <stdlib.h>#include <string.h>#include <sys/stat.h>#include <sys/types.h>#include <unistd.h>#include "mongodb.h"
Macros | |
| #define | _GNU_SOURCE /* See feature_test_macros(7) */ |
| #define | DEBUG(msg) log("[METADUMMY] %-30s %s:%d\n", msg, __FILE__, __LINE__) |
Functions | |
| esdm_backend_t * | mongodb_backend_init (esdm_config_backend_t *config) |
| int | mongodb_finalize () |
A data backend to provide POSIX compatibility.
| esdm_backend_t* mongodb_backend_init | ( | esdm_config_backend_t * | config | ) |
Initializes the POSIX plugin. In particular this involves:
Takes possession of the config object, pass a malloc()ed object.
| int mongodb_finalize | ( | ) |
Initializes the POSIX plugin. In particular this involves: