view src/imap-urlauth/imap-urlauth-worker-settings.h @ 19035:aabfe48db1cf

Changed type of internet port values to in_port_t everywhere. Created special SET_IN_PORT setting type for internet port values. Created net_str2port() for parsing internet port values. Removed several atoi() invocations in the process.
author Stephan Bosch <stephan@rename-it.nl>
date Sat, 29 Aug 2015 14:26:30 +0300
parents 6e7e62ee07be
children
line wrap: on
line source

#ifndef IMAP_URLAUTH_SETTINGS_H
#define IMAP_URLAUTH_SETTINGS_H

struct mail_user_settings;

struct imap_urlauth_worker_settings {
	bool verbose_proctitle;

	/* imap_urlauth: */
	const char *imap_urlauth_host;
	in_port_t imap_urlauth_port;
};

extern const struct imap_urlauth_worker_settings imap_urlauth_worker_default_settings;

extern const struct setting_parser_info imap_urlauth_worker_setting_parser_info;

#endif