8000 GitHub - neurogeek/libmogfspp: Library to query and fetch files from MogileFS in C++
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

neurogeek/libmogfspp

Repository files navigation

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++

About

Library to query and fetch files from MogileFS in C++

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0