File: globals.c

package info (click to toggle)
mountapp 3.0-10
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 700 kB
  • ctags: 238
  • sloc: sh: 2,717; ansic: 2,636; makefile: 68
file content (52 lines) | stat: -rw-r--r-- 1,779 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
/*
** Copyright (C) 1998 Steve Borho <steve@borho.org>
**  
** This program is free software; you can redistribute it and/or modify
** it under the terms of the GNU General Public License as published by
** the Free Software Foundation; either version 2 of the License, or
** (at your option) any later version.
** 
** This program is distributed in the hope that it will be useful,
** but WITHOUT ANY WARRANTY; without even the implied warranty of
** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
** GNU General Public License for more details.
** 
** You should have received a copy of the GNU General Public License
** along with this program; if not, write to the Free Software 
** Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/

#include "mount.h"

/* Declare storage for global variables and give them defaults */

bool            ignoreNFS = FALSE;          /* Ignore NFS mounts         */
bool            userOnly = TRUE;            /* ignore non-user mountables*/
bool            firstTimeUser = FALSE;
char            mountcmd[STR] = "";
char            umountcmd[STR] = "";
char            ejectcmd[STR] = "";
char            opencmd[STR] = "x-terminal-emulator -e mc %s &";
char            txtfont[STR] = "-*-helvetica-bold-r-*-*-10-*-*-*-*-*-*-*";
char            txtcolor[STR] = "gray90";
char            capfont[STR] = "-*-helvetica-medium-r-*-*-10-*-*-*-*-*-*-*";
char            capcolor[STR] = "gray90";
char            icondir[STR] = ICONDIR;
char            initialMnt[STR] = "";

char           *iconDefaultName[MAX_ICONS] =
{
    "cdrom.xpm",
    "floppy.xpm",
    "zip.xpm",
    "harddisk.xpm",
    "dosdisk.xpm",
    "macdisk.xpm",
    "blank.xpm",
    "blank.xpm",
    "blank.xpm"
};

static void foo()
{
}