2 ** Copyright 2000-2004 Double Precision, Inc. See COPYING for
3 ** distribution information.
7 #include "courierauthstaticlist.h"
8 #include "courierauthsasl.h"
14 extern int authdaemondo(const char *authreq
,
15 int (*func
)(struct authinfo
*, void *), void *arg
);
17 int auth_getuserinfo(const char *service
, const char *uid
,
18 int (*callback
)(struct authinfo
*, void *),
21 char *buf
=malloc(strlen(service
)+strlen(uid
)+20);
29 strcat(strcat(strcat(strcat(strcpy(buf
, "PRE . "), service
), " "),
32 rc
=authdaemondo(buf
, callback
, arg
);