rrddimvar.h 698 B

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