diff options
author | NunoSempere <nuno.sempere@protonmail.com> | 2023-02-07 14:17:10 +0100 |
---|---|---|
committer | NunoSempere <nuno.sempere@protonmail.com> | 2023-02-07 14:17:10 +0100 |
commit | b50d30851b844b74dbd9e03dd9de8d0fa5b0a9f8 (patch) | |
tree | a696cc5bc9ae1b3acc675d6a07f1ce1df47097c4 /plugins/stand_in/stand_in.c | |
parent | 35f968f29bca56274d32996541cde747f250224c (diff) |
fix: fix some warts
- stuff to deal with plugin code wasn't actually compiling
- created a "stand_in" plugin to provide headers and function
definitions
- when these are not used
- it is likely there are better approaches here
- hidebar, newtab -> hide_bar, new_tab
Diffstat (limited to 'plugins/stand_in/stand_in.c')
-rw-r--r-- | plugins/stand_in/stand_in.c | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/plugins/stand_in/stand_in.c b/plugins/stand_in/stand_in.c new file mode 100644 index 0000000..dbcc7e8 --- /dev/null +++ b/plugins/stand_in/stand_in.c @@ -0,0 +1,27 @@ +/* Why this file is needed: + * If the plugins are disabled, + * their conditionals will never resolve + * and their functionality never comes into play + * but the compiler still wants to know their type +*/ + +int libre_redirect(const char* uri, char* uri_filtered){ + return 0; +} +void str_init(char* str, int n){ + +}; + +int str_replace_start(const char* string, const char* target, + const char* replacement, char* output){ + return 1; +}; + +void read_readability_js(char* string){ + +} + +void read_style_js(char* string){ + +} + |