From 34488e3c375d159506d5d98e012f3b36e7cd9fe7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lukas=20Sandstr=C3=B6m?= Date: Tue, 13 Jun 2006 22:21:50 +0200 Subject: Make git-mailinfo a builtin MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [jc: with a bit of constness tightening] Signed-off-by: Lukas Sandström Signed-off-by: Junio C Hamano --- builtin.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'builtin.h') diff --git a/builtin.h b/builtin.h index 92e1e1b51c..46671e6eae 100644 --- a/builtin.h +++ b/builtin.h @@ -1,6 +1,8 @@ #ifndef BUILTIN_H #define BUILTIN_H +#include + #ifndef PATH_MAX # define PATH_MAX 4096 #endif @@ -51,4 +53,7 @@ extern int write_tree(unsigned char *sha1, int missing_ok, const char *prefix); extern int cmd_mailsplit(int argc, const char **argv, char **envp); extern int split_mbox(const char **mbox, const char *dir, int allow_bare, int nr_prec, int skip); + +extern int cmd_mailinfo(int argc, const char **argv, char **envp); +extern int mailinfo(FILE *in, FILE *out, int ks, const char *encoding, const char *msg, const char *patch); #endif -- cgit v1.2.3