common.h revision 6c2ce1d5bf17b21e804a079eb0f973b7ab83e0d8
#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 struct auth_client *auth_client;
extern bool closing_down;
extern int anvil_fd;
extern struct master_service *service;
extern struct login_settings *login_settings;
#endif