| 1 |
/* Mixmaster version 3 -- (C) 1999 Anonymizer Inc.
|
| 2 |
|
| 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 |
$Id: menu.h,v 1.2 2002/07/21 03:53:11 weaselp Exp $ */
|
| 10 |
|
| 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 |
#else
|
| 19 |
#include <curses.h>
|
| 20 |
#endif
|
| 21 |
#endif
|
| 22 |
|
| 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 |
#endif
|
| 42 |
|
| 43 |
#define maxnym 30
|
| 44 |
|
| 45 |
#endif
|