[Assignment-7] working implementation of untrusted

This commit is contained in:
Paul Zinselmeyer 2024-07-06 14:54:54 +02:00 committed by saschato
parent e3daea6279
commit 355e8560f6
8 changed files with 1126 additions and 208 deletions

View file

@ -3,6 +3,7 @@
#include "intermediary.h"
#include "proxy.h"
#include "proxysetup.h"
#include "util.h"
@ -19,6 +20,8 @@ int main(int argc, char** argv) {
handle_intermediary(argc-2, argv+2);
else if (strcmp(command, "proxy")==0)
handle_proxy(argc-2, argv+2);
else if (strcmp(command, "proxysetup")==0)
handle_proxysetup(argc-2, argv+2);
else
syntax_exit();
}