Files

18 lines
512 B
C

#ifndef FEATUREFLAG_H
#define FEATUREFLAG_H
#include <libxml/tree.h>
#include <stdbool.h>
struct feature_flag {
bool url_encryption_enabled;
bool url_logging_enabled;
};
void feature_flag_load_xml_attr(struct feature_flag *feature_flag, xmlDoc *doc, xmlAttrPtr attr);
void feature_flag_save(const struct feature_flag *feature_flag, unsigned const char key[KDF_HASH_LEN]);
void feature_flag_load(struct feature_flag *feature_flag, unsigned const char key[KDF_HASH_LEN]);
void feature_flag_cleanup();
#endif