sd_event_run(s->event, UINT64_MAX);
if (s->n_stdout_streams > 0)
- stdout_stream_destroy(stream);
+ stdout_stream_terminate(stream);
return 0;
}
DEFINE_TRIVIAL_CLEANUP_FUNC(StdoutStream*, stdout_stream_free);
-void stdout_stream_destroy(StdoutStream *s) {
+void stdout_stream_terminate(StdoutStream *s) {
if (!s)
return;
return 1;
terminate:
- stdout_stream_destroy(s);
+ stdout_stream_terminate(s);
return 0;
}
StdoutStream* stdout_stream_free(StdoutStream *s);
int stdout_stream_install(Server *s, int fd, StdoutStream **ret);
-void stdout_stream_destroy(StdoutStream *s);
+void stdout_stream_terminate(StdoutStream *s);
void stdout_stream_send_notify(StdoutStream *s);