diff options
author | Evgeny Grin (Karlson2k) <k2k@narod.ru> | 2022-04-23 15:10:13 +0300 |
---|---|---|
committer | Evgeny Grin (Karlson2k) <k2k@narod.ru> | 2022-04-23 15:21:18 +0300 |
commit | a263d605ff680f52f5fa4c5b654732293fa264d6 (patch) | |
tree | 5f01925e1cc3dae54b6445302c9984791c366909 /src | |
parent | 48d7bc547dbb1e8f16c90b7b6411e19fd3773129 (diff) | |
download | libmicrohttpd-a263d605ff680f52f5fa4c5b654732293fa264d6.tar.gz libmicrohttpd-a263d605ff680f52f5fa4c5b654732293fa264d6.zip |
daemon.c: added prototypes for non-static functions
Diffstat (limited to 'src')
-rw-r--r-- | src/microhttpd/daemon.c | 19 |
1 files changed, 13 insertions, 6 deletions
diff --git a/src/microhttpd/daemon.c b/src/microhttpd/daemon.c index 5a72531f..086453d8 100644 --- a/src/microhttpd/daemon.c +++ b/src/microhttpd/daemon.c | |||
@@ -88,6 +88,19 @@ | |||
88 | 88 | ||
89 | /* Forward declarations. */ | 89 | /* Forward declarations. */ |
90 | 90 | ||
91 | |||
92 | /** | ||
93 | * Global initialisation function. | ||
94 | */ | ||
95 | void | ||
96 | MHD_init (void); | ||
97 | |||
98 | /** | ||
99 | * Global deinitialisation function. | ||
100 | */ | ||
101 | void | ||
102 | MHD_fini (void); | ||
103 | |||
91 | /** | 104 | /** |
92 | * Close all connections for the daemon. | 105 | * Close all connections for the daemon. |
93 | * Must only be called when MHD_Daemon::shutdown was set to true. | 106 | * Must only be called when MHD_Daemon::shutdown was set to true. |
@@ -116,12 +129,6 @@ MHD_epoll (struct MHD_Daemon *daemon, | |||
116 | 129 | ||
117 | #endif /* EPOLL_SUPPORT */ | 130 | #endif /* EPOLL_SUPPORT */ |
118 | 131 | ||
119 | /** | ||
120 | * Globally initialise library. | ||
121 | */ | ||
122 | void | ||
123 | MHD_init (void); | ||
124 | |||
125 | 132 | ||
126 | #if defined(MHD_WINSOCK_SOCKETS) | 133 | #if defined(MHD_WINSOCK_SOCKETS) |
127 | /** | 134 | /** |