Fix whitespaces in configuration.h
This commit is contained in:
parent
e820f2308a
commit
c68b577fb3
@ -30,15 +30,15 @@ GQuark wmud_config_error_quark();
|
|||||||
* Error codes returned by configuration file parsing functions.
|
* Error codes returned by configuration file parsing functions.
|
||||||
*/
|
*/
|
||||||
typedef enum {
|
typedef enum {
|
||||||
WMUD_CONFIG_ERROR_NOGLOBAL,
|
WMUD_CONFIG_ERROR_NOGLOBAL,
|
||||||
WMUD_CONFIG_ERROR_BADPORT,
|
WMUD_CONFIG_ERROR_BADPORT,
|
||||||
WMUD_CONFIG_ERROR_NOWORLD,
|
WMUD_CONFIG_ERROR_NOWORLD,
|
||||||
WMUD_CONFIG_ERROR_NOEMAIL,
|
WMUD_CONFIG_ERROR_NOEMAIL,
|
||||||
WMUD_CONFIG_ERROR_REUSE,
|
WMUD_CONFIG_ERROR_REUSE,
|
||||||
WMUD_CONFIG_ERROR_NOSMTP,
|
WMUD_CONFIG_ERROR_NOSMTP,
|
||||||
WMUD_CONFIG_ERROR_NOSMTPSERVER,
|
WMUD_CONFIG_ERROR_NOSMTPSERVER,
|
||||||
WMUD_CONFIG_ERROR_NOSMTPSENDER,
|
WMUD_CONFIG_ERROR_NOSMTPSENDER,
|
||||||
WMUD_CONFIG_ERROR_NODATABASE
|
WMUD_CONFIG_ERROR_NODATABASE
|
||||||
} wmudConfigError;
|
} wmudConfigError;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -55,14 +55,14 @@ typedef enum {
|
|||||||
* @smtp_sender: the sender address who sends the outgoing mails
|
* @smtp_sender: the sender address who sends the outgoing mails
|
||||||
*/
|
*/
|
||||||
typedef struct _ConfigData {
|
typedef struct _ConfigData {
|
||||||
guint port;
|
guint port;
|
||||||
gchar *database_dsn;
|
gchar *database_dsn;
|
||||||
gchar *admin_email;
|
gchar *admin_email;
|
||||||
gchar *smtp_server;
|
gchar *smtp_server;
|
||||||
gboolean smtp_tls;
|
gboolean smtp_tls;
|
||||||
gchar *smtp_username;
|
gchar *smtp_username;
|
||||||
gchar *smtp_password;
|
gchar *smtp_password;
|
||||||
gchar *smtp_sender;
|
gchar *smtp_sender;
|
||||||
} ConfigData;
|
} ConfigData;
|
||||||
|
|
||||||
extern ConfigData *active_config;
|
extern ConfigData *active_config;
|
||||||
@ -70,4 +70,3 @@ extern ConfigData *active_config;
|
|||||||
gboolean wmud_config_init(ConfigData **config_data, GError **err);
|
gboolean wmud_config_init(ConfigData **config_data, GError **err);
|
||||||
|
|
||||||
#endif /* __WMUD_CONFIGURATION_H__ */
|
#endif /* __WMUD_CONFIGURATION_H__ */
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user