Lines Matching refs:auth_worker_client
26 struct auth_worker_client {
43 struct auth_worker_client *client;
49 struct auth_worker_client *auth_worker_client;
52 static void auth_worker_input(struct auth_worker_client *client);
53 static int auth_worker_output(struct auth_worker_client *client);
62 else if (auth_worker_client == NULL)
68 auth_worker_client_check_throttle(struct auth_worker_client *client)
78 bool auth_worker_auth_request_new(struct auth_worker_client *client, unsigned int id,
116 static void auth_worker_send_reply(struct auth_worker_client *client,
160 struct auth_worker_client *client = request->context;
194 auth_worker_handle_passv(struct auth_worker_client *client,
241 auth_worker_handle_passw(struct auth_worker_client *client,
297 struct auth_worker_client *client = request->context;
333 auth_worker_handle_passl(struct auth_worker_client *client,
378 struct auth_worker_client *client = request->context;
392 auth_worker_handle_setcred(struct auth_worker_client *client,
429 struct auth_worker_client *client = auth_request->context;
476 auth_worker_handle_user(struct auth_worker_client *client,
511 auth_worker_client_idle_kill(struct auth_worker_client *client ATTR_UNUSED)
517 auth_worker_client_set_idle_timeout(struct auth_worker_client *client)
533 struct auth_worker_client *client = ctx->client;
623 auth_worker_handle_list(struct auth_worker_client *client,
662 auth_worker_handle_line(struct auth_worker_client *client, const char *line)
718 static void auth_worker_input(struct auth_worker_client *client)
775 struct auth_worker_client *client2 = client;
785 static int auth_worker_output(struct auth_worker_client *client)
801 struct auth_worker_client *
804 struct auth_worker_client *client;
806 client = i_new(struct auth_worker_client, 1);
819 auth_worker_client = client;
825 void auth_worker_client_destroy(struct auth_worker_client **_client)
827 struct auth_worker_client *client = *_client;
843 auth_worker_client = NULL;
848 void auth_worker_client_unref(struct auth_worker_client **_client)
850 struct auth_worker_client *client = *_client;
865 if (auth_worker_client != NULL &&
866 !auth_worker_client->error_sent) {
867 o_stream_nsend_str(auth_worker_client->output, "ERROR\n");
868 auth_worker_client->error_sent = TRUE;
876 if (auth_worker_client == NULL)
878 if (auth_worker_client->error_sent) {
879 o_stream_nsend_str(auth_worker_client->output, "SUCCESS\n");
880 auth_worker_client->error_sent = FALSE;
882 if (auth_worker_client->io != NULL)
888 if (auth_worker_client != NULL)
889 o_stream_nsend_str(auth_worker_client->output, "SHUTDOWN\n");