/usr/include/dovecot/auth-client-connection.h is in dovecot-dev 1:2.2.22-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 | #ifndef AUTH_CLIENT_CONNECTION_H
#define AUTH_CLIENT_CONNECTION_H
#include "master-auth.h"
struct auth_client_connection {
struct auth_client_connection *prev, *next;
struct auth *auth;
int refcount;
int fd;
struct io *io;
struct istream *input;
struct ostream *output;
unsigned int pid;
unsigned int connect_uid;
uint8_t cookie[MASTER_AUTH_COOKIE_SIZE];
struct auth_request_handler *request_handler;
unsigned int login_requests:1;
unsigned int version_received:1;
unsigned int token_auth:1;
};
void auth_client_connection_create(struct auth *auth, int fd,
bool login_requests, bool token_auth);
void auth_client_connection_destroy(struct auth_client_connection **conn);
struct auth_client_connection *
auth_client_connection_lookup(unsigned int pid);
void auth_client_connections_destroy_all(void);
#endif
|