Displaying 1 result from an estimated 1 matches for "tls_init".
Did you mean:
tas_init
2017 Jan 31
0
[PATCH nbdkit] Add support for socket activation.
.../* -s */
char *unixsocket; /* -U */
const char *user, *group; /* -u & -g */
int verbose; /* -v */
+unsigned int socket_activation /* $LISTEN_FDS and $LISTEN_PID set */;
volatile int quit;
@@ -157,6 +161,9 @@ main (int argc, char *argv[])
tls_init ();
+ /* Returns 0 if no socket activation, or the number of FDs. */
+ socket_activation = get_socket_activation ();
+
for (;;) {
c = getopt_long (argc, argv, short_options, long_options, &option_index);
if (c == -1)
@@ -172,6 +179,11 @@ main (int argc, char *argv[])
d...