00001 #ifndef SEND_GMETRIC_H 00002 #define SEND_GMETRIC_H 1 00003 00004 #ifdef __cplusplus 00005 extern "C" { 00006 #endif 00007 00008 #include <stdio.h> 00009 #include <stdlib.h> 00010 #include <string.h> 00011 00022 int init_gmetric(const char* conf); 00023 00027 void destroy_gmetric(); 00028 00044 int send_gmetric(const char* name, const char* value, const char* type, const char* units, 00045 const char* slope, int tmax, int dmax, const char* group, const char* cluster, const char* desc, const char* title); 00046 00047 #ifdef __cplusplus 00048 } 00049 #endif 00050 00051 #endif