18 lines
597 B
C
Executable File
18 lines
597 B
C
Executable File
#ifndef AUTH_H
|
|
#define AUTH_H
|
|
|
|
#pragma once
|
|
|
|
#include <stdbool.h>
|
|
|
|
void auth_init(void); // Iniciar serviço
|
|
void auth_set_enabled(bool enabled); // Habilitar ou desabilitar leitura
|
|
bool auth_is_enabled(void); // Verificar estado
|
|
|
|
bool auth_add_tag(const char *tag); // Adiciona uma tag válida
|
|
bool auth_remove_tag(const char *tag); // Remove tag
|
|
bool auth_tag_exists(const char *tag); // Verifica se tag é válida
|
|
void auth_list_tags(void); // Opcional: listar no log
|
|
|
|
#endif // AUTH_H
|