/[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 262 - (show annotations) (download)
Wed Sep 18 23:26:17 2002 UTC (10 years, 8 months ago) by rabbi
File MIME type: text/plain
File size: 1198 byte(s)
Added closing comments for all #ifdef statements. All #endif's, as well as
nested braces, should be commented to reference their start.

We need to provide comments before every function as well.
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.3 2002/09/18 23:26:16 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 /* end of HAVE_NCURSES_H */
19 #include <curses.h>
20 #endif /* else if not HAVE_NCURSES_H */
21 #endif /* USE_NCURSES */
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 /* USE_NCURSES */
42
43 #define maxnym 30
44
45 #endif /* not _MENU_H */

  ViewVC Help
Powered by ViewVC 1.1.5