proxy.h revision d7dc57bcc2468bee756bcd568daee0644e5b888d
a64adf62fa33f2463a86f990217b0c9078531a40Timo Sirainen Proxy provider, private header file
a64adf62fa33f2463a86f990217b0c9078531a40Timo Sirainen Sumit Bose <sbose@redhat.com>
a64adf62fa33f2463a86f990217b0c9078531a40Timo Sirainen Copyright (C) 2010 Red Hat
a64adf62fa33f2463a86f990217b0c9078531a40Timo Sirainen This program is free software; you can redistribute it and/or modify
a64adf62fa33f2463a86f990217b0c9078531a40Timo Sirainen it under the terms of the GNU General Public License as published by
a64adf62fa33f2463a86f990217b0c9078531a40Timo Sirainen the Free Software Foundation; either version 3 of the License, or
a64adf62fa33f2463a86f990217b0c9078531a40Timo Sirainen (at your option) any later version.
a78d5bd9772681a232de56b3dd6acefee66cc71bTimo Sirainen This program is distributed in the hope that it will be useful,
a78d5bd9772681a232de56b3dd6acefee66cc71bTimo Sirainen but WITHOUT ANY WARRANTY; without even the implied warranty of
a64adf62fa33f2463a86f990217b0c9078531a40Timo Sirainen MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
a64adf62fa33f2463a86f990217b0c9078531a40Timo Sirainen GNU General Public License for more details.
1358e2c58ce29231485a5cfa454756d429ad3d2cTimo Sirainen You should have received a copy of the GNU General Public License
1358e2c58ce29231485a5cfa454756d429ad3d2cTimo Sirainen along with this program. If not, see <http://www.gnu.org/licenses/>.
1358e2c58ce29231485a5cfa454756d429ad3d2cTimo Sirainen enum nss_status (*getpwnam_r)(const char *name, struct passwd *result,
1358e2c58ce29231485a5cfa454756d429ad3d2cTimo Sirainen enum nss_status (*getpwuid_r)(uid_t uid, struct passwd *result,
28cb56e6957f06717e876cecb7aabc820fdf632eTimo Sirainen enum nss_status (*getpwent_r)(struct passwd *result,
28cb56e6957f06717e876cecb7aabc820fdf632eTimo Sirainen enum nss_status (*getgrnam_r)(const char *name, struct group *result,
28cb56e6957f06717e876cecb7aabc820fdf632eTimo Sirainen enum nss_status (*getgrgid_r)(gid_t gid, struct group *result,
28cb56e6957f06717e876cecb7aabc820fdf632eTimo Sirainen enum nss_status (*getgrent_r)(struct group *result,
28cb56e6957f06717e876cecb7aabc820fdf632eTimo Sirainen enum nss_status (*initgroups_dyn)(const char *user, gid_t group,
28cb56e6957f06717e876cecb7aabc820fdf632eTimo Sirainen enum nss_status (*setnetgrent)(const char *netgroup,
28cb56e6957f06717e876cecb7aabc820fdf632eTimo Sirainen enum nss_status (*getnetgrent_r)(struct __netgrent *result, char *buffer,
28cb56e6957f06717e876cecb7aabc820fdf632eTimo Sirainen enum nss_status (*endnetgrent)(struct __netgrent *result);
bbc30fd4fa86723f6a72309ad3a2a96f34eabd6cTimo Sirainenvoid proxy_reply(struct be_req *req, int dp_err,
bbc30fd4fa86723f6a72309ad3a2a96f34eabd6cTimo Sirainenvoid proxy_get_account_info(struct be_req *breq);
1358e2c58ce29231485a5cfa454756d429ad3d2cTimo Sirainen#endif /* __PROXY_H__ */