X-Git-Url: http://git.madism.org/?a=blobdiff_plain;f=lib-sys%2Fexit.h;fp=lib-sys%2Fexit.h;h=2602ebde0dc52c4e3b3ec6fccf258e523b74e485;hb=06797b065bbd5d88bf473c4b9f8525dcb9990bb7;hp=0000000000000000000000000000000000000000;hpb=ccf2b75a9ed50a79c4d8e5d6235c7313fcd3719a;p=apps%2Fmadmutt.git diff --git a/lib-sys/exit.h b/lib-sys/exit.h new file mode 100644 index 0000000..2602ebd --- /dev/null +++ b/lib-sys/exit.h @@ -0,0 +1,38 @@ +/* + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or (at + * your option) any later version. + * + * This program is distributed in the hope that it will be useful, but + * WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, + * MA 02110-1301, USA. + * + * Copyright © 2006 Pierre Habouzit + */ +/* + * Copyright notice from original mutt: + * Copyright (C) 1996-2000 Michael R. Elkins + * Copyright (C) 1999-2000 Thomas Roessler + * + * This file is part of mutt-ng, see http://www.muttng.org/. + * It's licensed under the GNU General Public License, + * please see the file GPL in the top level source directory. + */ + +#ifndef MUTT_LIB_SYS_EXIT_H +#define MUTT_LIB_SYS_EXIT_H + +/* Exit values used in send_msg() */ +#define S_ERR 127 +#define S_BKG 126 + +const char *m_strsysexit(int e); + +#endif /* MUTT_LIB_SYS_EXIT_H */