GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — netdata/src/appconfig.h at master · gitqueue/netdata

Expand file tree

/

appconfig.h

Copy path
More file actions
More file actions

Latest commit

 

History

History
History
32 lines (23 loc) · 1.4 KB
/

appconfig.h

Copy path

File metadata and controls

32 lines (23 loc) · 1.4 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#ifndef NETDATA_CONFIG_H
#define NETDATA_CONFIG_H 1
#define CONFIG_FILENAME "netdata.conf"
// these are used to limit the configuration names and values lengths
// they are not enforced by config.c functions (they will strdup() all strings, no matter of their length)
#define CONFIG_MAX_NAME 1024
#define CONFIG_MAX_VALUE 2048
extern int load_config(char *filename, int overwrite_used);
extern char *config_get(const char *section, const char *name, const char *default_value);
extern long long config_get_number(const char *section, const char *name, long long value);
extern int config_get_boolean(const char *section, const char *name, int value);
#define CONFIG_ONDEMAND_NO 0
#define CONFIG_ONDEMAND_YES 1
#define CONFIG_ONDEMAND_ONDEMAND 2
extern int config_get_boolean_ondemand(const char *section, const char *name, int value);
extern const char *config_set(const char *section, const char *name, const char *value);
extern const char *config_set_default(const char *section, const char *name, const char *value);
extern long long config_set_number(const char *section, const char *name, long long value);
extern int config_set_boolean(const char *section, const char *name, int value);
extern int config_exists(const char *section, const char *name);
extern int config_rename(const char *section, const char *old, const char *new);
extern void generate_config(BUFFER *wb, int only_changed);
#endif /* NETDATA_CONFIG_H */
You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.