test_doubles.c 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155
  1. // SPDX-License-Identifier: GPL-3.0-or-later
  2. #include "test_cgroups_plugin.h"
  3. void rrdset_is_obsolete(RRDSET *st)
  4. {
  5. UNUSED(st);
  6. }
  7. void rrdset_isnot_obsolete(RRDSET *st)
  8. {
  9. UNUSED(st);
  10. }
  11. struct mountinfo *mountinfo_read(int do_statvfs)
  12. {
  13. UNUSED(do_statvfs);
  14. return NULL;
  15. }
  16. struct mountinfo *
  17. mountinfo_find_by_filesystem_mount_source(struct mountinfo *root, const char *filesystem, const char *mount_source)
  18. {
  19. UNUSED(root);
  20. UNUSED(filesystem);
  21. UNUSED(mount_source);
  22. return NULL;
  23. }
  24. struct mountinfo *
  25. mountinfo_find_by_filesystem_super_option(struct mountinfo *root, const char *filesystem, const char *super_options)
  26. {
  27. UNUSED(root);
  28. UNUSED(filesystem);
  29. UNUSED(super_options);
  30. return NULL;
  31. }
  32. void mountinfo_free_all(struct mountinfo *mi)
  33. {
  34. UNUSED(mi);
  35. }
  36. RRDSET *rrdset_create_custom(
  37. RRDHOST *host, const char *type, const char *id, const char *name, const char *family, const char *context,
  38. const char *title, const char *units, const char *plugin, const char *module, long priority, int update_every,
  39. RRDSET_TYPE chart_type, RRD_MEMORY_MODE memory_mode, long history_entries)
  40. {
  41. UNUSED(host);
  42. UNUSED(type);
  43. UNUSED(id);
  44. UNUSED(name);
  45. UNUSED(family);
  46. UNUSED(context);
  47. UNUSED(title);
  48. UNUSED(units);
  49. UNUSED(plugin);
  50. UNUSED(module);
  51. UNUSED(priority);
  52. UNUSED(update_every);
  53. UNUSED(chart_type);
  54. UNUSED(memory_mode);
  55. UNUSED(history_entries);
  56. return NULL;
  57. }
  58. RRDDIM *rrddim_add_custom(
  59. RRDSET *st, const char *id, const char *name, collected_number multiplier, collected_number divisor,
  60. RRD_ALGORITHM algorithm, RRD_MEMORY_MODE memory_mode)
  61. {
  62. UNUSED(st);
  63. UNUSED(id);
  64. UNUSED(name);
  65. UNUSED(multiplier);
  66. UNUSED(divisor);
  67. UNUSED(algorithm);
  68. UNUSED(memory_mode);
  69. return NULL;
  70. }
  71. collected_number rrddim_set(RRDSET *st, const char *id, collected_number value)
  72. {
  73. UNUSED(st);
  74. UNUSED(id);
  75. UNUSED(value);
  76. return 0;
  77. }
  78. collected_number rrddim_set_by_pointer(RRDSET *st, RRDDIM *rd, collected_number value)
  79. {
  80. UNUSED(st);
  81. UNUSED(rd);
  82. UNUSED(value);
  83. return 0;
  84. }
  85. RRDSETVAR *rrdsetvar_custom_chart_variable_create(RRDSET *st, const char *name)
  86. {
  87. UNUSED(st);
  88. UNUSED(name);
  89. return NULL;
  90. }
  91. void rrdsetvar_custom_chart_variable_set(RRDSETVAR *rs, NETDATA_DOUBLE value)
  92. {
  93. UNUSED(rs);
  94. UNUSED(value);
  95. }
  96. void rrdset_next_usec(RRDSET *st, usec_t microseconds)
  97. {
  98. UNUSED(st);
  99. UNUSED(microseconds);
  100. }
  101. void rrdset_done(RRDSET *st)
  102. {
  103. UNUSED(st);
  104. }
  105. void update_pressure_charts(struct pressure_charts *charts)
  106. {
  107. UNUSED(charts);
  108. }
  109. void netdev_rename_device_add(
  110. const char *host_device, const char *container_device, const char *container_name, DICTIONARY *labels, const char *ctx_prefix)
  111. {
  112. UNUSED(host_device);
  113. UNUSED(container_device);
  114. UNUSED(container_name);
  115. UNUSED(labels);
  116. UNUSED(ctx_prefix);
  117. }
  118. void netdev_rename_device_del(const char *host_device)
  119. {
  120. UNUSED(host_device);
  121. }
  122. void sql_store_chart_label(uuid_t *chart_uuid, int source_type, char *label, char *value)
  123. {
  124. UNUSED(chart_uuid);
  125. UNUSED(source_type);
  126. UNUSED(label);
  127. UNUSED(value);
  128. }