fix rest api
This commit is contained in:
parent
17a1a5176f
commit
0a7f0faa39
4 changed files with 57 additions and 13 deletions
|
@ -2,7 +2,6 @@
|
|||
#define UTILS_HPP
|
||||
|
||||
#include "Arduino.h"
|
||||
#include "string"
|
||||
#include "WString.h"
|
||||
|
||||
namespace firewall
|
||||
|
@ -54,9 +53,9 @@ namespace firewall
|
|||
} credential_t;
|
||||
|
||||
String protocol_to_string(firewall_protocol_t &protocol);
|
||||
firewall_protocol_t string_to_protocol(std::string &protocol);
|
||||
firewall_protocol_t string_to_protocol(String &protocol);
|
||||
String target_to_string(firewall_target_t &target);
|
||||
firewall_target_t string_to_target(std::string &target);
|
||||
firewall_target_t string_to_target(String &target);
|
||||
void endless_loop();
|
||||
}
|
||||
|
||||
|
|
Reference in a new issue