diff options
| author | Syndamia <kamen@syndamia.com> | 2024-01-07 12:37:36 +0200 |
|---|---|---|
| committer | Syndamia <kamen@syndamia.com> | 2024-01-07 12:37:36 +0200 |
| commit | f2dc031f37282ff04ce07887f3b388092115139b (patch) | |
| tree | ccc690193bb9168449c01c836b94086060a7e555 /src | |
| parent | f9990172848eb65f6549a0326d9476df3215e567 (diff) | |
| download | pico-web-f2dc031f37282ff04ce07887f3b388092115139b.tar pico-web-f2dc031f37282ff04ce07887f3b388092115139b.tar.gz pico-web-f2dc031f37282ff04ce07887f3b388092115139b.zip | |
(browser-cli) Renamed handleCLI to handleBrowserCLI, so there is no collision for tests
Diffstat (limited to 'src')
| -rw-r--r-- | src/browser-cli.c | 6 | ||||
| -rw-r--r-- | src/browser-cli.h | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/browser-cli.c b/src/browser-cli.c index 3bea4ba..75a2374 100644 --- a/src/browser-cli.c +++ b/src/browser-cli.c @@ -3,9 +3,9 @@ #include <stdio.h> #include <string.h> -#include <sds/sds.h> #include <regex.h> -#include <util.h> +#include "sds/sds.h" +#include "util.h" struct md_syntax { regex_t anchor; @@ -103,7 +103,7 @@ char* findBeginningOfPath(char* uri) { return startPath; } -int handleCLI(sds *host, sds *port, sds *uri, const sds page) { +int handleBrowserCLI(sds *host, sds *port, sds *uri, const sds page) { // Get a line char line[1024]; fgets(line, 1024, stdin); diff --git a/src/browser-cli.h b/src/browser-cli.h index 1837c6a..a164dc9 100644 --- a/src/browser-cli.h +++ b/src/browser-cli.h @@ -7,6 +7,6 @@ void initRendering(); void freeRendering(); void renderPage(const sds page); -int handleCLI(sds *host, sds *port, sds *uri, const sds page); +int handleBrowserCLI(sds *host, sds *port, sds *uri, const sds page); #endif |
