diff options
Diffstat (limited to 'src/daemon/settings.c')
-rw-r--r-- | src/daemon/settings.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/daemon/settings.c b/src/daemon/settings.c index 9c4011f..622915a 100644 --- a/src/daemon/settings.c +++ b/src/daemon/settings.c @@ -2,6 +2,7 @@ * Usurpation – server daemon settings handling * * Copyright (C) 2019 Gediminas Jakutis + * Copyright (C) 2019 Ramūnas Mažeikis * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public @@ -36,6 +37,11 @@ int setting_detach(void) return test_flag(flag_daemonize); } +int setting_verbose(void) +{ + return test_flag(flag_verbose); +} + unsigned short int setting_port(void) { return settings.port; |