We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 96856f0 commit 05fe075Copy full SHA for 05fe075
hal/architecture/Linux/drivers/core/config.c
@@ -31,6 +31,8 @@ static int _config_create(const char *config_file);
31
static int _config_parse_int(char *token, const char *name, int *value);
32
static int _config_parse_string(char *token, const char *name, char **value);
33
34
+struct config conf;
35
+
36
int config_parse(const char *config_file)
37
{
38
FILE *fptr;
hal/architecture/Linux/drivers/core/config.h
@@ -39,7 +39,9 @@ struct config {
39
char *soft_hmac_key;
40
char *soft_serial_key;
41
char *aes_key;
42
-} conf;
+};
43
44
+extern struct config conf;
45
46
int config_parse(const char *config_file);
47
void config_cleanup(void);
0 commit comments