common.h revision cf0ad1a0bddb0787f3d7b408a96d721a8b2a98a3
#ifndef COMMON_H
#define COMMON_H
#include "lib.h"
#include "login-settings.h"
/* Used only for string sanitization */
#define MAX_MECH_NAME 64
#define AUTH_FAILED_MSG "Authentication failed."
#define AUTH_TEMP_FAILED_MSG "Temporary authentication failure."
#define AUTH_PLAINTEXT_DISABLED_MSG \
extern const char *login_protocol, *login_process_name;
extern unsigned int login_default_port;
extern struct auth_client *auth_client;
extern struct master_auth *master_auth;
extern bool closing_down;
extern int anvil_fd;
extern const struct login_settings *global_login_settings;
void login_process_preinit(void);
#endif