Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Library to query and fetch files from MogileFS in C++
Shell
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
include/mogilefs++
src
.gitignore
.travis.yml
AUTHORS
COPYING
ChangeLog
INSTALL
Makefile.am
NEWS
README
README.md
aclocal.m4
config.guess
config.log
config.status
config.sub
configure
configure.ac
depcomp
install-sh
libtool
ltmain.sh
missing

README.md

Build Status

libmogfs++

This is a C++ library that allows to query and fetch files from a MogileFS cluster.

This is an alpha version yet.

Usage:

It is as simple as:

// Test file
//MogFS
#include <mogilefs++/mogilefs++>

[...]

std::string key;
std::string domain;
std::string picFile;

//MogileFS namespace
MogileFS::ClientLib *client;

[...]

client = new MogileFS::ClientLib("mogile.server.com", 6001);
picFile = client->getFile(domain, key);

[...]

and Done!.

Requirements:

This library uses:

cURL pcre++ socket++

Compiling and installing:

./configure make sudo make install

Then, link your code to libmogfs++

Something went wrong with that request. Please try again.