summaryrefslogtreecommitdiff
path: root/server/responder/common/responder_common.h
blob: 0a5b6274f56ad3f6070641fb3b230cdc03cd5343 (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
25
#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 *sss_priv_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);