summaryrefslogtreecommitdiff
path: root/util.h
diff options
context:
space:
mode:
authorAndrew Cady <d@jerkface.net>2020-08-21 09:47:12 -0400
committerAndrew Cady <d@jerkface.net>2020-08-21 11:16:35 -0400
commit127d2c239bb4c8d156154c5fb87e082ef22ed5a4 (patch)
tree57c23475f529657254a2bc94724817ea57f78774 /util.h
parent22fd38896ae61ba66a41d5f4d27f9e1096a7ca1e (diff)
Implement wildcard rules
The rules are reloaded as needed upon every connection.
Diffstat (limited to 'util.h')
-rw-r--r--util.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/util.h b/util.h
index 7dced6b..e97119b 100644
--- a/util.h
+++ b/util.h
@@ -13,7 +13,7 @@ void id_to_string(char_t *dest, const char_t *src);
13int string_to_id(char_t *w, char_t *a); 13int string_to_id(char_t *w, char_t *a);
14void* file_raw(char *path, uint32_t *size); 14void* file_raw(char *path, uint32_t *size);
15const char *readable_connection_status(TOX_CONNECTION status); 15const char *readable_connection_status(TOX_CONNECTION status);
16int parse_local_port_forward(char *string, int *local_port, char **hostname, int *remote_port); 16bool parse_local_port_forward(char *string, int *local_port, char **hostname, int *remote_port);
17int parse_pipe_port_forward(char *string, char **hostname, int *remote_port); 17bool parse_pipe_port_forward(char *string, char **hostname, int *remote_port);
18 18
19#endif 19#endif