view src/master/common.h @ 9259:ea2eed32d59e HEAD

cache file: If offset isn't 32bit aligned, assume it's corrupted.
author Timo Sirainen <tss@iki.fi>
date Sun, 26 Jul 2009 22:40:02 -0400
parents c9381a0fdc5e
children
line wrap: on
line source

#ifndef COMMON_H
#define COMMON_H

struct ip_addr;

#include "lib.h"
#include "master-settings.h"

#define AUTH_SUCCESS_PATH PKG_STATEDIR"/auth-success"

extern struct ioloop *ioloop;
extern int null_fd, inetd_login_fd;
extern uid_t master_uid;
extern char program_path[];
extern char ssl_manual_key_password[];
extern const char *env_tz;
extern bool auth_success_written;
extern bool core_dumps_disabled;
#ifdef DEBUG
extern bool gdb;
#endif

#define IS_INETD() \
	(inetd_login_fd != -1)

#endif