stats-parser.c revision 02c335c23bf5fa225a467c19f2c063fb0dc7b8c3
/* Copyright (c) 2011-2016 Dovecot authors, see the included COPYING file */
#include "lib.h"
#include "str.h"
#include "time-util.h"
#include "stats-parser.h"
#define USECS_PER_SEC 1000000
{
long long diff_usecs;
if (diff_usecs < 0)
return FALSE;
return TRUE;
}
static bool
{
return FALSE;
return TRUE;
}
static bool
{
return FALSE;
return TRUE;
}
unsigned int fields_count,
{
unsigned int i;
for (i = 0; i < fields_count; i++) {
case STATS_PARSER_TYPE_UINT:
case sizeof(uint32_t):
return FALSE;
}
break;
case sizeof(uint64_t):
(unsigned long long)*n2,
(unsigned long long)*n1);
return FALSE;
}
break;
default:
i_unreached();
}
break;
return FALSE;
}
break;
}
}
return TRUE;
}
{
}
}
unsigned int fields_count,
{
unsigned int i;
for (i = 0; i < fields_count; i++) {
case STATS_PARSER_TYPE_UINT:
case sizeof(uint32_t): {
break;
}
case sizeof(uint64_t): {
break;
}
default:
i_unreached();
}
break;
break;
}
}
}
const struct stats_parser_field *field,
const void *data)
{
case STATS_PARSER_TYPE_UINT:
case sizeof(uint32_t): {
break;
}
case sizeof(uint64_t): {
break;
}
default:
i_unreached();
}
break;
case STATS_PARSER_TYPE_TIMEVAL: {
break;
}
}
}