5 * Copyright (C) 2011 Kirill Smelkov <kirr@navytux.spb.ru>
7 * This program is free software: you can Use, Study, Modify and Redistribute it
8 * under the terms of the GNU General Public License version 2. This program is
9 * distributed WITHOUT ANY WARRANTY. See COPYING file for full License Terms.
13 #define NAVYMAIL_DIR_ENVIRONMENT "NAVYMAIL_DIR"
14 #define NAVYMAIL_EXEC_PATH_ENV "NAVYMAIL_EXEC_PATH"
17 /* for fromgit/builtin/help.c */
18 const char *setup_navymail_directory_gently(int *);
20 /* for fromgit/help.c & friends */
21 extern const char navymail_usage_string
[];
22 extern const char navymail_more_info_string
[];
23 extern const char navymail_version_string
[];
26 * Prefix and exec-path are always detected at runtime.
28 * Also in git code using GIT_(MAN|INFO|HTML)_PATH is patched to
29 * navymail_\1_path() for paths to be determined at runtime.
31 const char *navymail_prefix();
32 void navymail_set_argv_exec_path(const char *exec_path
);
33 const char *navymail_exec_path();
34 const char *navymail_man_path();
35 const char *navymail_info_path();
36 const char *navymail_html_path();
40 * XXX we don't need prefix - it has meaning only for worktree
42 extern int cmd_export (int argc
, const char **argv
, const char *prefix
);