mixmaster

mixmaster 3.0 patched for libressl
git clone git://parazyd.org/mixmaster.git
Log | Files | Refs | README

menu.h (1288B)


      1 /* Mixmaster version 3.0  --  (C) 1999 - 2006 Anonymizer Inc. and others.
      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 934 2006-06-24 13:40:39Z rabbi $ */
     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 void menu_spawn_editor(char *path, int lineno);
     32 
     33 #ifdef USE_NCURSES
     34 void read_message(BUFFER *message, char *nym);
     35 void menu_nym(char *);
     36 void menu_chain(char *chain, int type, int post);
     37 void cl(int y, int x);
     38 void askfilename(char *fn);
     39 void savemsg(BUFFER *message);
     40 int menu_replychain(int *d, int *l, char *mdest, char *pdest, char *psub,
     41 		    char *r);
     42 void update_stats(void);
     43 
     44 #endif /* USE_NCURSES */
     45 
     46 #define maxnym 30
     47 
     48 #endif /* not _MENU_H */