Code cleanup and indentation.

C source files (with the exception of third-party files, i.e. getopt and
md5) have been indented with GNU indent.

The indentation "standard" has been documented in the readme file.
This commit is contained in:
2023-03-03 22:49:48 +01:00
parent 882a38f908
commit ee2489483b
19 changed files with 740 additions and 663 deletions

View File

@@ -18,20 +18,21 @@
*/
#ifndef MISC_H
#define MISC_H 1
# define MISC_H 1
#include "mboxgrep.h"
#include "getopt.h"
#include "message.h"
# include "mboxgrep.h"
# include "getopt.h"
# include "message.h"
/* #include <time.h> */
format_t folder_format (const char *name);
lockmethod_t lock_method (const char *name);
/* time_t parse_date(char *datestr); */
char * parse_return_path(char *rpath);
void * allocate_message (void);
void postmark_print (message_t *msg);
char *parse_return_path (char *rpath);
void *allocate_message (void);
void postmark_print (message_t * msg);
void set_default_options (void);
void get_runtime_options (int *argc, char **argv, struct option *long_options);
void get_runtime_options (int *argc, char **argv,
struct option *long_options);
#endif /* MISC_H */