userdb-blocking.c revision 58bc77731bb25e900498a28409337e747f622722
2e29e4797a48d78d669821722bdb54fd0a1d3b94Timo Sirainen/* Copyright (C) 2005 Timo Sirainen */
2e29e4797a48d78d669821722bdb54fd0a1d3b94Timo Sirainenstatic void user_callback(struct auth_request *request, const char *reply)
58bc77731bb25e900498a28409337e747f622722Timo Sirainen stream_reply = auth_stream_reply_init(request);
58bc77731bb25e900498a28409337e747f622722Timo Sirainen auth_stream_reply_import(stream_reply, reply);
58bc77731bb25e900498a28409337e747f622722Timo Sirainen auth_request_userdb_callback(stream_reply, request);
e9503210d3521a6833ed62dc332fc42ffb0e7a13Timo Sirainenvoid userdb_blocking_lookup(struct auth_request *request)
e9503210d3521a6833ed62dc332fc42ffb0e7a13Timo Sirainen str_printfa(str, "USER\t%u\t", request->userdb->num);