Newer
Older
/*
** shell.h for 42sh in /home/seblu/devel/c/42sh
**
** Made by Seblu
** Login <seblu@epita.fr>
**
** Started on Sun Jul 16 20:03:53 2006 Seblu
** Last update Fri Aug 25 07:45:07 2006 Seblu
*/
#ifndef SHELL_H_
# define SHELL_H_
# include <errno.h>
# include <stdlib.h>
# include "../alias/alias.h"
# include "../option/option.h"
/* struct s_history *history; */
const char *get_prompt(te_prompt pty);
/*!
** Show a prompt on stderr is current shell is a plug on a tty
**
** @param pty prompt type (PS1, PS2, PS4)
*/
void show_prompt(te_prompt pty);