* mu-config.h: fix indentation

This commit is contained in:
Dirk-Jan C. Binnema
2011-05-22 10:25:21 +03:00
parent e7804314e2
commit c23d6b4dc7

View File

@ -1,5 +1,7 @@
/* -*-mode: c; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*-*/
/*
** Copyright (C) 2010 Dirk-Jan C. Binnema <djcb@djcbsoftware.nl>
** Copyright (C) 2008-2011 Dirk-Jan C. Binnema <djcb@djcbsoftware.nl>
**
** This program is free software; you can redistribute it and/or modify it
** under the terms of the GNU General Public License as published by the
@ -27,6 +29,7 @@
G_BEGIN_DECLS
/* output formats for 'mu find' */
#define MU_CONFIG_FORMAT_PLAIN "plain" /* plain text output */
#define MU_CONFIG_FORMAT_LINKS "links" /* output as symlinks */
#define MU_CONFIG_FORMAT_XML "xml" /* output xml */
@ -34,10 +37,10 @@ G_BEGIN_DECLS
#define MU_CONFIG_FORMAT_SEXP "sexp" /* output sexps */
#define MU_CONFIG_FORMAT_XQUERY "xquery" /* output the xapian query */
/* for cfind */
/* output formats for 'mu cfind' */
#define MU_CONFIG_FORMAT_MUTT_ALIAS "mutt-alias" /* mutt alias style */
#define MU_CONFIG_FORMAT_MUTT_AB "mutt-ab" /* mutt ext addr book */
#define MU_CONFIG_FORMAT_WL "wl" /* Wanderlust address-book */
#define MU_CONFIG_FORMAT_WL "wl" /* Wanderlust abook */
#define MU_CONFIG_FORMAT_CSV "csv" /* comma-sep'd values */
#define MU_CONFIG_FORMAT_ORG_CONTACT "org-contact" /* org-contact */
#define MU_CONFIG_FORMAT_BBDB "bbdb" /* BBDB */
@ -64,7 +67,8 @@ struct _MuConfig {
MuConfigCmd cmd; /* the command, or
* MU_CONFIG_CMD_NONE */
const char *cmdstr; /* cmd string, for user info */
const char *cmdstr; /* cmd string, for user
* info */
/* general options */
gboolean quiet; /* don't give any output */
@ -76,7 +80,7 @@ struct _MuConfig {
/* options for indexing */
char *maildir; /* where the mails are */
gboolean nocleanup; /* don't cleanup deleted mails from db */
gboolean nocleanup; /* don't cleanup del'd mails from db */
gboolean reindex; /* re-index existing mails */
gboolean rebuild; /* empty the database before indexing */
gboolean autoupgrade; /* automatically upgrade db
@ -95,7 +99,6 @@ struct _MuConfig {
gboolean descending; /* sort descending? */
unsigned summary_len; /* max # of lines of msg in summary */
char *bookmark; /* use bookmark */
char *formatstr; /* output type
* (plain*,links,xml,json,sexp) */
@ -111,7 +114,8 @@ struct _MuConfig {
* to save / open */
char *targetdir; /* where to save the attachments */
gboolean overwrite; /* should we overwrite same-named files */
gboolean play; /* after saving, try to play (open) the attmnt */
gboolean play; /* after saving, try to play
* (open) the attmnt using xdgopen */
};
typedef struct _MuConfig MuConfig;
@ -139,9 +143,9 @@ void mu_config_destroy (MuConfig *opts);
*
* @param opts the commands/options
*
* @return a value denoting the success/failure of the execution; MU_CONFIG_RETVAL_OK (0)
* for success, non-zero for a failure. This is to used for the exit
* code of the process
* @return a value denoting the success/failure of the execution;
* MU_CONFIG_RETVAL_OK (0) for success, non-zero for a failure. This
* is to used for the exit code of the process
*/
MuExitCode mu_config_execute (MuConfig *opts);