mirror of
https://github.com/netdata/netdata.git
synced 2025-05-05 17:50:18 +00:00

By default functions are declared as extern in C/C++ headers. The goal of this PR is to reduce the wall of text that many headers have and, more importantly, to make the declaration of extern'd variables - of which we have many dispersed in various places - easily and quickly identifiable. Automatically generated with: $ git grep -l '^extern.*(' '**.h' | \ grep -v libjudy | \ grep -v 'sqlite3.h' | \ xargs sed -i -e 's/extern \(.*(.*$\)/\1/' This is a NFC.
15 lines
467 B
C
15 lines
467 B
C
// SPDX-License-Identifier: GPL-3.0-or-later
|
|
|
|
#ifndef NETDATA_API_QUERY_MAX_H
|
|
#define NETDATA_API_QUERY_MAX_H
|
|
|
|
#include "../query.h"
|
|
#include "../rrdr.h"
|
|
|
|
void grouping_create_max(RRDR *r, const char *options __maybe_unused);
|
|
void grouping_reset_max(RRDR *r);
|
|
void grouping_free_max(RRDR *r);
|
|
void grouping_add_max(RRDR *r, NETDATA_DOUBLE value);
|
|
NETDATA_DOUBLE grouping_flush_max(RRDR *r, RRDR_VALUE_FLAGS *rrdr_value_options_ptr);
|
|
|
|
#endif //NETDATA_API_QUERY_MAX_H
|