summaryrefslogtreecommitdiff
path: root/builtin.h
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <junkio@cox.net>2006-06-18 22:13:11 -0700
committerLibravatar Junio C Hamano <junkio@cox.net>2006-06-18 22:13:11 -0700
commit69c18d887253a8fd44df232a604ba3dac3d371a5 (patch)
treed2f85c400917443d39a9d2c7952010664ff53a2f /builtin.h
parentMerge branch 'jn/web' into next (diff)
parentMake git-update-ref a builtin (diff)
downloadtgif-69c18d887253a8fd44df232a604ba3dac3d371a5.tar.xz
Merge early parts of branch 'ls/am'
Diffstat (limited to 'builtin.h')
-rw-r--r--builtin.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/builtin.h b/builtin.h
index b9f36beb66..f12d5e68f6 100644
--- a/builtin.h
+++ b/builtin.h
@@ -1,6 +1,8 @@
#ifndef BUILTIN_H
#define BUILTIN_H
+#include <stdio.h>
+
#ifndef PATH_MAX
# define PATH_MAX 4096
#endif
@@ -45,5 +47,18 @@ extern int cmd_diff_stages(int argc, const char **argv, char **envp);
extern int cmd_diff_tree(int argc, const char **argv, char **envp);
extern int cmd_cat_file(int argc, const char **argv, char **envp);
extern int cmd_rev_parse(int argc, const char **argv, char **envp);
+extern int cmd_update_index(int argc, const char **argv, char **envp);
+extern int cmd_update_ref(int argc, const char **argv, char **envp);
+
+extern int cmd_write_tree(int argc, const char **argv, char **envp);
+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);
+extern int cmd_stripspace(int argc, const char **argv, char **envp);
+extern void stripspace(FILE *in, FILE *out);
#endif