-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathharvest_lib.h
20 lines (20 loc) · 1.17 KB
/
harvest_lib.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
int hostname_to_ip(char * hostname , char* ip);
int print_storage(char *harvest_sendline);
int set_harvest_verbose(int verbose);
int set_harvest_payload_raw(char *harvest_sendline, char *data);
int set_harvest_payload_str(char *harvest_sendline, char *what, char *data);
int set_harvest_payload_nam(char *harvest_sendline, char *what, char *data);
int set_harvest_payload_int(char *harvest_sendline, char *what, int data);
int set_harvest_payload_swt(char *harvest_sendline, char *what, int data);
int set_harvest_payload_flt(char *harvest_sendline, char *what, float data);
int set_harvest_payload_flt_array(char *harvest_sendline, char *what, float *data, int len);
int set_harvest_payload_dbl(char *harvest_sendline, char *what, double data);
int set_harvest_payload_dbl_array(char *harvest_sendline, char *what, double *data, int len);
int set_harvest_payload_bol(char *harvest_sendline, char *what, int data);
int set_harvest_host(char *host);
int set_harvest_protocol(char *protocol);
int set_harvest_tag(char *tag);
int set_harvest_port(int port);
int set_harvest_table(char *table);
int init_harvest(char *table, char *harvest_sendline, int n);
int harvest_send(char* harvest_sendline);