git/column.h

#ifndef COLUMN_H
#define COLUMN_H

#define COL_LAYOUT_MASK
#define COL_ENABLE_MASK
#define COL_PARSEOPT
#define COL_DENSE

#define COL_DISABLED
#define COL_ENABLED
#define COL_AUTO

#define COL_LAYOUT(c)
#define COL_COLUMN
#define COL_ROW
#define COL_PLAIN

#define explicitly_enable_column(c)

struct column_options {};

struct option;
int parseopt_column_callback(const struct option *, const char *, int);
int git_column_config(const char *var, const char *value,
		      const char *command, unsigned int *colopts);
int finalize_colopts(unsigned int *colopts, int stdout_is_tty);
static inline int column_active(unsigned int colopts)
{}

struct string_list;
void print_columns(const struct string_list *list, unsigned int colopts,
		   const struct column_options *opts);

int run_column_filter(int colopts, const struct column_options *);
int stop_column_filter(void);

#endif