responder.h revision a573d112013e44373f03b98f653fede0feee9fdc
22d381367c27910fe82f476a76b9f4ede555e35aLukas Slebodnik SSS Client Responder, header file
22d381367c27910fe82f476a76b9f4ede555e35aLukas Slebodnik Copyright (C) Simo Sorce <ssorce@redhat.com> 2008
22d381367c27910fe82f476a76b9f4ede555e35aLukas Slebodnik This program is free software; you can redistribute it and/or modify
22d381367c27910fe82f476a76b9f4ede555e35aLukas Slebodnik it under the terms of the GNU General Public License as published by
22d381367c27910fe82f476a76b9f4ede555e35aLukas Slebodnik the Free Software Foundation; either version 3 of the License, or
22d381367c27910fe82f476a76b9f4ede555e35aLukas Slebodnik (at your option) any later version.
22d381367c27910fe82f476a76b9f4ede555e35aLukas Slebodnik This program is distributed in the hope that it will be useful,
22d381367c27910fe82f476a76b9f4ede555e35aLukas Slebodnik but WITHOUT ANY WARRANTY; without even the implied warranty of
22d381367c27910fe82f476a76b9f4ede555e35aLukas Slebodnik MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22d381367c27910fe82f476a76b9f4ede555e35aLukas Slebodnik GNU General Public License for more details.
22d381367c27910fe82f476a76b9f4ede555e35aLukas Slebodnik You should have received a copy of the GNU General Public License
22d381367c27910fe82f476a76b9f4ede555e35aLukas Slebodnik along with this program. If not, see <http://www.gnu.org/licenses/>.
22d381367c27910fe82f476a76b9f4ede555e35aLukas Slebodnik/* if there is a provider other than the special local */
22d381367c27910fe82f476a76b9f4ede555e35aLukas Slebodnik (provider != NULL && strcmp(provider, "local") != 0)
22d381367c27910fe82f476a76b9f4ede555e35aLukas Slebodnik/* needed until nsssrv.h is updated */
22d381367c27910fe82f476a76b9f4ede555e35aLukas Slebodnik /* original request from the wire */
22d381367c27910fe82f476a76b9f4ede555e35aLukas Slebodnik /* reply data */
int domains_timeout;
int client_idle_timeout;
const char *sss_pipe_name;
const char *confdb_service_path;
char *default_domain;
void *pvt_ctx;
bool shutting_down;
struct cli_ctx {
int cfd;
int priv;
int pwent_dom_idx;
int pwent_cur;
int grent_dom_idx;
int grent_cur;
int svc_dom_idx;
int svcent_cur;
char *netgr_name;
int netgrent_cur;
char *automntmap_name;
struct sss_cmd_table {
/* responder_common.c */
const char *sss_pipe_name,
const char *sss_priv_pipe_name,
const char *confdb_service_path,
const char *svc_name,
const char *cli_name,
const char *default_domain,
struct sss_domain_info *
/* responder_cmd.c */
struct setent_req_list;
void *pvt,
struct dp_callback_ctx {
void *ptr;
void *mem_ctx;
struct sss_dp_req_state {
char *err_msg;
char **err_msg);
enum sss_dp_acct_type {
struct tevent_req *
bool fast_reply,
const char *opt_name,
const char *extra);
char **err_msg);
bool force,
const char *hint);
bool allow_sss_loop,