/usr/include/dovecot/auth-master-connection.h is in dovecot-dev 1:2.2.9-1ubuntu2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 | #ifndef AUTH_MASTER_CONNECTION_H
#define AUTH_MASTER_CONNECTION_H
struct stat;
struct auth_stream_reply;
struct auth_master_connection {
struct auth_master_connection *prev, *next;
struct auth *auth;
int refcount;
int fd;
char *path;
struct istream *input;
struct ostream *output;
struct io *io;
struct auth_request_list *requests;
/* If non-zero, allow only USER lookups whose returned uid matches
this uid. Don't allow LIST/PASS lookups. */
uid_t userdb_restricted_uid;
unsigned int version_received:1;
unsigned int destroyed:1;
unsigned int userdb_only:1;
};
struct auth_master_connection *
auth_master_connection_create(struct auth *auth, int fd,
const char *path, const struct stat *socket_st,
bool userdb_only) ATTR_NULL(4);
void auth_master_connection_destroy(struct auth_master_connection **conn);
void auth_master_connection_ref(struct auth_master_connection *conn);
void auth_master_connection_unref(struct auth_master_connection **conn);
void auth_master_request_callback(const char *reply, void *context);
void auth_master_connections_destroy_all(void);
#endif
|