diff options
author | Sumit Bose <sbose@redhat.com> | 2009-02-24 19:28:40 -0500 |
---|---|---|
committer | Simo Sorce <ssorce@redhat.com> | 2009-02-24 21:00:56 -0500 |
commit | 98531e56318b65eb1bb6883fdfe12e771d8a1efe (patch) | |
tree | a339a5948604ff62cfafd62a9682130f30df689e /server/responder/common/responder_common.h | |
parent | 4c6c0f77a505b6b0790cfa8eedd3133abebd4edb (diff) | |
download | sssd-98531e56318b65eb1bb6883fdfe12e771d8a1efe.tar.gz sssd-98531e56318b65eb1bb6883fdfe12e771d8a1efe.tar.bz2 sssd-98531e56318b65eb1bb6883fdfe12e771d8a1efe.zip |
Add PAM responder
Also move responders under server/responder with shared code
in server/responder/common
Signed-off-by: Simo Sorce <ssorce@redhat.com>
Diffstat (limited to 'server/responder/common/responder_common.h')
-rw-r--r-- | server/responder/common/responder_common.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/server/responder/common/responder_common.h b/server/responder/common/responder_common.h new file mode 100644 index 00000000..433b242e --- /dev/null +++ b/server/responder/common/responder_common.h @@ -0,0 +1,24 @@ +#include "sbus/sssd_dbus.h" +#include "responder/common/responder_cmd.h" +#include "util/btreemap.h" + +/* SSS_DOMAIN_DELIM can be specified in config.h */ +#include "config.h" +#ifndef SSS_DOMAIN_DELIM +#define SSS_DOMAIN_DELIM '@' +#endif + + +int sss_process_init(TALLOC_CTX *mem_ctx, + struct event_context *ev, + struct confdb_ctx *cdb, + struct sbus_method sss_sbus_methods[], + struct sss_cmd_table sss_cmds[], + const char *sss_pipe_name, + const char *confdb_socket_path, + struct sbus_method dp_methods[]); + +int sss_parse_name(TALLOC_CTX *memctx, + const char *fullname, + struct btreemap *domain_map, + const char **domain, const char **name); |