| 1 |
rabbi |
710 |
/* Mixmaster version 3.0 -- (C) 1999 - 2004 Anonymizer Inc. and others.
|
| 2 |
rabbi |
1 |
|
| 3 |
|
|
Mixmaster may be redistributed and modified under certain conditions.
|
| 4 |
|
|
This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF
|
| 5 |
|
|
ANY KIND, either express or implied. See the file COPYRIGHT for
|
| 6 |
|
|
details.
|
| 7 |
|
|
|
| 8 |
|
|
Menu-based user interface
|
| 9 |
weasel |
647 |
$Id$ */
|
| 10 |
rabbi |
1 |
|
| 11 |
|
|
|
| 12 |
|
|
#ifndef _MENU_H
|
| 13 |
|
|
#define _MENU_H
|
| 14 |
|
|
#include "mix3.h"
|
| 15 |
|
|
#ifdef USE_NCURSES
|
| 16 |
|
|
#ifdef HAVE_NCURSES_H
|
| 17 |
|
|
#include <ncurses.h>
|
| 18 |
rabbi |
262 |
#else /* end of HAVE_NCURSES_H */
|
| 19 |
rabbi |
1 |
#include <curses.h>
|
| 20 |
rabbi |
262 |
#endif /* else if not HAVE_NCURSES_H */
|
| 21 |
|
|
#endif /* USE_NCURSES */
|
| 22 |
rabbi |
1 |
|
| 23 |
|
|
#define NONANON "non-anonymous"
|
| 24 |
|
|
#define ANON "Anonymous"
|
| 25 |
|
|
|
| 26 |
|
|
void send_message(int type, char *nym, BUFFER *txt);
|
| 27 |
|
|
void read_folder(char command, char *foldername, char *nym);
|
| 28 |
|
|
void menu_init(void);
|
| 29 |
|
|
void menu_exit(void);
|
| 30 |
|
|
|
| 31 |
|
|
#ifdef USE_NCURSES
|
| 32 |
|
|
void read_message(BUFFER *message, char *nym);
|
| 33 |
|
|
void menu_nym(char *);
|
| 34 |
|
|
void menu_chain(char *chain, int type, int post);
|
| 35 |
|
|
void cl(int y, int x);
|
| 36 |
|
|
void askfilename(char *fn);
|
| 37 |
|
|
void savemsg(BUFFER *message);
|
| 38 |
|
|
int menu_replychain(int *d, int *l, char *mdest, char *pdest, char *psub,
|
| 39 |
|
|
char *r);
|
| 40 |
|
|
|
| 41 |
rabbi |
262 |
#endif /* USE_NCURSES */
|
| 42 |
rabbi |
1 |
|
| 43 |
|
|
#define maxnym 30
|
| 44 |
|
|
|
| 45 |
rabbi |
262 |
#endif /* not _MENU_H */
|