1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-28 04:27:45 +00:00

LookupServer: Migrate from DeprecatedFile to File

This commit is contained in:
Ben Wiederhake 2023-05-09 21:50:26 +02:00 committed by Andrew Kaster
parent f890b70eae
commit b10106fc7d
2 changed files with 34 additions and 14 deletions

View file

@ -29,6 +29,7 @@ public:
private:
LookupServer();
ErrorOr<HashMap<Name, Vector<Answer>, Name::Traits>> try_load_etc_hosts();
void load_etc_hosts();
void put_in_cache(Answer const&);