/*
 * teshline.h for tesh NT
 * $Id: teshline.h,v 1.10 2002/03/12 14:47:00 tesh Exp $
 * 010710 cb
 */

#ifndef TANTE_READLINE_H
#define TANTE_READLINE_H 1

#include <crypt.h>
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <readline/readline.h>
#include <readline/history.h>

#include "db.h"
#include "help.h"

#define PROMPT "tesh$ "
#define SUPERVISOR_PASSWORD "xxxxxxxxxxxxx"
#define MAX_HISTORY_LINES 5

extern void init_signals();
extern void init_readline();
extern char *get_tante_str(char *prompt);
char *static_strdup(char *s);
extern char *get_tante_pw();
extern int check_tante_pw(struct db_kunde *kunde);
extern int check_super_pw();

#endif
