Sha256: 2f16ef843efd0dd5f90be7b172a065c66680e5ddc43c9647c03f417ee825d7bc

Contents?: true

Size: 826 Bytes

Versions: 2

Compression:

Stored size: 826 Bytes

Contents

/* -*- C -*-
 * file:   rrd_info.h
 * date:   $Date: 2008/03/11 22:47:06 $
 * init:   2005-07-26
 * vers:   $Version$
 * auth:   $Author: dbach $
 * -----
 * 
 * Support file to add rrd_info() to rrd.h
 * 
 */
#ifndef __RRD_INFO_H
#define __RRD_INFO_H

#if defined(__cplusplus) || defined(c_plusplus)
extern "C" {
#endif

/* rrd info interface
enum info_type   { RD_I_VAL=0,
	       RD_I_CNT,
	       RD_I_STR, 
		   RD_I_INT };
*/

typedef union infoval { 
    unsigned long u_cnt; 
    rrd_value_t   u_val;
    char         *u_str;
    int		  u_int;
} infoval;

typedef struct info_t {
    char            *key;
    rrd_info_type_t  type;
    union infoval   value;
    struct info_t   *next;
} info_t;

//info_t *rrd_info(int, char **);



#if defined(__cplusplus) || defined(c_plusplus)
}
#endif
#endif /* __RRD_INFO_H */

Version data entries

2 entries across 2 versions & 2 rubygems

Version Path
errand-0.7.0 rrd_info.h
auxesis-RubyRRDtool-0.6.0 rrd_info.h