diff options
| author | Simo Sorce <simo@redhat.com> | 2013-01-11 12:25:53 -0500 |
|---|---|---|
| committer | Jakub Hrozek <jhrozek@redhat.com> | 2013-01-21 22:17:34 +0100 |
| commit | 8e5549e453558d4bebdec333a93e215d5d6ffaec (patch) | |
| tree | a9004b07b800492ecb8bdaeb2019512c3fccb229 /src/providers/proxy/proxy_common.c | |
| parent | ccc2af010bbbe6d8a7496fb717216135bc4c1993 (diff) | |
| download | sssd-8e5549e453558d4bebdec333a93e215d5d6ffaec.tar.gz sssd-8e5549e453558d4bebdec333a93e215d5d6ffaec.tar.xz sssd-8e5549e453558d4bebdec333a93e215d5d6ffaec.zip | |
Introduce be_req_terminate() helper
Call it everywhere instead of directly dereferencing be_req->fn
This is in preparation of making be_req opaque.
Diffstat (limited to 'src/providers/proxy/proxy_common.c')
| -rw-r--r-- | src/providers/proxy/proxy_common.c | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/src/providers/proxy/proxy_common.c b/src/providers/proxy/proxy_common.c deleted file mode 100644 index 6d5c455c..00000000 --- a/src/providers/proxy/proxy_common.c +++ /dev/null @@ -1,31 +0,0 @@ -/* - SSSD - - proxy_common.c - - Authors: - Stephen Gallagher <sgallagh@redhat.com> - - Copyright (C) 2010 Red Hat - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 3 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program. If not, see <http://www.gnu.org/licenses/>. -*/ - -#include "providers/proxy/proxy.h" - -void proxy_reply(struct be_req *req, int dp_err, - int error, const char *errstr) -{ - return req->fn(req, dp_err, error, errstr); -} |
