summaryrefslogtreecommitdiff
path: root/server/responder/common/responder_common.h
blob: 3818070529965a36b0fb84e3951351b14b1ef64d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#include "config.h"
#include "sbus/sssd_dbus.h"
#include "responder/common/responder_cmd.h"
#include "util/btreemap.h"

/* SSS_DOMAIN_DELIM can be specified in config.h */
#ifndef SSS_DOMAIN_DELIM
#define SSS_DOMAIN_DELIM '@'
#endif


int sss_process_init(TALLOC_CTX *mem_ctx,
                     struct tevent_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);