Skip to content

lwf/riemann-c-client-lib

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

riemann-c-client-lib

O client library to rieman writen in C

@TODO

  • Improve TCP code
    • Implement timeout (select)
  • Improve error signaling, return kind of errno
  • Improve UDP code
    • Does riemann responds UDP?
  • Implement an alternative to getaddrinfo(), (gethostbyname!?) at compile time, using config.h
  • Autotools
    • Start using config.h
    • Write INSTALL and README
    • Improve checks (I haven't take a look on this yet)
  • Provide tarball downloads
  • Start versioning **
  • Doxygen?
  • Improve installation instructions

** next

Instalation

WARNING: This is in really early stages, and was not fully tested.

  1. Clone
git clone https://github.com/gkos/riemann-c-client-lib.git
  1. Build
    You need protobuf-c installed and on your path to do this. You can find it at http://code.google.com/p/protobuf-c/ Also you will need autotools to run build.sh
./build.sh
./configure --prefix=${HOME}
make
  1. Install!?
make install

Usage

Check examples directory for usage hints

  • Compiling

When compiling you will need to link your code against libriemann_client.so

gcc -o your_bin your_code.c -lriemann_client        

About

A riemann client library writen in C

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 98.0%
  • Shell 1.3%
  • C++ 0.7%