/[pkg-mixmaster]/trunk/Mix/Src/menu.h
ViewVC logotype

Contents of /trunk/Mix/Src/menu.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1 - (hide annotations) (download)
Wed Oct 31 08:19:51 2001 UTC (11 years, 6 months ago) by rabbi
File MIME type: text/plain
File size: 1111 byte(s)
Initial revision
1 rabbi 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.1 2001/10/31 08:19:53 rabbi 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 NYMDB "secrets.mix"
44     #define maxnym 30
45    
46     #endif

  ViewVC Help
Powered by ViewVC 1.1.5