0
0
Fork 0
mirror of https://github.com/netdata/netdata.git synced 2025-04-26 13:54:48 +00:00
netdata_netdata/database/rrddimvar.h
vkalintiris ccfbdb5c3d
Remove extern from function declared in headers. ()
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.
2022-10-09 16:38:49 +03:00

21 lines
698 B
C

// SPDX-License-Identifier: GPL-3.0-or-later
#ifndef NETDATA_RRDDIMVAR_H
#define NETDATA_RRDDIMVAR_H 1
#include "rrd.h"
// variables linked to individual dimensions
// We link variables to point the values that are already
// calculated / processed by the normal data collection process
// This means, there will be no speed penalty for using
// these variables
void rrddimvar_rename_all(RRDDIM *rd);
void rrddimvar_add_and_leave_released(RRDDIM *rd, RRDVAR_TYPE type, const char *prefix, const char *suffix, void *value, RRDVAR_FLAGS flags);
void rrddimvar_delete_all(RRDDIM *rd);
void rrddimvar_index_init(RRDSET *st);
void rrddimvar_index_destroy(RRDSET *st);
#endif //NETDATA_RRDDIMVAR_H