blob: 50826ece6e31a4888ebbdc951ac8ae157b40daba (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
#ifndef __AGNI_STAT_H
#define __AGNI_STAT_H
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
typedef struct stat_server
{
int cnt_ping;
int cnt_serv_tx;
int cnt_serv_rx;
int cnt_ipc_tx;
int cnt_ipc_rx;
} stat_server;
typedef struct stat_event
{
int cnt_cmd_succ;
int cnt_cmd_err;
int cnt_ipc_tx;
int cnt_ipc_rx;
} stat_event;
char* stat_server2str(stat_server *st);
char* stat_event2str(stat_event *st);
#endif
|