summaryrefslogtreecommitdiffstats
path: root/src/auth/test-auth.h
blob: 4641fe35616f02b20bf2d800b659ab60623f9ef9 (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
/* Copyright (c) 2017-2018 Dovecot authors, see the included COPYING file */

#ifndef TEST_AUTH_H
#define TEST_AUTH_H 1

#define AUTH_REQUEST_FIELDS_CONST

#include "lib.h"
#include "test-common.h"

struct auth_passdb;

extern struct auth_passdb_settings mock_passdb_set;

void test_auth_request_var_expand(void);
void test_auth_request_fields(void);
void test_db_dict_parse_cache_key(void);
void test_username_filter(void);
void test_db_lua(void);
struct auth_passdb *passdb_mock(void);
void passdb_mock_mod_init(void);
void passdb_mock_mod_deinit(void);

#endif